Makefile revision 17639
11195Srgrimes# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 217639Swosch# $Id: Makefile,v 1.140 1996/08/14 14:41:56 jkh Exp $ 337Srgrimes 437Srgrimes# -rw-r--r-- 5147SrgrimesBINOWN= root 6147SrgrimesBINGRP= wheel 713997SjkhBIN1= aliases amd.map csh.cshrc csh.login csh.logout dm.conf \ 83017Srgrimes ftpusers gettytab group hosts host.conf hosts.equiv hosts.lpd \ 914104Sjoerg inetd.conf login.access motd modems netstart networks \ 1014662Sphk newsyslog.conf phones pccard.conf.sample printcap profile protocols \ 1115027Sphk rc rc.firewall rc.local rc.pccard rc.serial \ 1215027Sphk etc.${MACHINE}/rc.${MACHINE} \ 137487Srgrimes remote security services sysconfig shells \ 145356Sache syslog.conf ttys etc.${MACHINE}/disktab rpc make.conf \ 151734Sjkh ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \ 1617639Swosch ${.CURDIR}/../usr.bin/mail/misc/mail.rc \ 1717639Swosch ${.CURDIR}/../usr.bin/locate/locate/locate.rc 1837Srgrimes 1937Srgrimes# -rw-rw-rw- 2037SrgrimesBIN2= motd 2137Srgrimes 221773Sjkh# -rwxr-xr-x root.wheel, for the new cron root.wheel 2314662SphkBIN3= daily weekly monthly pccard_ether 24147Srgrimes 25491SrgrimesMTREE= BSD.local.dist BSD.root.dist BSD.usr.dist BSD.var.dist 267273SrgrimesNAMEDB= PROTO.localhost.rev named.boot named.root make-localhost 276177SamuraiPPPCNF= ppp.conf.filter.sample ppp.conf.iij ppp.conf.sample \ 286177Samurai ppp.linkup.sample ppp.secret.sample 2937Srgrimes 3017639Swosch 31263Srgrimes# Special top level files for FreeBSD 322779SrgrimesCOPYRIGHT= COPYRIGHT 338857SrgrimesFREEBSD= 34993SrgrimesFREEBSD+= ${COPYRIGHT} 35263Srgrimes 3617104Spst# Sendmail configuration file for release 3717104SpstSENDMAILCF?= freebsd.cf 3817104Spst 3911635Sache# Compatibility stuff, remove those links 406744SacheLATIN1LINKS = \ 416744Sache da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \ 426744Sache fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ 436744Sache pt_PT sv_SE 446744Sache 451767Sjkhall depend etc install lint: 4637Srgrimes 474487Sphkdistribute: 486717Sphk cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/bin 495948Sjkh 504487Sphkdistribution: 511759Sjkh (cd ${.CURDIR}; \ 529970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; \ 539970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc; \ 549970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN3} ${DESTDIR}/etc; \ 559970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 crontab ${DESTDIR}/etc; \ 569970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 571759Sjkh ${DESTDIR}/var/cron/log; \ 589970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ 591759Sjkh master.passwd ${DESTDIR}/etc; \ 6017639Swosch ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall );\ 6117639Swosch ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ 6217639Swosch ( cd ${.CURDIR}/../usr.bin/file; ${MAKE} etc-magic ); \ 6317639Swosch ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ 641759Sjkh pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ 659970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 661759Sjkh MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev ) 671759Sjkh (cd ${DESTDIR}/dev; sh MAKEDEV all) ; 681731Sjkh (cd ${.CURDIR}/root; \ 699970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ 7037Srgrimes ${DESTDIR}/root/.cshrc; \ 719970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \ 7237Srgrimes ${DESTDIR}/root/.klogin; \ 739970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \ 7437Srgrimes ${DESTDIR}/root/.login; \ 759970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \ 7637Srgrimes ${DESTDIR}/root/.profile; \ 7737Srgrimes rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 7837Srgrimes ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 7937Srgrimes ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 809970Sbde cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 811731Sjkh ${MTREE} ${DESTDIR}/etc/mtree 829970Sbde cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 831731Sjkh ${NAMEDB} ${DESTDIR}/etc/namedb 849970Sbde cd ${.CURDIR}/ppp; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 856177Samurai ${PPPCNF} ${DESTDIR}/etc/ppp 869970Sbde ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ 8737Srgrimes ${DESTDIR}/etc/dumpdates 889970Sbde ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ 89147Srgrimes ${DESTDIR}/var/db/locate.database 909970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 91147Srgrimes ${DESTDIR}/var/log/lpd-errs 929970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 9337Srgrimes ${DESTDIR}/var/log/maillog 949970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 95288Srgrimes ${DESTDIR}/var/log/lastlog 969970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 97147Srgrimes ${DESTDIR}/var/log/messages 9813378Sache ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 9913378Sache ${DESTDIR}/var/log/slip.log 10017104Spst ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 10117104Spst ${DESTDIR}/var/log/ppp.log 1029970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 103147Srgrimes ${DESTDIR}/var/log/wtmp 1049970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 10537Srgrimes ${DESTDIR}/var/run/utmp 1069970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \ 1071759Sjkh ${DESTDIR}/var/crash 1081759Sjkh (cd ${.CURDIR}/../usr.sbin/sendmail/src; \ 1094487Sphk ${MAKE} obj; \ 1104487Sphk ${MAKE} all; \ 111355Srgrimes ${MAKE} install; \ 112277Srgrimes cd ../cf/cf; \ 11316709Sjkh ${MAKE} objlink; \ 11417104Spst ${MAKE} ${SENDMAILCF}; \ 11517104Spst ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 obj/${SENDMAILCF} \ 1169970Sbde ${DESTDIR}/etc/sendmail.cf) 1171759Sjkh (cd ${.CURDIR}/..; \ 1189970Sbde ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \ 1199970Sbde ${DESTDIR}/) 1201759Sjkh (cd ${.CURDIR}/../share/man; ${MAKE} makedb; ) 12137Srgrimes 122147Srgrimesdistrib-dirs: 1233654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ 1243654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var 12511635Sache# Compatibility stuff, remove obsoleted links, if exists 12611849Sache if [ -d ${DESTDIR}/usr/share/locale ] ; \ 12711635Sache then \ 12811635Sache cd ${DESTDIR}/usr/share/locale; \ 12911635Sache for l in ${LATIN1LINKS} ; do \ 13011853Speter if [ -h $$l.ISO_8859-1 ]; then \ 13111853Speter rm $$l.ISO_8859-1; \ 13211853Speter fi ; \ 13311635Sache done; \ 13411635Sache fi 1353654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr 1367129Srgrimes mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 1377129Srgrimes -p ${DESTDIR}/usr/include 1383018Srgrimes.if defined(MAKE_LOCAL) 1393654Sphk mtree -deU -f ${.CURDIR}/mtree/BSD.local.dist -p ${DESTDIR}/usr/local 140372Srgrimes.endif 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 16011635Sache.if defined(MAKE_LOCAL) 16111635Sache cd ${DESTDIR}/usr/local/share/nls; \ 16211635Sache set - `cat ${.CURDIR}/locale.alias`; \ 16311635Sache while [ $$# -gt 0 ] ; \ 16411635Sache do \ 16511635Sache rm -rf "$$1"; \ 16611635Sache ln -s "$$2" "$$1"; \ 16711635Sache shift; shift; \ 16811635Sache done; \ 16911635Sache rm -rf POSIX; \ 17011635Sache ln -s C POSIX 17111635Sache.endif 172147Srgrimes 17337Srgrimes.include <bsd.prog.mk> 174