summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-04 19:40:12 +0000
committerbde <bde@FreeBSD.org>1998-05-04 19:40:12 +0000
commited633ada06a14906f888216edee7a99613459c6e (patch)
treedbb3f8536e84f8009b05ce2809b8bc7c4b837e16 /usr.sbin/amd
parent0f56e515384e8114ee0d1f4cc51f60de9c3e4d1f (diff)
downloadFreeBSD-src-ed633ada06a14906f888216edee7a99613459c6e.zip
FreeBSD-src-ed633ada06a14906f888216edee7a99613459c6e.tar.gz
Simplified by using new lex and yacc rules.
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/fsinfo/Makefile19
1 files changed, 2 insertions, 17 deletions
diff --git a/usr.sbin/amd/fsinfo/Makefile b/usr.sbin/amd/fsinfo/Makefile
index c55a2a9..561a3ea 100644
--- a/usr.sbin/amd/fsinfo/Makefile
+++ b/usr.sbin/amd/fsinfo/Makefile
@@ -1,32 +1,17 @@
# @(#)Makefile 8.1 (Berkeley) 6/28/93
-# $Id: Makefile,v 1.5 1997/02/22 16:03:14 peter Exp $
+# $Id: Makefile,v 1.6 1997/10/05 09:40:08 jkh Exp $
PROG= fsinfo
MAN8= fsinfo.8
-SRCS= fsinfo.c fsi_gram.c fsi_gram.h fsi_lex.c \
+SRCS= fsinfo.c fsi_gram.y fsi_lex.l \
fsi_util.c fsi_analyze.c fsi_dict.c \
wr_atab.c wr_bparam.c wr_dumpset.c \
wr_exportfs.c wr_fstab.c
-CLEANFILES= \
- fsi_gram.c y.tab.c fsi_gram.h y.tab.h \
- fsi_lex.c lex.yy.c y.output
CFLAGS+=-I.
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
-fsi_lex.o fsinfo.o: fsi_gram.h
-.ORDER: fsi_gram.c fsi_gram.h
-fsi_gram.c fsi_gram.h: ../fsinfo/fsi_gram.y
- @echo "# expect 2 shift/reduce conflicts"
- ${YACC} -d ${.CURDIR}/fsi_gram.y
- mv -f y.tab.c fsi_gram.c
- mv -f y.tab.h fsi_gram.h
-
-fsi_lex.c: ../fsinfo/fsi_lex.l
- ${LEX} ${.CURDIR}/fsi_lex.l
- mv -f lex.yy.c fsi_lex.c
-
.PATH: ${.CURDIR}/../config
.include "../../Makefile.inc"
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud