# $OpenBSD: Makefile,v 1.4 1996/12/12 07:53:15 deraadt 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} DPADD= $(LIBCOMPAT) LDADD= -lcompat .include afterinstall: if [ ! -f ${DESTDIR}/etc/portal.conf ]; then \ ${INSTALL} ${COPY} -o root -g wheel -m 644 \ ${.CURDIR}/portal.conf ${DESTDIR}/etc; \ fi