Makefile revision 59257
11195Srgrimes# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 250472Speter# $FreeBSD: head/etc/Makefile 59257 2000-04-15 16:48:41Z iwasaki $ 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 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/; \ 6158979Siwasaki ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/pccard.conf ${DESTDIR}/etc/defaults/; \ 629970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 6351033Sn_hibma ${DESTDIR}/var/log/cron; \ 649970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ 651759Sjkh master.passwd ${DESTDIR}/etc; \ 6657488Speter ( cd ${.CURDIR}/periodic; ${MAKE} install ); \ 6757488Speter ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \ 6817639Swosch ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ 6917639Swosch ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ 7017645Swosch ( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \ 7138160Sjb ( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \ 7257488Speter ( cd ${.CURDIR}/isdn; ${MAKE} install ); \ 731759Sjkh pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ 749970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 7553327Speter MAKEDEV.local MAKEDEV ${DESTDIR}/dev ) 7657488Speter.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH) 7757488Speter (cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSH} \ 7857488Speter ${DESTDIR}/etc/ssh ) 7957488Speter.endif 8057071Srwatson.if !defined(NO_MAKEDEV) 8157488Speter (cd ${DESTDIR}/dev; sh MAKEDEV all) 8257071Srwatson.endif 831731Sjkh (cd ${.CURDIR}/root; \ 849970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ 8537Srgrimes ${DESTDIR}/root/.cshrc; \ 869970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \ 8737Srgrimes ${DESTDIR}/root/.klogin; \ 889970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \ 8937Srgrimes ${DESTDIR}/root/.login; \ 909970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \ 9137Srgrimes ${DESTDIR}/root/.profile; \ 9237Srgrimes rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 9337Srgrimes ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 9437Srgrimes ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 959970Sbde cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 961731Sjkh ${MTREE} ${DESTDIR}/etc/mtree 979970Sbde cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 981731Sjkh ${NAMEDB} ${DESTDIR}/etc/namedb 999970Sbde cd ${.CURDIR}/ppp; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 1006177Samurai ${PPPCNF} ${DESTDIR}/etc/ppp 10149110Sbrian cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \ 10249110Sbrian ${PPPCF2} ${DESTDIR}/etc/ppp 10330589Sjmb cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 10430589Sjmb ${NOSPAM} ${DESTDIR}/etc/mail 1059970Sbde ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ 10637Srgrimes ${DESTDIR}/etc/dumpdates 1079970Sbde ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ 108147Srgrimes ${DESTDIR}/var/db/locate.database 1099970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 110147Srgrimes ${DESTDIR}/var/log/lpd-errs 1119970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 11237Srgrimes ${DESTDIR}/var/log/maillog 1139970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 114288Srgrimes ${DESTDIR}/var/log/lastlog 1159970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 116147Srgrimes ${DESTDIR}/var/log/messages 11713378Sache ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 11850126Sgreen ${DESTDIR}/var/log/security 11950126Sgreen ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 12013378Sache ${DESTDIR}/var/log/slip.log 12117104Spst ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 12217104Spst ${DESTDIR}/var/log/ppp.log 1239970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 124147Srgrimes ${DESTDIR}/var/log/wtmp 1259970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 12637Srgrimes ${DESTDIR}/var/run/utmp 1279970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \ 1281759Sjkh ${DESTDIR}/var/crash 1291759Sjkh (cd ${.CURDIR}/..; \ 1309970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \ 1319970Sbde ${DESTDIR}/) 1321759Sjkh (cd ${.CURDIR}/../share/man; ${MAKE} makedb; ) 13337Srgrimes 134147Srgrimesdistrib-dirs: 1353654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ 1363654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var 1373654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr 1387129Srgrimes mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 1397129Srgrimes -p ${DESTDIR}/usr/include 14046523Smarkm mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 14146523Smarkm -p ${DESTDIR}/usr/libdata/perl/5.00503/mach 142410Srgrimes cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys 1437129Srgrimes cd ${DESTDIR}/usr/share/locale; \ 14411635Sache set - `cat ${.CURDIR}/locale.alias`; \ 14511635Sache while [ $$# -gt 0 ] ; \ 14611635Sache do \ 14711635Sache rm -rf "$$1"; \ 14811635Sache ln -s "$$2" "$$1"; \ 14911635Sache shift; shift; \ 1507129Srgrimes done 15111635Sache cd ${DESTDIR}/usr/share/nls; \ 15211635Sache set - `cat ${.CURDIR}/locale.alias`; \ 15311635Sache while [ $$# -gt 0 ] ; \ 15411635Sache do \ 15511635Sache rm -rf "$$1"; \ 15611635Sache ln -s "$$2" "$$1"; \ 15711635Sache shift; shift; \ 15811635Sache done; \ 15911635Sache rm -rf POSIX; \ 16011635Sache ln -s C POSIX 161147Srgrimes 16248185Ssheldonhetc-examples: 16348185Ssheldonh (cd ${.CURDIR}; \ 16448185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \ 16548185Ssheldonh ${DESTDIR}/usr/share/examples/etc; \ 16648185Ssheldonh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/rc.conf \ 16752609Sdillon ${DESTDIR}/usr/share/examples/etc/defaults; \ 16852609Sdillon ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/make.conf \ 16958979Siwasaki ${DESTDIR}/usr/share/examples/etc/defaults; \ 17058979Siwasaki ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/pccard.conf \ 17148185Ssheldonh ${DESTDIR}/usr/share/examples/etc/defaults) 17248185Ssheldonh 17337Srgrimes.include <bsd.prog.mk> 174