Makefile revision 60677
11195Srgrimes# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 250472Speter# $FreeBSD: head/etc/Makefile 60677 2000-05-18 05:21:50Z kris $ 337Srgrimes 438103SpeterSUBDIR= sendmail 538103Speter 655230SpeterBIN1= aliases amd.map apmd.conf auth.conf \ 755230Speter crontab csh.cshrc csh.login csh.logout \ 855230Speter dhclient.conf dm.conf fbtab ftpusers gettytab group \ 955230Speter hosts hosts.allow host.conf hosts.equiv hosts.lpd \ 1055230Speter inetd.conf login.access login.conf \ 1155230Speter motd modems networks newsyslog.conf \ 1259257Siwasaki pam.conf phones pim6dd.conf pim6sd.conf \ 1357954Sshin printcap profile protocols \ 1455230Speter rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.isdn \ 1557407Sshin rc.network rc.network6 rc.pccard rc.serial rc.shutdown rc.sysctl \ 1655230Speter remote rpc security services shells syslog.conf usbd.conf \ 1755230Speter etc.${MACHINE_ARCH}/disktab \ 1855230Speter etc.${MACHINE_ARCH}/rc.${MACHINE_ARCH} \ 1955230Speter etc.${MACHINE_ARCH}/ttys \ 201734Sjkh ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \ 2117639Swosch ${.CURDIR}/../usr.bin/mail/misc/mail.rc \ 2217639Swosch ${.CURDIR}/../usr.bin/locate/locate/locate.rc 2337Srgrimes 2457479Speter.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH) 2557488SpeterSSH= ${.CURDIR}/../crypto/openssh/ssh_config \ 2657459Smarkm ${.CURDIR}/../crypto/openssh/sshd_config 2757459Smarkm.endif 2857459Smarkm 2960677Skris.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL) 3060677SkrisSSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf 3160677Skris.endif 3260677Skris 331773Sjkh# -rwxr-xr-x root.wheel, for the new cron root.wheel 3448734SiwasakiBIN2= netstart pccard_ether rc.suspend rc.resume 35147Srgrimes 3627487SasamiMTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \ 3727487Sasami BSD.var.dist BSD.x11.dist 3835832SacheNAMEDB= PROTO.localhost.rev named.conf named.root make-localhost 3943901SbrianPPPCNF= ppp.deny ppp.shells.sample 4049110SbrianPPPCF2= ppp.conf 4157948SrwatsonNOSPAM= Makefile README mailer.conf access.sample virtusertable.sample \ 4257948Srwatson mailertable.sample 4337Srgrimes 4417639Swosch 45263Srgrimes# Special top level files for FreeBSD 462779SrgrimesCOPYRIGHT= COPYRIGHT 478857SrgrimesFREEBSD= 48993SrgrimesFREEBSD+= ${COPYRIGHT} 49263Srgrimes 5038103Speteretc: 5137Srgrimes 524487Sphkdistribute: 536717Sphk cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/bin 5439590Sjkh.if defined(OBJFORMAT) 5539636Sdima echo OBJFORMAT=${OBJFORMAT} > ${DISTDIR}/bin/etc/objformat 5639590Sjkh.endif 5739590Sjkh @echo 585948Sjkh 594487Sphkdistribution: 601759Sjkh (cd ${.CURDIR}; \ 619970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; \ 6236902Sguido ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN2} ${DESTDIR}/etc; \ 6343832Sjkh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/rc.conf ${DESTDIR}/etc/defaults/; \ 6452609Sdillon ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/make.conf ${DESTDIR}/etc/defaults/; \ 6558979Siwasaki ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/pccard.conf ${DESTDIR}/etc/defaults/; \ 669970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 6751033Sn_hibma ${DESTDIR}/var/log/cron; \ 689970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ 691759Sjkh master.passwd ${DESTDIR}/etc; \ 7057488Speter ( cd ${.CURDIR}/periodic; ${MAKE} install ); \ 7157488Speter ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \ 7217639Swosch ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ 7317639Swosch ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ 7417645Swosch ( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \ 7538160Sjb ( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \ 7657488Speter ( cd ${.CURDIR}/isdn; ${MAKE} install ); \ 771759Sjkh pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ 789970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 7953327Speter MAKEDEV.local MAKEDEV ${DESTDIR}/dev ) 8057488Speter.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH) 8157488Speter (cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSH} \ 8257488Speter ${DESTDIR}/etc/ssh ) 8357488Speter.endif 8460677Skris.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL) 8560677Skris (cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSL} \ 8660677Skris ${DESTDIR}/etc/ssl ) 8760677Skris.endif 8857071Srwatson.if !defined(NO_MAKEDEV) 8957488Speter (cd ${DESTDIR}/dev; sh MAKEDEV all) 9057071Srwatson.endif 911731Sjkh (cd ${.CURDIR}/root; \ 929970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ 9337Srgrimes ${DESTDIR}/root/.cshrc; \ 949970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \ 9537Srgrimes ${DESTDIR}/root/.klogin; \ 969970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \ 9737Srgrimes ${DESTDIR}/root/.login; \ 989970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \ 9937Srgrimes ${DESTDIR}/root/.profile; \ 10037Srgrimes rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 10137Srgrimes ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 10237Srgrimes ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 1039970Sbde cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 1041731Sjkh ${MTREE} ${DESTDIR}/etc/mtree 1059970Sbde cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 1061731Sjkh ${NAMEDB} ${DESTDIR}/etc/namedb 1079970Sbde cd ${.CURDIR}/ppp; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 1086177Samurai ${PPPCNF} ${DESTDIR}/etc/ppp 10949110Sbrian cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \ 11049110Sbrian ${PPPCF2} ${DESTDIR}/etc/ppp 11130589Sjmb cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 11230589Sjmb ${NOSPAM} ${DESTDIR}/etc/mail 1139970Sbde ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ 11437Srgrimes ${DESTDIR}/etc/dumpdates 1159970Sbde ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ 116147Srgrimes ${DESTDIR}/var/db/locate.database 1179970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 118147Srgrimes ${DESTDIR}/var/log/lpd-errs 1199970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 12037Srgrimes ${DESTDIR}/var/log/maillog 1219970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 122288Srgrimes ${DESTDIR}/var/log/lastlog 1239970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 124147Srgrimes ${DESTDIR}/var/log/messages 12513378Sache ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 12650126Sgreen ${DESTDIR}/var/log/security 12750126Sgreen ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 12813378Sache ${DESTDIR}/var/log/slip.log 12917104Spst ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 13017104Spst ${DESTDIR}/var/log/ppp.log 1319970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 132147Srgrimes ${DESTDIR}/var/log/wtmp 1339970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 13437Srgrimes ${DESTDIR}/var/run/utmp 1359970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \ 1361759Sjkh ${DESTDIR}/var/crash 1371759Sjkh (cd ${.CURDIR}/..; \ 1389970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \ 1399970Sbde ${DESTDIR}/) 1401759Sjkh (cd ${.CURDIR}/../share/man; ${MAKE} makedb; ) 14137Srgrimes 142147Srgrimesdistrib-dirs: 1433654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ 1443654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var 1453654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr 1467129Srgrimes mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 1477129Srgrimes -p ${DESTDIR}/usr/include 14846523Smarkm mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 14946523Smarkm -p ${DESTDIR}/usr/libdata/perl/5.00503/mach 150410Srgrimes cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys 1517129Srgrimes cd ${DESTDIR}/usr/share/locale; \ 15211635Sache set - `cat ${.CURDIR}/locale.alias`; \ 15311635Sache while [ $$# -gt 0 ] ; \ 15411635Sache do \ 15511635Sache rm -rf "$$1"; \ 15611635Sache ln -s "$$2" "$$1"; \ 15711635Sache shift; shift; \ 1587129Srgrimes done 15911635Sache cd ${DESTDIR}/usr/share/nls; \ 16011635Sache set - `cat ${.CURDIR}/locale.alias`; \ 16111635Sache while [ $$# -gt 0 ] ; \ 16211635Sache do \ 16311635Sache rm -rf "$$1"; \ 16411635Sache ln -s "$$2" "$$1"; \ 16511635Sache shift; shift; \ 16611635Sache done; \ 16711635Sache rm -rf POSIX; \ 16811635Sache ln -s C POSIX 169147Srgrimes 17048185Ssheldonhetc-examples: 17148185Ssheldonh (cd ${.CURDIR}; \ 17248185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \ 17348185Ssheldonh ${DESTDIR}/usr/share/examples/etc; \ 17448185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/rc.conf \ 17552609Sdillon ${DESTDIR}/usr/share/examples/etc/defaults; \ 17652609Sdillon ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/make.conf \ 17758979Siwasaki ${DESTDIR}/usr/share/examples/etc/defaults; \ 17858979Siwasaki ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/pccard.conf \ 17948185Ssheldonh ${DESTDIR}/usr/share/examples/etc/defaults) 18048185Ssheldonh 18137Srgrimes.include <bsd.prog.mk> 182