Home | History | Annotate | Line # | Download | only in ftpd
Makefile revision 1.56.8.1
      1  1.56.8.1    bouyer #	$NetBSD: Makefile,v 1.56.8.1 2008/09/18 18:17:00 bouyer Exp $
      2      1.12       cgd #	@(#)Makefile	8.2 (Berkeley) 4/4/94
      3      1.14       cjs 
      4      1.50     lukem .include <bsd.own.mk>
      5      1.47     lukem 
      6       1.1       cgd PROG=	ftpd
      7      1.41     lukem SRCS=	cmds.c conf.c ftpd.c ftpcmd.y logutmp.c logwtmp.c popen.c
      8      1.53  christos CPPFLAGS+=-I${.CURDIR} -DSUPPORT_UTMP -DSUPPORT_UTMPX -DLOGIN_CAP
      9      1.36     lukem DPADD+=	${LIBCRYPT} ${LIBUTIL}
     10      1.36     lukem LDADD+=	-lcrypt -lutil
     11      1.37     lukem MAN=	ftpd.conf.5 ftpusers.5 ftpd.8
     12      1.38     lukem MLINKS=	ftpusers.5 ftpchroot.5
     13      1.31     lukem 
     14      1.31     lukem # for `internal' ls
     15      1.31     lukem SRCS+=	ls.c cmp.c print.c stat_flags.c util.c
     16      1.47     lukem .PATH:	${NETBSDSRCDIR}/bin/ls
     17       1.5       cgd 
     18      1.52     lukem .if (${USE_INET6} != "no")
     19      1.33    itojun CPPFLAGS+=-DINET6
     20      1.52     lukem .endif
     21      1.45     lukem 
     22      1.45     lukem WARNS=2
     23      1.21   mycroft 
     24      1.53  christos .if (${USE_PAM} != "no")
     25      1.53  christos CPPFLAGS+=-DUSE_PAM
     26      1.54        he DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
     27      1.54        he LDADD+= -lpam ${PAM_STATIC_LDADD}
     28  1.56.8.1    bouyer .else	# USE_PAM == no
     29  1.56.8.1    bouyer .if (${USE_SKEY} != "no")
     30  1.56.8.1    bouyer CPPFLAGS+=-DSKEY
     31  1.56.8.1    bouyer DPADD+= ${LIBSKEY}
     32  1.56.8.1    bouyer LDADD+= -lskey
     33      1.53  christos .endif
     34  1.56.8.1    bouyer .endif	# USE_PAM == no
     35      1.39     lukem 
     36      1.40     lukem ftpd.o ftpcmd.o: version.h
     37      1.34   thorpej 
     38      1.51    itojun #.if (${USE_KERBEROS} != "no")
     39      1.51    itojun #
     40      1.47     lukem #.PATH:	${NETBSDSRCDIR}/usr.bin/login
     41      1.51    itojun #
     42      1.42   thorpej #SRCS+=	k5login.c
     43      1.42   thorpej #CPPFLAGS+=-DKERBEROS5
     44      1.51    itojun #CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
     45      1.51    itojun #DPADD+=	${LIBKRB5} ${LIBASN1}
     46      1.51    itojun #LDADD+= -lkrb5 -lasn1
     47      1.51    itojun #
     48      1.55  christos #DPADD+=	${LIBCRYPTO} ${{LIBCRYPT} ${LIBROKEN} ${LIBCOM_ERR}
     49      1.55  christos #LDADD+=	-lcrypto -lcrypt -lroken -lcom_err
     50      1.51    itojun #
     51      1.42   thorpej #.endif
     52      1.24   mycroft 
     53      1.24   mycroft .include <bsd.prog.mk>
     54