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
|
|
|
|
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 10:30:06 +00:00
|
|
|
CFLAGS=$(CPPFLAGS) -O
|
1990-12-17 13:05:24 +00:00
|
|
|
LINTFLAGS=-hbu
|
1984-12-21 14:41:47 +00:00
|
|
|
|
|
|
|
CFILES=\
|
|
|
|
bo.c
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
bo.o
|
|
|
|
|
|
|
|
HFILES=
|
|
|
|
|
|
|
|
PRFILES=\
|
|
|
|
$(CFILES) $(HFILES) Makefile
|
|
|
|
|
|
|
|
SHARE_OFILES=\
|
|
|
|
$(SHR)/get.o $(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 \
|
|
|
|
$(SHR)/stack_chg.o $(SHR)/go.o
|
|
|
|
|
|
|
|
SHARE_MFILES=\
|
|
|
|
$(SHR)/get.m $(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 \
|
|
|
|
$(SHR)/stack_chg.m $(SHR)/go.m
|
|
|
|
|
1987-01-13 10:30:06 +00:00
|
|
|
all: bo
|
|
|
|
|
1984-12-21 14:41:47 +00:00
|
|
|
bo: $(OFILES)
|
|
|
|
$(CC) -o bo $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
|
|
|
|
|
|
|
|
bo_ack: $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -o bo -.c $(LDFLAGS) bo.o $(EMLIB)/em_data.a
|
|
|
|
|
1987-01-13 10:30:06 +00:00
|
|
|
install: all
|
|
|
|
../install bo
|
|
|
|
|
|
|
|
cmp: all
|
|
|
|
-../compare bo
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr $(PRFILES)
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f bo *.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-27 15:40:13 +00:00
|
|
|
# the next lines are generated automatically
|
|
|
|
# AUTOAUTOAUTOAUTOAUTOAUTO
|
|
|
|
bo.o: ../share/alloc.h
|
|
|
|
bo.o: ../share/aux.h
|
|
|
|
bo.o: ../share/debug.h
|
|
|
|
bo.o: ../share/def.h
|
|
|
|
bo.o: ../share/files.h
|
|
|
|
bo.o: ../share/get.h
|
|
|
|
bo.o: ../share/global.h
|
|
|
|
bo.o: ../share/go.h
|
|
|
|
bo.o: ../share/lset.h
|
|
|
|
bo.o: ../share/map.h
|
|
|
|
bo.o: ../share/put.h
|
|
|
|
bo.o: ../share/types.h
|