1994-06-13 23:49:28 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/28/93
|
1993-11-28 00:16:51 +03:00
|
|
|
|
|
|
|
PROG= fsinfo
|
1994-06-13 23:49:28 +04:00
|
|
|
MAN8= fsinfo.0
|
1993-11-28 00:16:51 +03:00
|
|
|
SRCS= fsinfo.c fsi_gram.c fsi_lex.c \
|
|
|
|
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
|
1994-06-13 23:49:28 +04:00
|
|
|
CFLAGS+=-I${.CURDIR}/../config
|
|
|
|
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
|
1993-12-07 04:37:12 +03:00
|
|
|
|
1993-11-28 00:16:51 +03:00
|
|
|
fsi_lex.o fsinfo.o: fsi_gram.h
|
1994-06-13 23:49:28 +04:00
|
|
|
fsi_gram.c fsi_gram.h: ../fsinfo/fsi_gram.y
|
1993-11-28 00:16:51 +03:00
|
|
|
@echo "# expect 2 shift/reduce conflicts"
|
|
|
|
${YACC} -d ${.CURDIR}/fsi_gram.y
|
|
|
|
mv y.tab.c fsi_gram.c
|
|
|
|
mv y.tab.h fsi_gram.h
|
|
|
|
|
1994-06-13 23:49:28 +04:00
|
|
|
fsi_lex.c: ../fsinfo/fsi_lex.l
|
1993-11-28 00:16:51 +03:00
|
|
|
${LEX} ${.CURDIR}/fsi_lex.l
|
|
|
|
mv lex.yy.c fsi_lex.c
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../config
|
|
|
|
.include "../../Makefile.inc"
|
|
|
|
.include <bsd.prog.mk>
|