From f24bf89ab0cb82fee8ab80ed6f5aa8142e3db462 Mon Sep 17 00:00:00 2001 From: Monte Copeland Date: Thu, 11 Aug 2011 15:57:40 -0500 Subject: Changes to errl to commit error logs to L3 RAM 7 Change-Id: Ic058a5b9ea6f8f1d79fc0ff30097cc32f18423bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/221 Reviewed-by: Monte K. Copeland Tested-by: Jenkins Server --- src/usr/errl/parser/makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/usr/errl/parser/makefile (limited to 'src/usr/errl/parser/makefile') diff --git a/src/usr/errl/parser/makefile b/src/usr/errl/parser/makefile new file mode 100644 index 000000000..f0d8e180b --- /dev/null +++ b/src/usr/errl/parser/makefile @@ -0,0 +1,35 @@ +# makefile for errlparser, +# a 32-bit x86 linux binary suitable for running on GFW pool machines. + + +ROOTPATH=../../../.. + +CC=g++ -m32 +CFLAGS:=-g -O0 -I $(ROOTPATH)/src/include/usr +BIN:=bin + + +all: code_pass + +gen_pass: + +code_pass: bindir $(BIN)/errlparser + +clean: + rm -fr $(BIN) + +beam: + +bindir: + mkdir -p $(BIN) + +$(BIN)/comps.C: $(ROOTPATH)/src/include/usr/hbotcompid.H readcomps.rex + rexx readcomps.rex $(ROOTPATH)/src/include/usr/hbotcompid.H >$(BIN)/comps.C + +$(BIN)/errlparser.o: errlparser.C $(ROOTPATH)/src/include/usr/errl/errltypes.H $(BIN)/comps.C + $(CC) -c $(CFLAGS) -I bin -o $(BIN)/errlparser.o errlparser.C + +$(BIN)/errlparser: $(BIN)/errlparser.o + $(CC) -o $(BIN)/errlparser $(BIN)/errlparser.o + + -- cgit v1.2.3