ack/lang/cem/lint/llib/proto.make

73 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

1991-09-30 16:53:21 +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$
1991-09-30 16:53:21 +00:00
#PARAMS do not remove this line!
SRC_DIR = $(SRC_HOME)/lang/cem/lint/llib
1992-07-13 10:34:49 +00:00
LINT = $(UTIL_HOME)/bin/lint
1991-09-30 16:53:21 +00:00
CURSESDIR = /usr/src/lib/libcurses# # for a local -lcurses
MATHDIR = /usr/src/lib/libm# # for a local -lm
TERMLIBDIR = /usr/src/lib/libtermlib# # for a local -ltermlib
CLIBDIR = $(SRC_HOME)/lang/cem/libcc# # to create c.llb
ANSILIBDIR = $(SRC_HOME)/lang/cem/libcc.ansi## to create c.llb
INCLUDE = $(SRC_HOME)/include/_tail_cc
AINCLUDE = $(SRC_HOME)/lang/cem/libcc.ansi/headers
1991-12-12 12:50:42 +00:00
CLIBFLAGS = -I$(INCLUDE)# # to compile $(CLIBDIR)
ANSILIBFLAGS = -I$(AINCLUDE)# # to compile $(ANSILIBDIR)
1991-09-30 16:53:21 +00:00
all: c.llb ansi_c.llb
install: all
-mkdir $(TARGET_HOME)/lib.bin/lint
-mkdir $(TARGET_HOME)/lib.bin/lint/llib
cp $(SRC_DIR)/*.llb $(TARGET_HOME)/lib.bin/lint/llib
1991-10-18 09:47:46 +00:00
chmod +w $(TARGET_HOME)/lib.bin/lint/llib/*
1991-09-30 16:53:21 +00:00
cp *.llb $(TARGET_HOME)/lib.bin/lint/llib
1991-10-17 21:17:17 +00:00
chmod +w $(TARGET_HOME)/lib.bin/lint/llib/*
1991-09-30 16:53:21 +00:00
cmp:
echo "nothing compared"
pr:
echo "nothing printed"
opr:
echo "nothing printed"
1991-10-14 13:37:43 +00:00
clean:
rm -f *.llb Out
1991-09-30 16:53:21 +00:00
c.llb: $(SRC_DIR)/unix7.c
cp $(SRC_DIR)/c.llb c.llb
1991-10-17 21:17:17 +00:00
chmod +w c.llb
1991-09-30 16:53:21 +00:00
$(LINT) -Lc.llb $(SRC_DIR)/unix7.c
ansi_c.llb: $(SRC_DIR)/unix7.c
cp $(SRC_DIR)/ansi_c.llb ansi_c.llb
1991-10-17 21:17:17 +00:00
chmod +w ansi_c.llb
1991-12-02 13:43:59 +00:00
$(LINT) -ansi -Lansi_c.llb $(SRC_DIR)/unix7.c
1991-09-30 16:53:21 +00:00
curses.llb:
$(LINT) -Lcurses.llb $(CURSESDIR)/*.c
m.llb:
$(LINT) -Lm.llb $(MATHDIR)/*.c
termlib.llb:
$(LINT) -Ltermlib.llb $(TERMLIBDIR)/*.c
cnew.llb:
cp /dev/null cnew.llb
$(LINT) -Lcnew.llb $(CLIBFLAGS) $(CLIBDIR)/*/*.c
$(LINT) -Lcnew.llb $(SRC_DIR)/unix7.c
ansi_cnew.llb:
cp /dev/null ansi_cnew.llb
$(LINT) -ansi -Lansi_cnew.llb $(ANSILIBFLAGS) $(ANSILIBDIR)/*/*.c
$(LINT) -Lansi_cnew.llb $(SRC_DIR)/unix7.c