summaryrefslogtreecommitdiffstats
path: root/usr.bin/colldef/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-09-28 18:23:44 +0000
committerbde <bde@FreeBSD.org>1995-09-28 18:23:44 +0000
commit5015bf0de99a70defc3a41533eb60f66ec420fe8 (patch)
treed5d4acb0a971f560036af7df10cec9a3fa4d0ce8 /usr.bin/colldef/Makefile
parent58d8b050e72ce9c2d149728638f1265fd38dba6e (diff)
downloadFreeBSD-src-5015bf0de99a70defc3a41533eb60f66ec420fe8.zip
FreeBSD-src-5015bf0de99a70defc3a41533eb60f66ec420fe8.tar.gz
Fix SRCS so that `make depend' works. There were some .l's and some .y's.
The filenames in SRCS must have one of the extensions .s, .S, .c, or .cc if they are to be handled by bsd.dep.mk. Lex and yacc files must be converted to C files and kept around for everything to work. This is handled fairly automatically if the names of the generated C files are put in SRCS. Unfortunately these names must be put in CLEANFILES too. pcvt Makefiles: Fix DPADD. It was missing. Fix CLEANFILES. Some temporary files were missing. Fix CFLAGS. There were some `-I dir' options. There must be no whitespace separating -I and -D options from the corresponding args if these options are to be handled by bsd.dep.mk.
Diffstat (limited to 'usr.bin/colldef/Makefile')
-rw-r--r--usr.bin/colldef/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/colldef/Makefile b/usr.bin/colldef/Makefile
index 023859b..06500c2 100644
--- a/usr.bin/colldef/Makefile
+++ b/usr.bin/colldef/Makefile
@@ -1,13 +1,13 @@
-# $Id: Makefile,v 1.2 1995/05/01 12:10:35 ache Exp $
+# $Id: Makefile,v 1.3 1995/06/19 22:15:35 asami Exp $
PROG = colldef
LFLAGS = -8 -i
YFLAGS = -d
CFLAGS += -I. -I${.CURDIR}/../../lib/libc/locale
-SRCS = parse.y scan.l
+SRCS = parse.c scan.c
LDADD = -ll
DPADD = ${LIBL}
-CLEANFILES = y.tab.[ch] lex.yy.c
+CLEANFILES += lex.yy.c parse.c scan.c y.tab.[ch]
LOCALES= ru_SU.KOI8-R ru_SU.CP866 lt_LN.ISO_8859-1
LOCALEDIR= ${DESTDIR}/usr/share/locale
OpenPOWER on IntegriCloud