Makefile (2279) | Makefile (2302) |
---|---|
1# | 1# |
2# $Id: Makefile,v 1.11 1994/08/25 10:47:30 paul Exp $ | 2# $Id: Makefile,v 1.12 1994/08/25 14:45:46 paul Exp $ |
3# 4# Make command line options: 5# -DCLOBBER will remove /usr/include and MOST of /usr/lib 6# -DMAKE_LOCAL to add ./local to the SUBDIR list 7# -DMAKE_PORTS to add ./ports to the SUBDIR list 8# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir 9# -DNOCRYPT will prevent building of crypt versions 10# XXX2 -DNOKERBEROS do not build Kerberos --- 69 unchanged lines hidden (view full) --- 80OBJDIR= obj 81.endif 82.if defined(NOCLEANDIR) 83CLEANDIR= clean 84.else 85CLEANDIR= cleandir 86.endif 87 | 3# 4# Make command line options: 5# -DCLOBBER will remove /usr/include and MOST of /usr/lib 6# -DMAKE_LOCAL to add ./local to the SUBDIR list 7# -DMAKE_PORTS to add ./ports to the SUBDIR list 8# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir 9# -DNOCRYPT will prevent building of crypt versions 10# XXX2 -DNOKERBEROS do not build Kerberos --- 69 unchanged lines hidden (view full) --- 80OBJDIR= obj 81.endif 82.if defined(NOCLEANDIR) 83CLEANDIR= clean 84.else 85CLEANDIR= cleandir 86.endif 87 |
88world: directories cleandist mk includes libraries tools | 88world: directories update cleandist mk includes libraries tools |
89 @echo "--------------------------------------------------------------" 90 @echo " Rebuilding ${DESTDIR} The whole thing" 91 @echo "--------------------------------------------------------------" 92 @echo 93 ${MAKE} depend all install 94 cd ${.CURDIR}/share/man && ${MAKE} makedb 95 | 89 @echo "--------------------------------------------------------------" 90 @echo " Rebuilding ${DESTDIR} The whole thing" 91 @echo "--------------------------------------------------------------" 92 @echo 93 ${MAKE} depend all install 94 cd ${.CURDIR}/share/man && ${MAKE} makedb 95 |
96 |
|
96directories: 97 @echo "--------------------------------------------------------------" 98 @echo " Making directories" 99 @echo "--------------------------------------------------------------" 100 @echo " XXX Not yet ready in 2.0.0" | 97directories: 98 @echo "--------------------------------------------------------------" 99 @echo " Making directories" 100 @echo "--------------------------------------------------------------" 101 @echo " XXX Not yet ready in 2.0.0" |
101# XXX cd ${.CURDIR}/etc && ${MAKE} distrib-dirs | 102 cd ${.CURDIR}/etc && ${MAKE} distrib-dirs |
102 | 103 |
104update: 105.if defined(SUP_UPDATE) 106 @echo "--------------------------------------------------------------" 107 @echo "Running sup" 108 @echo "--------------------------------------------------------------" 109 @sup -v ${SUPFILE} 110.endif 111.if defined(CVS_UPDATE) 112 @echo "--------------------------------------------------------------" 113 @echo "Updating /usr/src from cvs repository" ${CVSROOT} 114 @echo "--------------------------------------------------------------" 115 cd ${.CURDIR} && cvs update -P -d 116.endif 117 |
|
103cleandist: 104.if !defined(NOCLEANDIR) 105 @echo "--------------------------------------------------------------" 106 @echo " Cleaning up the source tree, and rebuilding the obj tree" 107 @echo "--------------------------------------------------------------" 108 @echo 109 here=`pwd`; dest=/usr/obj`echo $$here | sed 's,^/usr/src,,'`; \ 110 if test -d /usr/obj -a ! -d $$dest; then \ --- 62 unchanged lines hidden (view full) --- 173 cd ${.CURDIR}/gnu/lib/libregex && \ 174 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 175 cd ${.CURDIR}/gnu/usr.bin/cc/libgcc && \ 176 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 177.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE) 178 cd ${.CURDIR}/secure/lib && \ 179 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 180.endif | 118cleandist: 119.if !defined(NOCLEANDIR) 120 @echo "--------------------------------------------------------------" 121 @echo " Cleaning up the source tree, and rebuilding the obj tree" 122 @echo "--------------------------------------------------------------" 123 @echo 124 here=`pwd`; dest=/usr/obj`echo $$here | sed 's,^/usr/src,,'`; \ 125 if test -d /usr/obj -a ! -d $$dest; then \ --- 62 unchanged lines hidden (view full) --- 188 cd ${.CURDIR}/gnu/lib/libregex && \ 189 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 190 cd ${.CURDIR}/gnu/usr.bin/cc/libgcc && \ 191 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 192.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE) 193 cd ${.CURDIR}/secure/lib && \ 194 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 195.endif |
181.if exists(sys) 182 cd ${.CURDIR}/sys/libkern && \ 183 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 184.endif | |
185.if exists(lib) 186 cd ${.CURDIR}/lib && \ 187 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 188.endif 189 # You need the lex lib before you can build kerberosIV 190#XXX # We don't have lex in the 2.0 tree yet! 191#XXX cd ${.CURDIR}/usr.bin/lex/lib && \ 192#XXX ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} --- 22 unchanged lines hidden --- | 196.if exists(lib) 197 cd ${.CURDIR}/lib && \ 198 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 199.endif 200 # You need the lex lib before you can build kerberosIV 201#XXX # We don't have lex in the 2.0 tree yet! 202#XXX cd ${.CURDIR}/usr.bin/lex/lib && \ 203#XXX ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} --- 22 unchanged lines hidden --- |