Makefile (2468) | Makefile (2626) |
---|---|
1# | 1# |
2# $Id: Makefile,v 1.14 1994/08/26 20:44:12 paul Exp $ | 2# $Id: Makefile,v 1.15 1994/09/03 02:38:28 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 11# -DNOOBJDIR do not run ``${MAKE} obj'' 12# -DNOPROFILE do not build profiled libraries 13# -DNOSECURE do not go into secure subdir | 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 11# -DNOOBJDIR do not run ``${MAKE} obj'' 12# -DNOPROFILE do not build profiled libraries 13# -DNOSECURE do not go into secure subdir |
14# -DNOEBONES do not make eBones (kerberosIV) |
|
14# 15# XXX2 Mandatory, and Kerberos will not build sucessfully yet 16 17# Put initial settings here. 18NOKERBEROS= yes 19SUBDIR= 20 21.if exists(bin) --- 15 unchanged lines hidden (view full) --- 37SUBDIR+= include 38.endif 39.if exists(lib) 40SUBDIR+= lib 41.endif 42.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS) 43SUBDIR+= kerberosIV 44.endif | 15# 16# XXX2 Mandatory, and Kerberos will not build sucessfully yet 17 18# Put initial settings here. 19NOKERBEROS= yes 20SUBDIR= 21 22.if exists(bin) --- 15 unchanged lines hidden (view full) --- 38SUBDIR+= include 39.endif 40.if exists(lib) 41SUBDIR+= lib 42.endif 43.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS) 44SUBDIR+= kerberosIV 45.endif |
46.if exists(eBones) && !defined(NOCRYPT) && defined(NOKERBEROS) \ 47 && !defined(NOEBONES) 48SUBDIR+= eBones 49.endif |
|
45.if exists(libexec) 46SUBDIR+= libexec 47.endif 48.if exists(sbin) 49SUBDIR+= sbin 50.endif 51.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE) 52SUBDIR+= secure --- 102 unchanged lines hidden (view full) --- 155 rm -rf ${DESTDIR}/usr/include 156 mkdir ${DESTDIR}/usr/include 157 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include 158 chmod 755 ${DESTDIR}/usr/include 159.endif 160 cd ${.CURDIR}/include && ${MAKE} install 161#XXX cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall 162#XXX cd ${.CURDIR}/gnu/usr.bin/cc/libobjc && ${MAKE} beforeinstall | 50.if exists(libexec) 51SUBDIR+= libexec 52.endif 53.if exists(sbin) 54SUBDIR+= sbin 55.endif 56.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE) 57SUBDIR+= secure --- 102 unchanged lines hidden (view full) --- 160 rm -rf ${DESTDIR}/usr/include 161 mkdir ${DESTDIR}/usr/include 162 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include 163 chmod 755 ${DESTDIR}/usr/include 164.endif 165 cd ${.CURDIR}/include && ${MAKE} install 166#XXX cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall 167#XXX cd ${.CURDIR}/gnu/usr.bin/cc/libobjc && ${MAKE} beforeinstall |
163.if !defined(NOCRYPT) && !defined(NOKERBEROS) | 168.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS) |
164 cd ${.CURDIR}/kerberosIV/include && ${MAKE} install 165.endif 166 cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall 167 cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall 168 cd ${.CURDIR}/lib/libedit && ${MAKE} beforeinstall 169 cd ${.CURDIR}/lib/librpcsvc && ${MAKE} beforeinstall | 169 cd ${.CURDIR}/kerberosIV/include && ${MAKE} install 170.endif 171 cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall 172 cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall 173 cd ${.CURDIR}/lib/libedit && ${MAKE} beforeinstall 174 cd ${.CURDIR}/lib/librpcsvc && ${MAKE} beforeinstall |
175.if exists(eBones) && !defined(NOCRYPT) && defined(NOKERBEROS) && \ 176 !defined(NOEBONES) 177 cd ${.CURDIR}/eBones/include && ${MAKE} beforeinstall 178.endif |
|
170 171libraries: 172 @echo "--------------------------------------------------------------" 173 @echo " Rebuilding ${DESTDIR}/usr/lib" 174 @echo "--------------------------------------------------------------" 175 @echo 176.if defined(CLOBBER) 177 find ${DESTDIR}/usr/lib \! -name '*.s[ao].*' -a \! -type d | \ --- 8 unchanged lines hidden (view full) --- 186 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 187.endif 188.if exists(lib) 189 cd ${.CURDIR}/lib && \ 190 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 191.endif 192 cd ${.CURDIR}/usr.bin/lex/lib && \ 193 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} | 179 180libraries: 181 @echo "--------------------------------------------------------------" 182 @echo " Rebuilding ${DESTDIR}/usr/lib" 183 @echo "--------------------------------------------------------------" 184 @echo 185.if defined(CLOBBER) 186 find ${DESTDIR}/usr/lib \! -name '*.s[ao].*' -a \! -type d | \ --- 8 unchanged lines hidden (view full) --- 195 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 196.endif 197.if exists(lib) 198 cd ${.CURDIR}/lib && \ 199 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 200.endif 201 cd ${.CURDIR}/usr.bin/lex/lib && \ 202 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} |
194.if !defined(NOCRYPT) && !defined(NOKERBEROS) | 203.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS) |
195 cd ${.CURDIR}/kerberosIV/acl && \ 196 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 197 cd ${.CURDIR}/kerberosIV/des && \ 198 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 199 cd ${.CURDIR}/kerberosIV/kdb && \ 200 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 201 cd ${.CURDIR}/kerberosIV/krb && \ 202 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 203.endif | 204 cd ${.CURDIR}/kerberosIV/acl && \ 205 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 206 cd ${.CURDIR}/kerberosIV/des && \ 207 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 208 cd ${.CURDIR}/kerberosIV/kdb && \ 209 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 210 cd ${.CURDIR}/kerberosIV/krb && \ 211 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 212.endif |
213.if exists(eBones) && !defined(NOCRYPT) && defined(NOKERBEROS) && \ 214 !defined(NOEBONES) 215 cd ${.CURDIR}/eBones/des && \ 216 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 217 cd ${.CURDIR}/eBones/acl && \ 218 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 219 cd ${.CURDIR}/eBones/kdb && \ 220 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 221 cd ${.CURDIR}/eBones/krb && \ 222 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 223.endif |
|
204 205tools: 206 @echo "--------------------------------------------------------------" 207 @echo " Rebuilding ${DESTDIR} Compiler and Make" 208 @echo "--------------------------------------------------------------" 209 @echo 210 cd ${.CURDIR}/gnu/usr.bin/cc && \ 211 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 212 cd ${.CURDIR}/usr.bin/make && \ 213 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 214 215.include <bsd.subdir.mk> | 224 225tools: 226 @echo "--------------------------------------------------------------" 227 @echo " Rebuilding ${DESTDIR} Compiler and Make" 228 @echo "--------------------------------------------------------------" 229 @echo 230 cd ${.CURDIR}/gnu/usr.bin/cc && \ 231 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 232 cd ${.CURDIR}/usr.bin/make && \ 233 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 234 235.include <bsd.subdir.mk> |