1987-01-13 10:30:06 +00:00
|
|
|
|
|
|
|
EMHOME=../../..
|
|
|
|
EMH=$(EMHOME)/h
|
|
|
|
EMLIB=$(EMHOME)/lib
|
1987-03-02 12:42:38 +00:00
|
|
|
SHR=../share
|
1987-01-13 10:30:06 +00:00
|
|
|
|
|
|
|
LDFLAGS=-i
|
|
|
|
CPPFLAGS=-DVERBOSE -DNOTCOMPACT
|
|
|
|
CFLAGS=$(CPPFLAGS) -O
|
1989-02-09 11:33:11 +00:00
|
|
|
LINTFLAGS=-hbac
|
1984-12-21 14:41:47 +00:00
|
|
|
|
|
|
|
CFILES=\
|
|
|
|
ca.c ca_put.c
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
ca.o ca_put.o
|
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
ca.h ca_put.h
|
|
|
|
|
|
|
|
PRFILES=\
|
|
|
|
$(CFILES) $(HFILES) Makefile
|
|
|
|
|
|
|
|
SHARE_OFILES=\
|
|
|
|
$(SHR)/get.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/aux.o $(SHR)/debug.o \
|
|
|
|
$(SHR)/lset.o $(SHR)/cset.o $(SHR)/files.o $(SHR)/map.o
|
|
|
|
|
|
|
|
SHARE_MFILES=\
|
|
|
|
$(SHR)/get.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/aux.m $(SHR)/debug.m \
|
|
|
|
$(SHR)/lset.m $(SHR)/cset.m $(SHR)/files.m $(SHR)/map.m
|
|
|
|
|
1987-01-13 10:30:06 +00:00
|
|
|
all: ca
|
|
|
|
|
1984-12-21 14:41:47 +00:00
|
|
|
ca: $(OFILES)
|
|
|
|
$(CC) -o ca $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
|
|
|
|
|
|
|
|
ca_ack: $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -o ca -.c $(LDFLAGS) ca.o $(EMLIB)/em_data.a
|
|
|
|
|
1987-01-13 10:30:06 +00:00
|
|
|
install: all
|
|
|
|
../install ca
|
|
|
|
|
|
|
|
cmp: all
|
|
|
|
-../compare ca
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr $(PRFILES)
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ca *.o Out out nohup.out
|
|
|
|
|
1984-12-21 14:41:47 +00:00
|
|
|
lint:
|
|
|
|
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
|
|
|
|
|
1987-01-13 10:30:06 +00:00
|
|
|
print: $(PRFILES)
|
1984-12-21 14:41:47 +00:00
|
|
|
@pr $?
|
1987-01-13 10:30:06 +00:00
|
|
|
@touch print
|
1984-12-21 14:41:47 +00:00
|
|
|
|
|
|
|
depend:
|
|
|
|
$(SHR)/makedepend
|
|
|
|
|
1984-11-26 14:35:32 +00:00
|
|
|
# the next lines are generated automatically
|
|
|
|
# AUTOAUTOAUTOAUTOAUTOAUTO
|
1984-12-21 14:41:47 +00:00
|
|
|
|
1984-11-26 14:35:32 +00:00
|
|
|
ca.o: ../share/alloc.h
|
|
|
|
ca.o: ../share/debug.h
|
|
|
|
ca.o: ../share/files.h
|
|
|
|
ca.o: ../share/get.h
|
|
|
|
ca.o: ../share/global.h
|
|
|
|
ca.o: ../share/lset.h
|
|
|
|
ca.o: ../share/map.h
|
|
|
|
ca.o: ../share/types.h
|
|
|
|
ca.o: ca.h
|
|
|
|
ca.o: ca_put.h
|
|
|
|
ca_put.o: ../../../h/em_flag.h
|
|
|
|
ca_put.o: ../../../h/em_mes.h
|
|
|
|
ca_put.o: ../../../h/em_mnem.h
|
|
|
|
ca_put.o: ../../../h/em_pseu.h
|
|
|
|
ca_put.o: ../../../h/em_spec.h
|
|
|
|
ca_put.o: ../share/alloc.h
|
|
|
|
ca_put.o: ../share/debug.h
|
|
|
|
ca_put.o: ../share/def.h
|
|
|
|
ca_put.o: ../share/map.h
|
|
|
|
ca_put.o: ../share/types.h
|
|
|
|
ca_put.o: ca.h
|