4 # This file is under a "BSD" copyright (c) by David O'Brien 1998
8 .PATH: ${.CURDIR}/../../../contrib/amd/fsinfo
12 SRCS= fsi_analyze.c fsi_dict.c fsi_util.c fsinfo.c
13 SRCS+= wr_atab.c wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c
15 CFLAGS+= -I${.CURDIR}/../../../contrib/amd/fsinfo \
16 -I${.CURDIR}/../../../contrib/amd/inculde
21 SRCS+= fsi_gram.c fsi_gram.h fsi_lex.c
22 SRCS+= null_gram.c null_gram.h null_lex.c
23 CLEANFILES+= fsi_gram.c fsi_gram.h fsi_lex.c
24 CLEANFILES+= null_gram.c null_gram.h null_lex.c
27 ${LEX} ${LFLAGS} -Pfsi_ -o${.TARGET} ${.ALLSRC}
29 .ORDER: fsi_gram.c fsi_gram.h
31 fsi_gram.c fsi_gram.h: fsi_gram.y
32 ${YACC} ${YFLAGS} -pfsi_ -ofsi_gram.c ${.ALLSRC}
34 null_lex.c: null_lex.l
35 ${LEX} ${LFLAGS} -Pnull_ -o${.TARGET} ${.ALLSRC}
37 .ORDER: null_gram.c null_gram.h
39 null_gram.c null_gram.h: null_gram.y
40 ${YACC} ${YFLAGS} -pnull_ -onull_gram.c ${.ALLSRC}
44 null_gram.o: null_gram.h
46 .include <bsd.prog.mk>