1991-09-05 10:56:44 +00:00
|
|
|
# $Header$
|
|
|
|
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
|
1991-09-05 10:56:45 +00:00
|
|
|
SRC_DIR = $(SRC_HOME)/util/ceg/EM_parser/as_EM_pars
|
1991-09-05 10:56:44 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
1993-11-10 14:21:21 +00:00
|
|
|
CFLAGS = $(COPTIONS) $(IFILES) -DNDEBUG
|
1991-09-05 10:56:44 +00:00
|
|
|
|
|
|
|
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
|