7a3b8aefbf
fix a 5.x'ism that 4.x needs protection from. make this code compile standalone.
20 lines
372 B
Makefile
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>
|