aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/autofs/Makefile
blob: 3a649062ae6ed28637651a33d38a33d7c88dbe64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $FreeBSD$

CONFS=	auto_master
PACKAGE=autofs
PROG=	automountd
SRCS=	automount.c
SRCS+=	automountd.c
SRCS+=	autounmountd.c
SRCS+=	common.c
SRCS+=	defined.c
SRCS+=	getmntopts.c
SRCS+=	log.c
SRCS+=	popen.c
SRCS+=	token.l

CFLAGS+=-I${.CURDIR}
CFLAGS+=-I${SRCTOP}/sys/fs/autofs

MAN=	automount.8 automountd.8 autounmountd.8 auto_master.5

LIBADD=	util

# Needed for getmntopts.c
MOUNT=  ${SRCTOP}/sbin/mount
CFLAGS+=-I${MOUNT}

LINKS=	${BINDIR}/automountd ${BINDIR}/automount
LINKS+=	${BINDIR}/automountd ${BINDIR}/autounmountd

.PATH:	${MOUNT}

SUBDIR=	autofs

.include <bsd.prog.mk>