NetBSD/libexec/ftpd/Makefile
christos 2424c4f970 - Pass gcc -Wall
- Fix incorrect const poisoning
- Fix ftpd_popen to dynamically allocate strings to avoid buffer overruns.
1997-06-18 19:05:46 +00:00

27 lines
654 B
Makefile

# $NetBSD: Makefile,v 1.18 1997/06/18 19:05:46 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
# XXX Work-around a compiler bug for now... can't use -O
.if (${MACHINE_ARCH} == "powerpc")
CFLAGS=
.endif
PROG= ftpd
CFLAGS+=-DHASSETPROCTITLE -DSKEY -Dunix -Wall -Wstrict-prototypes -Wmissing-prototypes
SRCS= conf.c ftpd.c ftpcmd.c logwtmp.c popen.c
MAN= ftpd.8
CLEANFILES+=ftpcmd.c y.tab.h
.PATH: ${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login
LDADD+= -lcrypt -lskey
DPADD+= ${LIBCRYPT} ${LIBSKEY}
.if defined(KERBEROS)
SRCS+= klogin.c
CFLAGS+= -DKERBEROS
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
.endif
.include <bsd.prog.mk>