NetBSD/libexec/ftpd/Makefile

30 lines
585 B
Makefile

# $NetBSD: Makefile,v 1.31 1999/05/17 15:14:53 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
PROG= ftpd
SRCS= conf.c ftpd.c ftpcmd.y logwtmp.c popen.c
CPPFLAGS+=-DHASSETPROCTITLE
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
MAN= ftpd.8
MLINKS+=ftpd.8 ftpd.conf.5
# for `internal' ls
SRCS+= ls.c cmp.c print.c stat_flags.c util.c
.PATH: ${.CURDIR}/../../bin/ls
.include <bsd.own.mk>
.ifdef SKEY
CPPFLAGS+=-DSKEY
DPADD+= ${LIBSKEY}
LDADD+= -lskey
.endif
.include <bsd.prog.mk>
# XXX Work-around a compiler bug for now... can't use -O
.if (${MACHINE_ARCH} == "powerpc")
COPTS+=-O0
.endif