1# @(#)Makefile 8.1 (Berkeley) 06/28/93 2 3PROG= fsinfo 4MAN8= fsinfo.0 5SRCS= fsinfo.c fsi_gram.c fsi_lex.c \ 6 fsi_util.c fsi_analyze.c fsi_dict.c \ 7 wr_atab.c wr_bparam.c wr_dumpset.c \ 8 wr_exportfs.c wr_fstab.c 9CLEANFILES= \ 10 fsi_gram.c y.tab.c fsi_gram.h y.tab.h \ 11 fsi_lex.c lex.yy.c y.output 12CFLAGS+=-I. 13CFLAGS+=-I${.CURDIR}/../include 14CFLAGS+=-I${.CURDIR}/../config 15CFLAGS+=-DOS_HDR=\"os-bsd44.h\" 16 17fsi_lex.o fsinfo.o: fsi_gram.h 18fsi_gram.c fsi_gram.h: ../fsinfo/fsi_gram.y 19 @echo "# expect 2 shift/reduce conflicts" 20 ${YACC} -d ${.CURDIR}/fsi_gram.y 21 mv y.tab.c fsi_gram.c 22 mv y.tab.h fsi_gram.h 23 24fsi_lex.c: ../fsinfo/fsi_lex.l 25 ${LEX} ${.CURDIR}/fsi_lex.l 26 mv lex.yy.c fsi_lex.c 27 28.PATH: ${.CURDIR}/../config 29.include "../../Makefile.inc" 30.include <bsd.prog.mk> 31