summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/parser/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/errl/parser/makefile')
-rw-r--r--src/usr/errl/parser/makefile35
1 files changed, 35 insertions, 0 deletions
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
+
+
OpenPOWER on IntegriCloud