Makefile revision 57954
11195Srgrimes# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 250472Speter# $FreeBSD: head/etc/Makefile 57954 2000-03-13 04:59:43Z shin $ 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 \ 1257954Sshin pam.conf pccard.conf.sample 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 291773Sjkh# -rwxr-xr-x root.wheel, for the new cron root.wheel 3048734SiwasakiBIN2= netstart pccard_ether rc.suspend rc.resume 31147Srgrimes 3227487SasamiMTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \ 3327487Sasami BSD.var.dist BSD.x11.dist 3435832SacheNAMEDB= PROTO.localhost.rev named.conf named.root make-localhost 3543901SbrianPPPCNF= ppp.deny ppp.shells.sample 3649110SbrianPPPCF2= ppp.conf 3757948SrwatsonNOSPAM= Makefile README mailer.conf access.sample virtusertable.sample \ 3857948Srwatson mailertable.sample 3937Srgrimes 4017639Swosch 41263Srgrimes# Special top level files for FreeBSD 422779SrgrimesCOPYRIGHT= COPYRIGHT 438857SrgrimesFREEBSD= 44993SrgrimesFREEBSD+= ${COPYRIGHT} 45263Srgrimes 4638103Speteretc: 4737Srgrimes 484487Sphkdistribute: 496717Sphk cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/bin 5039590Sjkh.if defined(OBJFORMAT) 5139636Sdima echo OBJFORMAT=${OBJFORMAT} > ${DISTDIR}/bin/etc/objformat 5239590Sjkh.endif 5339590Sjkh @echo 545948Sjkh 554487Sphkdistribution: 561759Sjkh (cd ${.CURDIR}; \ 579970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; \ 5836902Sguido ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN2} ${DESTDIR}/etc; \ 5943832Sjkh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/rc.conf ${DESTDIR}/etc/defaults/; \ 6052609Sdillon ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/make.conf ${DESTDIR}/etc/defaults/; \ 619970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 6251033Sn_hibma ${DESTDIR}/var/log/cron; \ 639970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ 641759Sjkh master.passwd ${DESTDIR}/etc; \ 6557488Speter ( cd ${.CURDIR}/periodic; ${MAKE} install ); \ 6657488Speter ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \ 6717639Swosch ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ 6817639Swosch ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ 6917645Swosch ( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \ 7038160Sjb ( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \ 7157488Speter ( cd ${.CURDIR}/isdn; ${MAKE} install ); \ 721759Sjkh pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ 739970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 7453327Speter MAKEDEV.local MAKEDEV ${DESTDIR}/dev ) 7557488Speter.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH) 7657488Speter (cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSH} \ 7757488Speter ${DESTDIR}/etc/ssh ) 7857488Speter.endif 7957071Srwatson.if !defined(NO_MAKEDEV) 8057488Speter (cd ${DESTDIR}/dev; sh MAKEDEV all) 8157071Srwatson.endif 821731Sjkh (cd ${.CURDIR}/root; \ 839970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ 8437Srgrimes ${DESTDIR}/root/.cshrc; \ 859970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \ 8637Srgrimes ${DESTDIR}/root/.klogin; \ 879970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \ 8837Srgrimes ${DESTDIR}/root/.login; \ 899970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \ 9037Srgrimes ${DESTDIR}/root/.profile; \ 9137Srgrimes rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 9237Srgrimes ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 9337Srgrimes ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 949970Sbde cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 951731Sjkh ${MTREE} ${DESTDIR}/etc/mtree 969970Sbde cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 971731Sjkh ${NAMEDB} ${DESTDIR}/etc/namedb 989970Sbde cd ${.CURDIR}/ppp; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 996177Samurai ${PPPCNF} ${DESTDIR}/etc/ppp 10049110Sbrian cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \ 10149110Sbrian ${PPPCF2} ${DESTDIR}/etc/ppp 10230589Sjmb cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 10330589Sjmb ${NOSPAM} ${DESTDIR}/etc/mail 1049970Sbde ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ 10537Srgrimes ${DESTDIR}/etc/dumpdates 1069970Sbde ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ 107147Srgrimes ${DESTDIR}/var/db/locate.database 1089970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 109147Srgrimes ${DESTDIR}/var/log/lpd-errs 1109970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 11137Srgrimes ${DESTDIR}/var/log/maillog 1129970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 113288Srgrimes ${DESTDIR}/var/log/lastlog 1149970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 115147Srgrimes ${DESTDIR}/var/log/messages 11613378Sache ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 11750126Sgreen ${DESTDIR}/var/log/security 11850126Sgreen ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 11913378Sache ${DESTDIR}/var/log/slip.log 12017104Spst ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 12117104Spst ${DESTDIR}/var/log/ppp.log 1229970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 123147Srgrimes ${DESTDIR}/var/log/wtmp 1249970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 12537Srgrimes ${DESTDIR}/var/run/utmp 1269970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \ 1271759Sjkh ${DESTDIR}/var/crash 1281759Sjkh (cd ${.CURDIR}/..; \ 1299970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \ 1309970Sbde ${DESTDIR}/) 1311759Sjkh (cd ${.CURDIR}/../share/man; ${MAKE} makedb; ) 13237Srgrimes 133147Srgrimesdistrib-dirs: 1343654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ 1353654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var 1363654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr 1377129Srgrimes mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 1387129Srgrimes -p ${DESTDIR}/usr/include 13946523Smarkm mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 14046523Smarkm -p ${DESTDIR}/usr/libdata/perl/5.00503/mach 141410Srgrimes cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys 1427129Srgrimes cd ${DESTDIR}/usr/share/locale; \ 14311635Sache set - `cat ${.CURDIR}/locale.alias`; \ 14411635Sache while [ $$# -gt 0 ] ; \ 14511635Sache do \ 14611635Sache rm -rf "$$1"; \ 14711635Sache ln -s "$$2" "$$1"; \ 14811635Sache shift; shift; \ 1497129Srgrimes done 15011635Sache cd ${DESTDIR}/usr/share/nls; \ 15111635Sache set - `cat ${.CURDIR}/locale.alias`; \ 15211635Sache while [ $$# -gt 0 ] ; \ 15311635Sache do \ 15411635Sache rm -rf "$$1"; \ 15511635Sache ln -s "$$2" "$$1"; \ 15611635Sache shift; shift; \ 15711635Sache done; \ 15811635Sache rm -rf POSIX; \ 15911635Sache ln -s C POSIX 160147Srgrimes 16148185Ssheldonhetc-examples: 16248185Ssheldonh (cd ${.CURDIR}; \ 16348185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \ 16448185Ssheldonh ${DESTDIR}/usr/share/examples/etc; \ 16548185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/rc.conf \ 16652609Sdillon ${DESTDIR}/usr/share/examples/etc/defaults; \ 16752609Sdillon ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/make.conf \ 16848185Ssheldonh ${DESTDIR}/usr/share/examples/etc/defaults) 16948185Ssheldonh 17037Srgrimes.include <bsd.prog.mk> 171