Home | History | Annotate | Line # | Download | only in ftpd
Makefile revision 1.28
      1  1.28    lukem #	$NetBSD: Makefile,v 1.28 1998/09/06 10:39:40 lukem Exp $
      2  1.12      cgd #	@(#)Makefile	8.2 (Berkeley) 4/4/94
      3  1.14      cjs 
      4   1.1      cgd PROG=	ftpd
      5  1.26       tv SRCS=	conf.c ftpd.c ftpcmd.y logwtmp.c popen.c
      6  1.28    lukem CPPFLAGS+=-DHASSETPROCTITLE
      7  1.21  mycroft DPADD+=	${LIBCRYPT}
      8  1.21  mycroft LDADD+=	-lcrypt
      9  1.11      cgd MAN=	ftpd.8
     10  1.25      mrg MLINKS+=ftpd.8 ftpd.conf.5
     11   1.6      cgd .PATH:	${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login
     12   1.5      cgd 
     13  1.24  mycroft .include <bsd.own.mk>
     14  1.21  mycroft 
     15  1.21  mycroft .ifdef SKEY
     16  1.21  mycroft CPPFLAGS+=-DSKEY
     17  1.21  mycroft DPADD+= ${LIBSKEY}
     18  1.21  mycroft LDADD+= -lskey
     19  1.22  mycroft .endif
     20   1.6      cgd 
     21  1.23  mycroft .ifdef KERBEROS5
     22  1.23  mycroft SRCS+=	k5login.c
     23  1.23  mycroft CPPFLAGS+=-DKERBEROS5
     24  1.23  mycroft DPADD+=	${LIBKRB5} ${LIBCRYPTO}
     25  1.23  mycroft LDADD+=	-lkrb5 -lcrypto -lcom_err
     26  1.23  mycroft .elifdef KERBEROS
     27  1.21  mycroft SRCS+=	klogin.c
     28  1.21  mycroft CPPFLAGS+=-DKERBEROS
     29  1.23  mycroft DPADD+=	${LIBKRB} ${LIBDES}
     30  1.23  mycroft LDADD+=	-lkrb -ldes
     31   1.6      cgd .endif
     32  1.24  mycroft 
     33  1.24  mycroft .include <bsd.prog.mk>
     34  1.27    lukem 
     35  1.27    lukem # XXX Work-around a compiler bug for now... can't use -O
     36  1.27    lukem .if (${MACHINE_ARCH} == "powerpc")
     37  1.27    lukem COPTS+=-O0
     38  1.27    lukem .endif
     39