mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
6b96c275e9
DPADD and LDADD.
34 lines
646 B
Makefile
34 lines
646 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
|
# $FreeBSD$
|
|
|
|
PROG= ftpd
|
|
MAN= ftpd.8
|
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
|
|
|
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
|
|
CFLAGS+=-DINET6
|
|
CFLAGS+=-I${.CURDIR}
|
|
YFLAGS=
|
|
|
|
DPADD= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
|
LDADD= -lmd -lcrypt -lutil
|
|
|
|
# XXX Kluge! Conversation mechanism needs to be fixed.
|
|
DPADD+= ${LIBOPIE}
|
|
LDADD+= -lopie
|
|
|
|
LSDIR= ../../bin/ls
|
|
.PATH: ${.CURDIR}/${LSDIR}
|
|
SRCS+= ls.c cmp.c print.c util.c lomac.c
|
|
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
|
|
DPADD+= ${LIBM}
|
|
LDADD+= -lm
|
|
|
|
.if !defined(NOPAM)
|
|
CFLAGS+=-DUSE_PAM
|
|
DPADD+= ${LIBPAM}
|
|
LDADD+= ${MINUSLPAM}
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|