freebsd-dev/usr.sbin/amd/fsinfo/Makefile
Cy Schubert 449287a2a5 MFV r305100: Update amd from am-utils 6.1.5 to 6.2.
Used extensively on my network over the past month.

Reviewed by:	pfg, brooks
Suggested by:	pfg
Obtained from:	ftp://ftp.am-utils.org/pub/am-utils/
MFC after:	6 weeks
Relnotes:	yes
Differential Revision:	D8405
2016-11-11 02:42:53 +00:00

46 lines
1.0 KiB
Makefile

# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
# $FreeBSD$
.PATH: ${SRCTOP}/contrib/amd/fsinfo
PROG= fsinfo
MAN= fsinfo.8
SRCS= fsi_analyze.c fsi_dict.c fsi_util.c fsinfo.c
SRCS+= wr_atab.c wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c
CFLAGS+= -I${SRCTOP}/contrib/amd/fsinfo \
-I${SRCTOP}/contrib/amd/inculde
LIBADD= amu
SRCS+= fsi_gram.c fsi_gram.h fsi_lex.c
SRCS+= null_gram.c null_gram.h null_lex.c
CLEANFILES+= fsi_gram.c fsi_gram.h fsi_lex.c
CLEANFILES+= null_gram.c null_gram.h null_lex.c
fsi_lex.c: fsi_lex.l
${LEX} ${LFLAGS} -Pfsi_ -o${.TARGET} ${.ALLSRC}
.ORDER: fsi_gram.c fsi_gram.h
fsi_gram.h: .NOMETA
fsi_gram.c fsi_gram.h: fsi_gram.y
${YACC} ${YFLAGS} -pfsi_ -ofsi_gram.c ${.ALLSRC}
null_lex.c: null_lex.l
${LEX} ${LFLAGS} -Pnull_ -o${.TARGET} ${.ALLSRC}
.ORDER: null_gram.c null_gram.h
null_gram.h: .NOMETA
null_gram.c null_gram.h: null_gram.y
${YACC} ${YFLAGS} -pnull_ -onull_gram.c ${.ALLSRC}
fsi_lex.o: fsi_gram.h
null_gram.o: null_gram.h
.include <bsd.prog.mk>