New installation mechanism
authorceriel <none@none>
Thu, 5 Sep 1991 10:56:44 +0000 (10:56 +0000)
committerceriel <none@none>
Thu, 5 Sep 1991 10:56:44 +0000 (10:56 +0000)
util/ceg/EM_parser/as_EM_pars/.distr
util/ceg/EM_parser/as_EM_pars/proto.make [new file with mode: 0644]
util/ceg/EM_parser/obj_EM_pars/.distr
util/ceg/EM_parser/obj_EM_pars/proto.make [new file with mode: 0644]

index 6a24ff2..0e2ec23 100644 (file)
@@ -1,4 +1,4 @@
-Makefile
+proto.make
 arg_type.h
 dist.c
 em_decl.h
diff --git a/util/ceg/EM_parser/as_EM_pars/proto.make b/util/ceg/EM_parser/as_EM_pars/proto.make
new file mode 100644 (file)
index 0000000..f636c9a
--- /dev/null
@@ -0,0 +1,42 @@
+# $Header$
+
+#PARAMS                do not remove this line!
+
+SRC_DIR = $(SRC_HOME)/util/ceg/EM_parser/as_parser
+
+CEGLIB = $(TARGET_HOME)/lib.bin/ceg
+PARLIB = $(CEGLIB)/EM_parser
+LIB = $(PARLIB)/as_EM_pars
+
+OFILES = dist.$(SUF) error.$(SUF)
+HFILES = $(SRC_DIR)/arg_type.h $(SRC_DIR)/em_decl.h $(SRC_DIR)/em_parser.h
+
+IFILES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/modules/h
+
+CFLAGS = $(COPTIONS) $(IFILES)
+
+all :  $(OFILES)
+
+install:       all
+       -mkdir $(CEGLIB)
+       -mkdir $(PARLIB)
+       -mkdir $(LIB)
+       cp $(OFILES) $(HFILES) $(LIB)
+
+cmp:   all
+       for i in $(OFILES) $(HFILES) ; do cmp $$i $(LIB)/$$i ; done
+
+clean:
+       rm -f *.$(SUF)
+
+pr:
+       @pr $(SRC_DIR)/proto.make $(HFILES) $(SRC_DIR)/dist.c $(SRC_DIR)/error.c
+
+opr:
+       make pr | opr
+
+dist.$(SUF):   $(SRC_DIR)/dist.c
+       $(CC) -c $(CFLAGS) $(SRC_DIR)/dist.c
+
+error.$(SUF):  $(SRC_DIR)/error.c
+       $(CC) -c $(CFLAGS) $(SRC_DIR)/error.c
index b5d9150..aa442e9 100644 (file)
@@ -1,4 +1,4 @@
-Makefile
+proto.make
 arg_type.h
 dist.c
 em_parser.h
diff --git a/util/ceg/EM_parser/obj_EM_pars/proto.make b/util/ceg/EM_parser/obj_EM_pars/proto.make
new file mode 100644 (file)
index 0000000..e40adb9
--- /dev/null
@@ -0,0 +1,38 @@
+# $Header$
+
+#PARAMS                do not remove this line!
+
+CEGLIB = $(TARGET_HOME)/lib.bin/ceg
+PARLIB = $(CEGLIB)/EM_parser
+LIB = $(PARLIB)/obj_EM_pars
+
+SRC_DIR = $(SRC_HOME)/util/ceg/EM_parser/obj_EM_pars
+
+OFILES = dist.$(SUF)
+HFILES = $(SRC_DIR)/arg_type.h $(SRC_DIR)/em_parser.h
+
+IFILES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/modules/h
+CFLAGS = $(COPTIONS) $(IFILES)
+
+all :  $(OFILES)
+
+install:       all
+       -mkdir $(CEGLIB)
+       -mkdir $(PARLIB)
+       -mkdir $(LIB)
+       cp $(OFILES) $(HFILES) $(LIB)
+
+cmp:   all
+       for i in $(OFILES) $(HFILES) ; do cmp $$i $(LIB)/$$i ; done
+
+clean:
+       rm -f *.$(SUF)
+
+pr:
+       @pr $(SRC_DIR)/proto.make $(HFILES) $(SRC_DIR)/dist.c
+
+opr:
+       make pr | opr
+
+dist.$(SUF):   $(SRC_DIR)/dist.c
+       $(CC) $(CFLAGS) -c $(SRC_DIR)/dist.c