mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
Upstream is now https://github.com/zoulasc/blocklist/. Rename the contrib directory and update Makefiles to match, in advance of the next vendor branch update. Sponsored by: The FreeBSD Foundation (cherry picked from commit 5f4c09dd85bff675e0ca63c55ea3c517e0fddfcc)
41 lines
729 B
Makefile
41 lines
729 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= ftpd
|
|
|
|
CONFS= ftpusers
|
|
PROG= ftpd
|
|
MAN= ftpd.8 ftpchroot.5
|
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
|
|
|
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
|
|
CFLAGS+=-I${.CURDIR}
|
|
YFLAGS=
|
|
WARNS?= 2
|
|
WFORMAT=0
|
|
|
|
LIBADD= crypt md util
|
|
|
|
.PATH: ${SRCTOP}/bin/ls
|
|
SRCS+= ls.c cmp.c print.c util.c
|
|
CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls
|
|
LIBADD+= m
|
|
|
|
.if ${MK_BLACKLIST_SUPPORT} != "no"
|
|
CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blocklist/include
|
|
SRCS+= blacklist.c
|
|
LIBADD+= blacklist
|
|
LDFLAGS+=-L${LIBBLACKLISTDIR}
|
|
.endif
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
CFLAGS+=-DINET6
|
|
.endif
|
|
|
|
.if ${MK_PAM_SUPPORT} != "no"
|
|
CFLAGS+=-DUSE_PAM
|
|
LIBADD+= pam
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|