Makefile revision 119058
11195Srgrimes# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 250472Speter# $FreeBSD: head/etc/Makefile 119058 2003-08-18 00:36:31Z obrien $ 337Srgrimes 473251Sgshapiro.if !defined(NO_SENDMAIL) 538103SpeterSUBDIR= sendmail 673251Sgshapiro.endif 738103Speter 899451SruBIN1= amd.map apmd.conf auth.conf \ 9114780Sdougb crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf \ 10114780Sdougb dhclient.conf disktab fbtab ftpusers gettytab group \ 1165532Snectar hosts hosts.allow hosts.equiv hosts.lpd \ 1255230Speter inetd.conf login.access login.conf \ 13113674Smtm mac.conf motd netconfig network.subr networks newsyslog.conf \ 1489364Sdes phones printcap profile protocols \ 15114555Sdougb rc rc.firewall rc.firewall6 rc.sendmail rc.shutdown \ 16114492Sdougb rc.subr remote rpc services \ 1798187Sgordon shells sysctl.conf syslog.conf usbd.conf \ 1855230Speter etc.${MACHINE_ARCH}/ttys \ 191734Sjkh ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \ 2017639Swosch ${.CURDIR}/../usr.bin/mail/misc/mail.rc \ 2117639Swosch ${.CURDIR}/../usr.bin/locate/locate/locate.rc 2237Srgrimes 2398548Sru.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL) 2498548Sru.if !defined(NO_OPENSSH) 2557488SpeterSSH= ${.CURDIR}/../crypto/openssh/ssh_config \ 2674837Sgreen ${.CURDIR}/../crypto/openssh/sshd_config \ 2792898Sdes moduli 2857459Smarkm.endif 2960677SkrisSSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf 3060677Skris.endif 3160677Skris 3282521Salex# -rwxr-xr-x root:wheel, for the new cron root:wheel 33108002SgreenBIN2= netstart pccard_ether rc.suspend rc.resume 34147Srgrimes 3599449SruDEFAULTS= rc.conf pccard.conf periodic.conf 3699449Sru 3727487SasamiMTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \ 3865168Sasami BSD.var.dist BSD.x11.dist BSD.x11-4.dist 3995144Sgshapiro.if !defined(NO_SENDMAIL) 4095144SgshapiroMTREE+= BSD.sendmail.dist 4195144Sgshapiro.endif 4299451Sru 4399451SruNAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \ 4490281Sume make-localhost 4599451Sru 4699451SruPPPCNF= ppp.conf 4799451Sru 48117292Sgshapiro.if defined(NO_SENDMAIL) 49117292SgshapiroETCMAIL=mailer.conf aliases 50117292Sgshapiro.else 5164598SgshapiroETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \ 5264598Sgshapiro mailertable.sample aliases 53117292Sgshapiro.endif 5437Srgrimes 55263Srgrimes# Special top level files for FreeBSD 5699449SruFREEBSD=COPYRIGHT 57263Srgrimes 584487Sphkdistribute: 5995327Sobrien cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION} 60100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 6195509Sru ${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \ 6295509Sru ${DISTDIR}/${DISTRIBUTION}/boot/device.hints 635948Sjkh 644487Sphkdistribution: 6599449Sru cd ${.CURDIR}; \ 66100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 6799451Sru ${BIN1} ${DESTDIR}/etc; \ 68111810Sru cap_mkdb ${DESTDIR}/etc/login.conf; \ 69100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 \ 7099451Sru ${BIN2} ${DESTDIR}/etc; \ 71100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ 7299451Sru master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \ 7399451Sru pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd 74100872Sru cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 7599449Sru ${DEFAULTS} ${DESTDIR}/etc/defaults 7699449Sru cd ${.CURDIR}/periodic; ${MAKE} install 7799449Sru cd ${.CURDIR}/rc.d; ${MAKE} install 7899449Sru cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall 7999449Sru cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap 8099449Sru cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt 8199449Sru cd ${.CURDIR}/pam.d; ${MAKE} install 8277041Sru.if !defined(NO_I4B) 8399449Sru cd ${.CURDIR}/isdn; ${MAKE} install 8477041Sru.endif 8573251Sgshapiro.if !defined(NO_SENDMAIL) 8699449Sru cd ${.CURDIR}/sendmail; ${MAKE} distribution 8773251Sgshapiro.endif 8898548Sru.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL) 8998548Sru.if !defined(NO_OPENSSH) 90100872Sru cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 9199451Sru ${SSH} ${DESTDIR}/etc/ssh 9257488Speter.endif 93100872Sru cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 9499451Sru ${SSL} ${DESTDIR}/etc/ssl 9560677Skris.endif 9699449Sru cd ${.CURDIR}/root; \ 97100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 9899451Sru dot.cshrc ${DESTDIR}/root/.cshrc; \ 99100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 100114328Smarkm dot.k5login ${DESTDIR}/root/.k5login; \ 101100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 10299451Sru dot.login ${DESTDIR}/root/.login; \ 103100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 10499451Sru dot.profile ${DESTDIR}/root/.profile; \ 10599451Sru rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 10699451Sru ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 10799451Sru ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile 108100872Sru cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 1091731Sjkh ${MTREE} ${DESTDIR}/etc/mtree 110100872Sru cd ${.CURDIR}/namedb; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 1111731Sjkh ${NAMEDB} ${DESTDIR}/etc/namedb 112119058Sobrien cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ 1136177Samurai ${PPPCNF} ${DESTDIR}/etc/ppp 114100872Sru cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 11564598Sgshapiro ${ETCMAIL} ${DESTDIR}/etc/mail 11664629Sgshapiro @if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \ 11764629Sgshapiro ! -f ${DESTDIR}/etc/aliases ]; then \ 11864629Sgshapiro set -x; \ 11964629Sgshapiro ln -s mail/aliases ${DESTDIR}/etc/aliases; \ 12064629Sgshapiro fi 121100872Sru ${INSTALL} -o ${BINOWN} -g operator -m 664 /dev/null \ 12237Srgrimes ${DESTDIR}/etc/dumpdates 123100872Sru ${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \ 124147Srgrimes ${DESTDIR}/var/db/locate.database 125100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 12692100Srwatson ${DESTDIR}/var/log/auth.log 127100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 12899449Sru ${DESTDIR}/var/log/cron 129103720Smarkm ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 130113259Sdes ${DESTDIR}/var/log/debug.log 131113259Sdes ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 132103738Smarkm ${DESTDIR}/var/log/xferlog 133100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 134147Srgrimes ${DESTDIR}/var/log/lpd-errs 135100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ 13637Srgrimes ${DESTDIR}/var/log/maillog 137100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 138288Srgrimes ${DESTDIR}/var/log/lastlog 139100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 140147Srgrimes ${DESTDIR}/var/log/messages 141100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 14250126Sgreen ${DESTDIR}/var/log/security 143100872Sru ${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \ 14413378Sache ${DESTDIR}/var/log/slip.log 145100872Sru ${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \ 14617104Spst ${DESTDIR}/var/log/ppp.log 147100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 148147Srgrimes ${DESTDIR}/var/log/wtmp 149100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 15037Srgrimes ${DESTDIR}/var/run/utmp 151100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \ 1521759Sjkh ${DESTDIR}/var/crash 153100872Sru cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 15499451Sru ${FREEBSD} ${DESTDIR}/ 15561888Sasmodai.if !defined(NOMAN) 15699449Sru cd ${.CURDIR}/../share/man; ${MAKE} makedb 15761888Sasmodai.endif 15837Srgrimes 159147Srgrimesdistrib-dirs: 16065884Sache mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ 16165884Sache mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var 16265884Sache mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr 16365884Sache mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \ 1647129Srgrimes -p ${DESTDIR}/usr/include 16595144Sgshapiro.if !defined(NO_SENDMAIL) 16695144Sgshapiro mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/ 16795144Sgshapiro.endif 168410Srgrimes cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys 16977993Sache cd ${DESTDIR}/usr/share/man/en.ISO8859-1; ln -sf ../man* . 17077993Sache cd ${DESTDIR}/usr/share/man; \ 17177993Sache set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \ 17277993Sache while [ $$# -gt 0 ] ; \ 17377993Sache do \ 17477993Sache rm -rf "$$1"; \ 17577993Sache ln -s "$$2" "$$1"; \ 17677993Sache shift; shift; \ 17777993Sache done 178110663Sache cd ${DESTDIR}/usr/share/openssl/man; \ 179110663Sache set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \ 180110663Sache while [ $$# -gt 0 ] ; \ 181110663Sache do \ 182110663Sache rm -rf "$$1"; \ 183110663Sache ln -s "$$2" "$$1"; \ 184110663Sache shift; shift; \ 185110663Sache done 186110655Snectar cd ${DESTDIR}/usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . 18711635Sache cd ${DESTDIR}/usr/share/nls; \ 18877999Sache set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \ 18911635Sache while [ $$# -gt 0 ] ; \ 19011635Sache do \ 19111635Sache rm -rf "$$1"; \ 19211635Sache ln -s "$$2" "$$1"; \ 19311635Sache shift; shift; \ 19477999Sache done 195147Srgrimes 19648185Ssheldonhetc-examples: 197100872Sru cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 19899451Sru ${BIN1} ${BIN2} nsmb.conf opieaccess \ 19999451Sru ${DESTDIR}/usr/share/examples/etc 200100872Sru cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 20199451Sru ${DEFAULTS} ${DESTDIR}/usr/share/examples/etc/defaults 20248185Ssheldonh 20337Srgrimes.include <bsd.prog.mk> 204