Makefile revision 51033
11195Srgrimes# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 250472Speter# $FreeBSD: head/etc/Makefile 51033 1999-09-06 20:10:27Z n_hibma $ 337Srgrimes 438103SpeterSUBDIR= sendmail 538103Speter 648694SobrienBIN1= aliases amd.map auth.conf crontab csh.cshrc csh.login csh.logout \ 748694Sobrien dhclient.conf dm.conf fbtab ftpusers gettytab group hosts hosts.allow \ 848694Sobrien host.conf hosts.equiv hosts.lpd inetd.conf login.access login.conf \ 948694Sobrien motd modems networks newsyslog.conf pam.conf pccard.conf.sample \ 1048734Siwasaki apmd.conf \ 1148694Sobrien phones printcap profile protocols rc rc.atm rc.devfs rc.diskless1 \ 1248694Sobrien rc.diskless2 rc.firewall rc.isdn rc.network rc.pccard rc.serial \ 1348694Sobrien rc.shutdown etc.${MACHINE_ARCH}/rc.${MACHINE_ARCH} remote security \ 1448694Sobrien services shells syslog.conf etc.${MACHINE_ARCH}/ttys \ 1548694Sobrien etc.${MACHINE_ARCH}/disktab rpc make.conf \ 161734Sjkh ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \ 1717639Swosch ${.CURDIR}/../usr.bin/mail/misc/mail.rc \ 1817639Swosch ${.CURDIR}/../usr.bin/locate/locate/locate.rc 1937Srgrimes 201773Sjkh# -rwxr-xr-x root.wheel, for the new cron root.wheel 2148734SiwasakiBIN2= netstart pccard_ether rc.suspend rc.resume 22147Srgrimes 2327487SasamiMTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \ 2427487Sasami BSD.var.dist BSD.x11.dist 2535832SacheNAMEDB= PROTO.localhost.rev named.conf named.root make-localhost 2643901SbrianPPPCNF= ppp.deny ppp.shells.sample 2749110SbrianPPPCF2= ppp.conf 2847012SjkhNOSPAM= Makefile README 2937Srgrimes 3017639Swosch 31263Srgrimes# Special top level files for FreeBSD 322779SrgrimesCOPYRIGHT= COPYRIGHT 338857SrgrimesFREEBSD= 34993SrgrimesFREEBSD+= ${COPYRIGHT} 35263Srgrimes 3638103Speteretc: 3737Srgrimes 384487Sphkdistribute: 396717Sphk cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/bin 4039590Sjkh.if defined(OBJFORMAT) 4139636Sdima echo OBJFORMAT=${OBJFORMAT} > ${DISTDIR}/bin/etc/objformat 4239590Sjkh.endif 4339590Sjkh @echo 445948Sjkh 454487Sphkdistribution: 461759Sjkh (cd ${.CURDIR}; \ 479970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; \ 4836902Sguido ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN2} ${DESTDIR}/etc; \ 4943832Sjkh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/rc.conf ${DESTDIR}/etc/defaults/; \ 509970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 5151033Sn_hibma ${DESTDIR}/var/log/cron; \ 529970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ 531759Sjkh master.passwd ${DESTDIR}/etc; \ 5428266Spst ( cd ${.CURDIR}/periodic; ${MAKE} install );\ 5517639Swosch ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall );\ 5617639Swosch ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ 5717639Swosch ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ 5817645Swosch ( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \ 5938160Sjb ( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \ 6042479Shm ( cd ${.CURDIR}/isdn; ${MAKE} install );\ 611759Sjkh pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ 629970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 6338711Sjb MAKEDEV.local etc.${MACHINE_ARCH}/MAKEDEV ${DESTDIR}/dev ) 641759Sjkh (cd ${DESTDIR}/dev; sh MAKEDEV all) ; 651731Sjkh (cd ${.CURDIR}/root; \ 669970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ 6737Srgrimes ${DESTDIR}/root/.cshrc; \ 689970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \ 6937Srgrimes ${DESTDIR}/root/.klogin; \ 709970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \ 7137Srgrimes ${DESTDIR}/root/.login; \ 729970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \ 7337Srgrimes ${DESTDIR}/root/.profile; \ 7437Srgrimes rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 7537Srgrimes ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 7637Srgrimes ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 779970Sbde cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 781731Sjkh ${MTREE} ${DESTDIR}/etc/mtree 799970Sbde cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 801731Sjkh ${NAMEDB} ${DESTDIR}/etc/namedb 819970Sbde cd ${.CURDIR}/ppp; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 826177Samurai ${PPPCNF} ${DESTDIR}/etc/ppp 8349110Sbrian cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \ 8449110Sbrian ${PPPCF2} ${DESTDIR}/etc/ppp 8530589Sjmb cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 8630589Sjmb ${NOSPAM} ${DESTDIR}/etc/mail 879970Sbde ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ 8837Srgrimes ${DESTDIR}/etc/dumpdates 899970Sbde ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ 90147Srgrimes ${DESTDIR}/var/db/locate.database 919970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 92147Srgrimes ${DESTDIR}/var/log/lpd-errs 939970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 9437Srgrimes ${DESTDIR}/var/log/maillog 959970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 96288Srgrimes ${DESTDIR}/var/log/lastlog 979970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 98147Srgrimes ${DESTDIR}/var/log/messages 9913378Sache ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 10050126Sgreen ${DESTDIR}/var/log/security 10150126Sgreen ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 10213378Sache ${DESTDIR}/var/log/slip.log 10317104Spst ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 10417104Spst ${DESTDIR}/var/log/ppp.log 1059970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 106147Srgrimes ${DESTDIR}/var/log/wtmp 1079970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 10837Srgrimes ${DESTDIR}/var/run/utmp 1099970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \ 1101759Sjkh ${DESTDIR}/var/crash 1111759Sjkh (cd ${.CURDIR}/..; \ 1129970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \ 1139970Sbde ${DESTDIR}/) 1141759Sjkh (cd ${.CURDIR}/../share/man; ${MAKE} makedb; ) 11537Srgrimes 116147Srgrimesdistrib-dirs: 1173654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ 1183654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var 1193654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr 1207129Srgrimes mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 1217129Srgrimes -p ${DESTDIR}/usr/include 12246523Smarkm mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 12346523Smarkm -p ${DESTDIR}/usr/libdata/perl/5.00503/mach 124410Srgrimes cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys 1257129Srgrimes cd ${DESTDIR}/usr/share/locale; \ 12611635Sache set - `cat ${.CURDIR}/locale.alias`; \ 12711635Sache while [ $$# -gt 0 ] ; \ 12811635Sache do \ 12911635Sache rm -rf "$$1"; \ 13011635Sache ln -s "$$2" "$$1"; \ 13111635Sache shift; shift; \ 1327129Srgrimes done 13311635Sache cd ${DESTDIR}/usr/share/nls; \ 13411635Sache set - `cat ${.CURDIR}/locale.alias`; \ 13511635Sache while [ $$# -gt 0 ] ; \ 13611635Sache do \ 13711635Sache rm -rf "$$1"; \ 13811635Sache ln -s "$$2" "$$1"; \ 13911635Sache shift; shift; \ 14011635Sache done; \ 14111635Sache rm -rf POSIX; \ 14211635Sache ln -s C POSIX 143147Srgrimes 14448185Ssheldonhetc-examples: 14548185Ssheldonh (cd ${.CURDIR}; \ 14648185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \ 14748185Ssheldonh ${DESTDIR}/usr/share/examples/etc; \ 14848185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/rc.conf \ 14948185Ssheldonh ${DESTDIR}/usr/share/examples/etc/defaults) 15048185Ssheldonh 15137Srgrimes.include <bsd.prog.mk> 152