freebsd-dev/share/examples/autofs/driver/Makefile
Alfred Perlstein 7a3b8aefbf sync with private code:
fix a 5.x'ism that 4.x needs protection from.
make this code compile standalone.
2004-09-08 08:44:14 +00:00

20 lines
372 B
Makefile

# $Id: Makefile,v 1.5 2004/09/08 08:27:12 bright Exp $
# $FreeBSD$
PROG=autodriver
SRCS= autodriver.c
NOMAN= YES
WERROR= YES
WARNS= 4
CFLAGS+= -g
BINDIR?= /sbin
DPADD+= ${.OBJDIR}/../libautofs/libautofs.a
#LDADD+= -lautofs
LDADD+= ${.OBJDIR}/../libautofs/libautofs.a
LDFLAGS+= -L${.OBJDIR}/../libautofs
CFLAGS+= -I${.CURDIR}/../libautofs
.include <bsd.prog.mk>