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
|
1990-12-17 14:11:13 +00:00
|
|
|
LINTFLAGS=-hbu
|
1984-12-21 14:41:47 +00:00
|
|
|
|
|
|
|
CFILES=\
|
|
|
|
lv.c
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
lv.o
|
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
lv.h
|
|
|
|
|
|
|
|
PRFILES=\
|
|
|
|
$(CFILES) $(HFILES) Makefile
|
|
|
|
|
|
|
|
SHARE_OFILES=\
|
|
|
|
$(SHR)/get.o $(SHR)/aux.o $(SHR)/put.o $(SHR)/map.o $(SHR)/alloc.o \
|
|
|
|
$(SHR)/global.o $(SHR)/debug.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/parser.o \
|
|
|
|
$(SHR)/files.o $(SHR)/locals.o $(SHR)/init_glob.o $(SHR)/go.o
|
|
|
|
|
|
|
|
SHARE_MFILES=\
|
|
|
|
$(SHR)/get.m $(SHR)/aux.m $(SHR)/put.m $(SHR)/map.m $(SHR)/alloc.m \
|
|
|
|
$(SHR)/global.m $(SHR)/debug.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/parser.m \
|
|
|
|
$(SHR)/files.m $(SHR)/locals.m $(SHR)/init_glob.m $(SHR)/go.m
|
|
|
|
|
1987-01-13 10:30:06 +00:00
|
|
|
all: lv
|
|
|
|
|
1984-12-21 14:41:47 +00:00
|
|
|
lv: $(OFILES)
|
|
|
|
$(CC) -o lv $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
|
|
|
|
|
|
|
|
lv_ack: $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
|
|
|
|
$(CC) -o lv -.c $(LDFLAGS) lv.o $(EMLIB)/em_data.a
|
|
|
|
|
1987-01-13 10:30:06 +00:00
|
|
|
install: all
|
|
|
|
../install lv
|
|
|
|
|
|
|
|
cmp: all
|
|
|
|
-../compare lv
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr $(PRFILES)
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f lv *.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:51:59 +00:00
|
|
|
# the next lines are generated automatically
|
|
|
|
# AUTOAUTOAUTOAUTOAUTOAUTO
|
1984-12-21 14:41:47 +00:00
|
|
|
|
1984-11-26 14:51:59 +00:00
|
|
|
lv.o: ../../../h/em_mnem.h
|
|
|
|
lv.o: ../../../h/em_pseu.h
|
|
|
|
lv.o: ../../../h/em_spec.h
|
|
|
|
lv.o: ../share/alloc.h
|
|
|
|
lv.o: ../share/aux.h
|
|
|
|
lv.o: ../share/cset.h
|
|
|
|
lv.o: ../share/debug.h
|
|
|
|
lv.o: ../share/def.h
|
|
|
|
lv.o: ../share/files.h
|
|
|
|
lv.o: ../share/get.h
|
|
|
|
lv.o: ../share/global.h
|
|
|
|
lv.o: ../share/go.h
|
|
|
|
lv.o: ../share/init_glob.h
|
|
|
|
lv.o: ../share/locals.h
|
|
|
|
lv.o: ../share/lset.h
|
|
|
|
lv.o: ../share/map.h
|
|
|
|
lv.o: ../share/parser.h
|
|
|
|
lv.o: ../share/put.h
|
|
|
|
lv.o: ../share/types.h
|
|
|
|
lv.o: lv.h
|