diff options
Diffstat (limited to 'libexec/lukemftpd/Makefile')
-rw-r--r-- | libexec/lukemftpd/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libexec/lukemftpd/Makefile b/libexec/lukemftpd/Makefile new file mode 100644 index 0000000..138d0f5 --- /dev/null +++ b/libexec/lukemftpd/Makefile @@ -0,0 +1,40 @@ +# @(#)Makefile 8.2 (Berkeley) 4/4/94 +# $FreeBSD$ + +MAINTAINER= obrien + +LUKEMFTPD= ${.CURDIR}/../../contrib/lukemftpd +.PATH: ${LUKEMFTPD}/src + +PROG= lukemftpd +MAN= lukemftpd.8 ftpd.conf.5 ftpusers.5 +MLINKS= ftpusers.5 ftpchroot.5 +SRCS= cmds.c conf.c ftpd.c ftpcmd.y popen.c + +WFORMAT= 0 +CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} -I${LUKEMFTPD}/src +YFLAGS= + +LDADD= -lcrypt -lutil +DPADD= ${LIBCRYPT} ${LIBUTIL} + +LSDIR= ../../bin/ls +.PATH: ${.CURDIR}/${LSDIR} +SRCS+= ls-unmain.c cmp.c print.c util.c +CFLAGS+=-I${.CURDIR}/${LSDIR} +DPADD+= ${LIBM} +LDADD+= -lm + +CLEANFILES+= ls-unmain.c +ls-unmain.c: ls.c + sed -e 's/^main(/ls_main(/g' -e 's,extern.h,${LSDIR}/extern.h,' \ + ${.ALLSRC} > ${.TARGET} + +ftpd.o ftpcmd.o: version.h + +lukemftpd.8: ftpd.8 + ln -sf ${.ALLSRC} ${.TARGET} + +CLEANFILES+= lukemftpd.8 + +.include <bsd.prog.mk> |