1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
25 lines
515 B
Makefile
25 lines
515 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
|
# $FreeBSD$
|
|
|
|
PROG= ftpd
|
|
MAN8= ftpd.8
|
|
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
|
|
|
|
CFLAGS+=-DSETPROCTITLE -DSKEY -Wall
|
|
|
|
LDADD= -lskey -lmd -lcrypt -lutil
|
|
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
CLEANFILES+=ftpcmd.c y.tab.h
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
|
|
.PATH: ${.CURDIR}/../../usr.bin/login
|
|
SRCS+= klogin.c
|
|
LDADD+= -lkrb -ldes
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
CFLAGS+=-DKERBEROS
|
|
DISTRIBUTION= krb
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|