1987-01-13 09:56:17 +00:00
|
|
|
EMHOME=../../..
|
|
|
|
EMH=$(EMHOME)/h
|
|
|
|
EMLIB=$(EMHOME)/lib
|
1984-12-21 14:41:47 +00:00
|
|
|
SHR=../share
|
1991-03-05 12:16:17 +00:00
|
|
|
|
1991-02-19 16:51:50 +00:00
|
|
|
LDFLAGS=
|
1991-03-05 12:16:17 +00:00
|
|
|
CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
|
1987-01-13 09:56:17 +00:00
|
|
|
CFLAGS=$(CPPFLAGS) -O
|
1990-12-17 13:19:31 +00:00
|
|
|
LINTFLAGS=-hbu
|
1984-12-21 14:41:47 +00:00
|
|
|
|
|
|
|
CFILES=\
|
|
|
|
ic.c ic_aux.c ic_lib.c ic_lookup.c ic_io.c
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
ic.o ic_aux.o ic_lookup.o ic_io.o ic_lib.o
|
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
ic.h ic_aux.h ic_lib.h ic_lookup.h ic_io.h
|
|
|
|
|
|
|
|
PRFILES=\
|
|
|
|
$(CFILES) $(HFILES) Makefile
|
|
|
|
|
|
|
|
SHARE_OFILES=\
|
|
|
|
$(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
|
|
|
|
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o
|
|
|
|
|
|
|
|
SHARE_MFILES=\
|
|
|
|
$(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m \
|
|
|
|
$(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m
|
|
|
|
|
1987-01-13 09:56:17 +00:00
|
|
|
all: ic
|
|
|
|
|
1984-12-21 14:41:47 +00:00
|
|
|
ic: $(OFILES)
|
|
|
|
$(CC) -o ic $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
|
|
|
|
|
|
|
|
ic_ack: $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -o ic -.c $(LDFLAGS) ic.o $(EMLIB)/em_data.a
|
|
|
|
|
1987-01-13 09:56:17 +00:00
|
|
|
install: all
|
|
|
|
../install ic
|
|
|
|
|
|
|
|
cmp: all
|
|
|
|
-../compare ic
|
|
|
|
|
1987-01-13 10:07:25 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.o ic Out out nohup.out
|
|
|
|
|
1984-12-21 14:41:47 +00:00
|
|
|
lint:
|
|
|
|
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
|
|
|
|
|
1987-01-13 09:56:17 +00:00
|
|
|
print: $(PRFILES)
|
1984-12-21 14:41:47 +00:00
|
|
|
@pr $?
|
1987-01-13 09:56:17 +00:00
|
|
|
@touch print
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr $(PRFILES)
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
1984-12-21 14:41:47 +00:00
|
|
|
|
|
|
|
depend:
|
|
|
|
$(SHR)/makedepend
|
1984-11-27 14:23:20 +00:00
|
|
|
|
1984-11-26 13:43:22 +00:00
|
|
|
# the next lines are generated automatically
|
|
|
|
# AUTOAUTOAUTOAUTOAUTOAUTO
|
|
|
|
ic.o: ../share/alloc.h
|
|
|
|
ic.o: ../share/aux.h
|
|
|
|
ic.o: ../share/debug.h
|
|
|
|
ic.o: ../share/def.h
|
|
|
|
ic.o: ../share/files.h
|
|
|
|
ic.o: ../share/global.h
|
|
|
|
ic.o: ../share/map.h
|
|
|
|
ic.o: ../share/put.h
|
|
|
|
ic.o: ../share/types.h
|
|
|
|
ic.o: ic.h
|
|
|
|
ic.o: ic_aux.h
|
|
|
|
ic.o: ic_io.h
|
|
|
|
ic.o: ic_lib.h
|
|
|
|
ic.o: ic_lookup.h
|
|
|
|
ic_aux.o: ../share/alloc.h
|
|
|
|
ic_aux.o: ../share/aux.h
|
|
|
|
ic_aux.o: ../share/debug.h
|
|
|
|
ic_aux.o: ../share/def.h
|
|
|
|
ic_aux.o: ../share/global.h
|
|
|
|
ic_aux.o: ../share/types.h
|
|
|
|
ic_aux.o: ic.h
|
|
|
|
ic_aux.o: ic_aux.h
|
|
|
|
ic_aux.o: ic_io.h
|
|
|
|
ic_aux.o: ic_lookup.h
|
|
|
|
ic_io.o: ../share/alloc.h
|
|
|
|
ic_io.o: ../share/debug.h
|
|
|
|
ic_io.o: ../share/types.h
|
|
|
|
ic_io.o: ic.h
|
|
|
|
ic_io.o: ic_io.h
|
|
|
|
ic_io.o: ic_lookup.h
|
|
|
|
ic_lib.o: ../share/debug.h
|
|
|
|
ic_lib.o: ../share/files.h
|
|
|
|
ic_lib.o: ../share/global.h
|
|
|
|
ic_lib.o: ../share/types.h
|
|
|
|
ic_lib.o: ic.h
|
|
|
|
ic_lib.o: ic_io.h
|
|
|
|
ic_lib.o: ic_lib.h
|
|
|
|
ic_lib.o: ic_lookup.h
|
|
|
|
ic_lookup.o: ../share/alloc.h
|
|
|
|
ic_lookup.o: ../share/debug.h
|
|
|
|
ic_lookup.o: ../share/map.h
|
|
|
|
ic_lookup.o: ../share/types.h
|
|
|
|
ic_lookup.o: ic.h
|
|
|
|
ic_lookup.o: ic_lookup.h
|