Makefile revision 52609
11195Srgrimes# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 250472Speter# $FreeBSD: head/etc/Makefile 52609 1999-10-28 21:31:46Z dillon $ 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 \ 1552609Sdillon etc.${MACHINE_ARCH}/disktab rpc \ 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/; \ 5052609Sdillon ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/make.conf ${DESTDIR}/etc/defaults/; \ 519970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 5251033Sn_hibma ${DESTDIR}/var/log/cron; \ 539970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ 541759Sjkh master.passwd ${DESTDIR}/etc; \ 5528266Spst ( cd ${.CURDIR}/periodic; ${MAKE} install );\ 5617639Swosch ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall );\ 5717639Swosch ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ 5817639Swosch ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ 5917645Swosch ( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \ 6038160Sjb ( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \ 6142479Shm ( cd ${.CURDIR}/isdn; ${MAKE} install );\ 621759Sjkh pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ 639970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 6438711Sjb MAKEDEV.local etc.${MACHINE_ARCH}/MAKEDEV ${DESTDIR}/dev ) 651759Sjkh (cd ${DESTDIR}/dev; sh MAKEDEV all) ; 661731Sjkh (cd ${.CURDIR}/root; \ 679970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ 6837Srgrimes ${DESTDIR}/root/.cshrc; \ 699970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \ 7037Srgrimes ${DESTDIR}/root/.klogin; \ 719970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \ 7237Srgrimes ${DESTDIR}/root/.login; \ 739970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \ 7437Srgrimes ${DESTDIR}/root/.profile; \ 7537Srgrimes rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 7637Srgrimes ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 7737Srgrimes ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 789970Sbde cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 791731Sjkh ${MTREE} ${DESTDIR}/etc/mtree 809970Sbde cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 811731Sjkh ${NAMEDB} ${DESTDIR}/etc/namedb 829970Sbde cd ${.CURDIR}/ppp; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 836177Samurai ${PPPCNF} ${DESTDIR}/etc/ppp 8449110Sbrian cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \ 8549110Sbrian ${PPPCF2} ${DESTDIR}/etc/ppp 8630589Sjmb cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 8730589Sjmb ${NOSPAM} ${DESTDIR}/etc/mail 889970Sbde ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ 8937Srgrimes ${DESTDIR}/etc/dumpdates 909970Sbde ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ 91147Srgrimes ${DESTDIR}/var/db/locate.database 929970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 93147Srgrimes ${DESTDIR}/var/log/lpd-errs 949970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 9537Srgrimes ${DESTDIR}/var/log/maillog 969970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 97288Srgrimes ${DESTDIR}/var/log/lastlog 989970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 99147Srgrimes ${DESTDIR}/var/log/messages 10013378Sache ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 10150126Sgreen ${DESTDIR}/var/log/security 10250126Sgreen ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 10313378Sache ${DESTDIR}/var/log/slip.log 10417104Spst ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 10517104Spst ${DESTDIR}/var/log/ppp.log 1069970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 107147Srgrimes ${DESTDIR}/var/log/wtmp 1089970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 10937Srgrimes ${DESTDIR}/var/run/utmp 1109970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \ 1111759Sjkh ${DESTDIR}/var/crash 1121759Sjkh (cd ${.CURDIR}/..; \ 1139970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \ 1149970Sbde ${DESTDIR}/) 1151759Sjkh (cd ${.CURDIR}/../share/man; ${MAKE} makedb; ) 11637Srgrimes 117147Srgrimesdistrib-dirs: 1183654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ 1193654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var 1203654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr 1217129Srgrimes mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 1227129Srgrimes -p ${DESTDIR}/usr/include 12346523Smarkm mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 12446523Smarkm -p ${DESTDIR}/usr/libdata/perl/5.00503/mach 125410Srgrimes cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys 1267129Srgrimes cd ${DESTDIR}/usr/share/locale; \ 12711635Sache set - `cat ${.CURDIR}/locale.alias`; \ 12811635Sache while [ $$# -gt 0 ] ; \ 12911635Sache do \ 13011635Sache rm -rf "$$1"; \ 13111635Sache ln -s "$$2" "$$1"; \ 13211635Sache shift; shift; \ 1337129Srgrimes done 13411635Sache cd ${DESTDIR}/usr/share/nls; \ 13511635Sache set - `cat ${.CURDIR}/locale.alias`; \ 13611635Sache while [ $$# -gt 0 ] ; \ 13711635Sache do \ 13811635Sache rm -rf "$$1"; \ 13911635Sache ln -s "$$2" "$$1"; \ 14011635Sache shift; shift; \ 14111635Sache done; \ 14211635Sache rm -rf POSIX; \ 14311635Sache ln -s C POSIX 144147Srgrimes 14548185Ssheldonhetc-examples: 14648185Ssheldonh (cd ${.CURDIR}; \ 14748185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \ 14848185Ssheldonh ${DESTDIR}/usr/share/examples/etc; \ 14948185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/rc.conf \ 15052609Sdillon ${DESTDIR}/usr/share/examples/etc/defaults; \ 15152609Sdillon ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/make.conf \ 15248185Ssheldonh ${DESTDIR}/usr/share/examples/etc/defaults) 15348185Ssheldonh 15437Srgrimes.include <bsd.prog.mk> 155