1 # @(#)Makefile 8.2 (Berkeley) 4/4/94
6 LUKEMFTPD= ${.CURDIR}/../../contrib/lukemftpd
7 .PATH: ${LUKEMFTPD}/src ${LUKEMFTPD}/libnetbsd
10 MAN= lukemftpd.8 ftpd.conf.5 ftpusers.5
11 MLINKS= ftpusers.5 ftpchroot.5
12 SRCS= cmds.c conf.c ftpd.c ftpcmd.y popen.c
16 CFLAGS+= -include nbsd2fbsd.h
17 CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} -I${LUKEMFTPD}/src
18 CFLAGS+= -I${.CURDIR}/../../lib/libc/stdtime
22 DPADD= ${LIBCRYPT} ${LIBUTIL}
25 .PATH: ${.CURDIR}/${LSDIR}
26 SRCS+= ls-unmain.c cmp.c print.c util.c
27 CFLAGS+=-I${.CURDIR}/${LSDIR}
31 CFLAGS+= -DUSE_OPIE -DLOGIN_CAP
32 DPADD+= ${LIBOPIE} ${LIBMD}
35 .if ${MK_PAM_SUPPORT} != "no"
41 CLEANFILES+= ls-unmain.c
43 sed -e 's/^main(/ls_main(/g' -e 's,extern.h,${LSDIR}/extern.h,' \
44 ${.ALLSRC} > ${.TARGET}
46 ftpd.o ftpcmd.o: version.h
49 ln -sf ${.ALLSRC} ${.TARGET}
51 CLEANFILES+= lukemftpd.8
53 .include <bsd.prog.mk>
55 ${OBJS}: ${.CURDIR}/nbsd2fbsd.h