Makefile (54677) | Makefile (54782) |
---|---|
1# From: @(#)Makefile 8.3 (Berkeley) 4/2/94 | 1# From: @(#)Makefile 8.3 (Berkeley) 4/2/94 |
2# $FreeBSD: head/usr.bin/passwd/Makefile 54677 1999-12-16 10:55:45Z marcel $ | 2# $FreeBSD: head/usr.bin/passwd/Makefile 54782 1999-12-18 13:55:17Z peter $ |
3 4# NOPAM is used by PicoBSD 5 6.if defined(NOPAM) 7 8PROG= passwd 9SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c 10 11GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ 12 yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c 13CFLAGS+=-Wall 14 | 3 4# NOPAM is used by PicoBSD 5 6.if defined(NOPAM) 7 8PROG= passwd 9SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c 10 11GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ 12 yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c 13CFLAGS+=-Wall 14 |
15DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD} 16LDADD= -lcrypt -lutil -lmd | 15DPADD= ${LIBCRYPT} ${LIBUTIL} 16LDADD= -lcrypt -lutil |
17.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 18 ${.CURDIR}/../rlogin 19 20CFLAGS+= -DLOGIN_CAP -DCRYPT -I. -I${.CURDIR} \ 21 -I${.CURDIR}/../../usr.sbin/vipw \ 22 -I${.CURDIR}/../../usr.bin/chpass \ 23 -Dyp_error=warnx -DLOGGING 24 25.else 26 27PROG= passwd 28SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c pw_yp.c \ 29 yp_passwd.c ypxfr_misc.c ${GENSRCS} 30GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ 31 yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c 32CFLAGS+=-Wall 33 | 17.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 18 ${.CURDIR}/../rlogin 19 20CFLAGS+= -DLOGIN_CAP -DCRYPT -I. -I${.CURDIR} \ 21 -I${.CURDIR}/../../usr.sbin/vipw \ 22 -I${.CURDIR}/../../usr.bin/chpass \ 23 -Dyp_error=warnx -DLOGGING 24 25.else 26 27PROG= passwd 28SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c pw_yp.c \ 29 yp_passwd.c ypxfr_misc.c ${GENSRCS} 30GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ 31 yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c 32CFLAGS+=-Wall 33 |
34DPADD= ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL} ${LIBMD} 35LDADD= -lcrypt -lrpcsvc -lutil -lmd | 34DPADD= ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL} 35LDADD= -lcrypt -lrpcsvc -lutil |
36.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 37 ${.CURDIR}/../rlogin ${.CURDIR}/../../libexec/ypxfr \ 38 ${.CURDIR}/../../usr.sbin/rpc.yppasswdd 39 40CFLAGS+= -DLOGIN_CAP -DCRYPT -DYP -I. -I${.CURDIR} \ 41 -I${.CURDIR}/../../usr.sbin/vipw \ 42 -I${.CURDIR}/../../usr.bin/chpass \ 43 -I${.CURDIR}/../../libexec/ypxfr \ --- 38 unchanged lines hidden (view full) --- 82.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && (defined(MAKE_KERBEROS4)) 83SRCS+= kpasswd_standalone.c 84.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 85 ${.CURDIR}/../../usr.bin/rlogin ${.CURDIR}/../../usr.bin/passwd \ 86 ${.CURDIR}/../../crypto/kerberosIV/kadmin 87 88CFLAGS+= -DKERBEROS 89# XXX not defined: ${LIBKADM}, ${LIBCOM_ERR} | 36.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 37 ${.CURDIR}/../rlogin ${.CURDIR}/../../libexec/ypxfr \ 38 ${.CURDIR}/../../usr.sbin/rpc.yppasswdd 39 40CFLAGS+= -DLOGIN_CAP -DCRYPT -DYP -I. -I${.CURDIR} \ 41 -I${.CURDIR}/../../usr.sbin/vipw \ 42 -I${.CURDIR}/../../usr.bin/chpass \ 43 -I${.CURDIR}/../../libexec/ypxfr \ --- 38 unchanged lines hidden (view full) --- 82.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && (defined(MAKE_KERBEROS4)) 83SRCS+= kpasswd_standalone.c 84.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 85 ${.CURDIR}/../../usr.bin/rlogin ${.CURDIR}/../../usr.bin/passwd \ 86 ${.CURDIR}/../../crypto/kerberosIV/kadmin 87 88CFLAGS+= -DKERBEROS 89# XXX not defined: ${LIBKADM}, ${LIBCOM_ERR} |
90DPADD= ${LIBKADM} ${LIBKRB} ${LIBDES} ${LIBCRYPT} ${LIBRPCSVC} ${LIBCOM_ERR} \ 91 ${LIBUTIL} ${LIBMD} 92LDADD= -lkadm -lkrb -ldes -lcrypt -lrpcsvc -lcom_err -lutil -lmd | 90DPADD= ${LIBKADM} ${LIBKRB} ${LIBDES} ${LIBCRYPT} ${LIBRPCSVC} ${LIBCOM_ERR} ${LIBUTIL} 91LDADD= -lkadm -lkrb -ldes -lcrypt -lrpcsvc -lcom_err -lutil |
93DISTRIBUTION= krb4 94.endif 95 96beforeinstall: 97.for i in passwd yppasswd 98 [ ! -e ${DESTDIR}${BINDIR}/$i ] || \ 99 chflags noschg ${DESTDIR}${BINDIR}/$i || true 100.endfor 101 102afterinstall: 103 -chflags schg ${DESTDIR}${BINDIR}/passwd 104 105.include <bsd.prog.mk> | 92DISTRIBUTION= krb4 93.endif 94 95beforeinstall: 96.for i in passwd yppasswd 97 [ ! -e ${DESTDIR}${BINDIR}/$i ] || \ 98 chflags noschg ${DESTDIR}${BINDIR}/$i || true 99.endfor 100 101afterinstall: 102 -chflags schg ${DESTDIR}${BINDIR}/passwd 103 104.include <bsd.prog.mk> |