summaryrefslogtreecommitdiff
path: root/sbin/mount_portal/Makefile
blob: 1e77debe67a513814d29ab1d829835dd63fcfced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.5 1997/03/23 04:43:22 millert Exp $
#	$NetBSD: Makefile,v 1.10 1995/03/18 14:57:50 cgd Exp $

PROG=	mount_portal
SRCS=	mount_portal.c activate.c conf.c getmntopts.c pt_conf.c \
	pt_exec.c pt_file.c pt_tcp.c
MAN=	mount_portal.8

MOUNT=	${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
.PATH:	${MOUNT}

.include <bsd.prog.mk>

afterinstall:
	if [ ! -f ${DESTDIR}/etc/portal.conf ]; then \
		${INSTALL} ${COPY} -o root -g wheel -m 644 \
		    ${.CURDIR}/portal.conf ${DESTDIR}/etc; \
	fi