1 1.40.2.1 minoura # $NetBSD: Makefile,v 1.40.2.1 2000/06/22 15:58:14 minoura Exp $ 2 1.12 cgd # @(#)Makefile 8.2 (Berkeley) 4/4/94 3 1.14 cjs 4 1.1 cgd PROG= ftpd 5 1.40.2.1 minoura SRCS= cmds.c conf.c ftpd.c ftpcmd.y logutmp.c logwtmp.c popen.c 6 1.28 lukem CPPFLAGS+=-DHASSETPROCTITLE 7 1.40.2.1 minoura # CPPFLAGS+=-DDEBUG # XXX for lukem testing 8 1.36 lukem DPADD+= ${LIBCRYPT} ${LIBUTIL} 9 1.36 lukem LDADD+= -lcrypt -lutil 10 1.37 lukem MAN= ftpd.conf.5 ftpusers.5 ftpd.8 11 1.38 lukem MLINKS= ftpusers.5 ftpchroot.5 12 1.31 lukem 13 1.31 lukem # for `internal' ls 14 1.31 lukem SRCS+= ls.c cmp.c print.c stat_flags.c util.c 15 1.31 lukem .PATH: ${.CURDIR}/../../bin/ls 16 1.5 cgd 17 1.33 itojun CPPFLAGS+=-DINET6 18 1.24 mycroft .include <bsd.own.mk> 19 1.21 mycroft 20 1.21 mycroft .ifdef SKEY 21 1.21 mycroft CPPFLAGS+=-DSKEY 22 1.21 mycroft DPADD+= ${LIBSKEY} 23 1.21 mycroft LDADD+= -lskey 24 1.34 thorpej .endif 25 1.39 lukem 26 1.40 lukem ftpd.o ftpcmd.o: version.h 27 1.34 thorpej 28 1.40.2.1 minoura # XXX Kerberos support is broken right now. 29 1.40.2.1 minoura #.PATH: ${.CURDIR}/../../usr.bin/login 30 1.40.2.1 minoura 31 1.40.2.1 minoura #.ifdef KERBEROS5 32 1.40.2.1 minoura #SRCS+= k5login.c 33 1.40.2.1 minoura #CPPFLAGS+=-DKERBEROS5 34 1.40.2.1 minoura #DPADD+= ${LIBKRB5} ${LIBK5CRYPTO} ${LIBCOM_ERR} 35 1.40.2.1 minoura #LDADD+= -lkrb5 -lk5crypto -lcom_err 36 1.40.2.1 minoura #.else 37 1.40.2.1 minoura #SRCS+= klogin.c 38 1.40.2.1 minoura #CPPFLAGS+=-DKERBEROS 39 1.40.2.1 minoura #DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR} 40 1.40.2.1 minoura #LDADD+= -lkrb -kdes -lcom_err 41 1.40.2.1 minoura #.endif 42 1.24 mycroft 43 1.24 mycroft .include <bsd.prog.mk> 44