ack/lang/cem/lint/lpass2/Makefile

57 lines
1.6 KiB
Makefile
Raw Normal View History

1988-09-02 12:00:25 +00:00
# (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
# See the copyright notice in the ACK home directory, in the file "Copyright".
#
1994-06-24 14:02:31 +00:00
# $Id$
1988-09-02 12:00:25 +00:00
1988-05-30 17:17:16 +00:00
# M A K E F I L E F O R L P A S S 2
# Machine and environ dependent definitions
1991-03-08 15:54:05 +00:00
EMHOME = ../../..
LPASS1 = ../lpass1# ???
1988-05-30 17:17:16 +00:00
# Libraries and EM interface definitions
1988-08-07 22:55:20 +00:00
SYSLIB = $(EMHOME)/modules/lib/libsystem.a
STRLIB = $(EMHOME)/modules/lib/libstring.a
PRTLIB = $(EMHOME)/modules/lib/libprint.a
INPLIB = $(EMHOME)/modules/lib/libinput.a
ALLOCLIB = $(EMHOME)/modules/lib/liballoc.a
MALLOC = $(EMHOME)/modules/lib/malloc.o
LLIBS = $(INPLIB) $(PRTLIB) $(STRLIB) $(ALLOCLIB) $(MALLOC) $(SYSLIB)
1988-05-30 17:17:16 +00:00
1988-08-07 22:55:20 +00:00
CFLAGS = -I$(EMHOME)/modules/h -I$(EMHOME)/modules/pkg -I/usr/include
1988-05-30 17:17:16 +00:00
.SUFFIXES: .str .h
.str.h:
$(LPASS1)/make.allocd <$*.str >$*.h
1988-10-12 15:49:11 +00:00
SRC = lpass2.c checkargs.c read.c report.c class.c l_print3ack.c
OBJ = lpass2.o checkargs.o read.o report.o class.o l_print3ack.o
1988-07-08 22:24:06 +00:00
test: lpass2
1991-03-08 15:54:05 +00:00
lpass2 -xh <proto.tst
# make lint.test
1988-10-12 15:49:11 +00:00
1988-07-08 22:24:06 +00:00
lpass2: $(OBJ) Makefile next.o
$(CC) $(COPTIONS) $(LDFLAGS) $(OBJ) next.o $(LLIBS) -o lpass2
1988-05-30 17:17:16 +00:00
size lpass2
1988-10-28 16:04:31 +00:00
lint.test:
1991-03-08 15:54:05 +00:00
./lint -h $(CFLAGS) $(SRC) next.c #???
1988-05-30 17:17:16 +00:00
1988-08-07 22:55:20 +00:00
next.c: $(LPASS1)/make.next inpdef.str
1988-05-30 17:17:16 +00:00
$(LPASS1)/make.next inpdef.str > next.c
1988-07-08 22:24:06 +00:00
tags: $(SRC)
ctags $(SRC)
1988-05-30 17:17:16 +00:00
clean:
1988-07-08 22:24:06 +00:00
rm -f a.out core next.c inpdef.h $(OBJ) next.o
1988-05-30 17:17:16 +00:00
#----------------------------------------------------------------
1991-03-08 15:54:05 +00:00
checkargs.o: inpdef.h private.h
1988-09-02 12:00:25 +00:00
class.o: ../lpass1/l_class.h class.h
lpass2.o: ../lpass1/l_class.h ../lpass1/l_lint.h class.h inpdef.h private.h
read.o: ../lpass1/l_class.h class.h inpdef.h private.h
1991-03-08 15:54:05 +00:00
report.o: ../lpass1/l_class.h class.h inpdef.h private.h