Make vpanic() externally visible so that it can be called as part of the
[freebsd.git] / libexec / ftpd / Makefile
1 #       @(#)Makefile    8.2 (Berkeley) 4/4/94
2 # $FreeBSD$
3
4 .include <src.opts.mk>
5
6 PROG=   ftpd
7 MAN=    ftpd.8 ftpchroot.5
8 SRCS=   ftpd.c ftpcmd.y logwtmp.c popen.c
9
10 CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
11 CFLAGS+=-I${.CURDIR}
12 YFLAGS=
13 WARNS?= 2
14 WFORMAT=0
15
16 LIBADD= util crypt
17
18 # XXX Kluge! Conversation mechanism needs to be fixed.
19 LIBADD+=        opie md
20
21 LSDIR=  ../../bin/ls
22 .PATH:  ${.CURDIR}/${LSDIR}
23 SRCS+=  ls.c cmp.c print.c util.c
24 CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
25 LIBADD+=        m
26
27 .if ${MK_INET6_SUPPORT} != "no"
28 CFLAGS+=-DINET6
29 .endif
30
31 .if ${MK_PAM_SUPPORT} != "no"
32 CFLAGS+=-DUSE_PAM
33 LIBADD+=        pam
34 .endif
35
36 .include <bsd.prog.mk>