Makefile (2079) | Makefile (2160) |
---|---|
1# | 1# |
2# $Id: Makefile,v 1.8 1994/08/14 16:53:33 jkh Exp $ | 2# $Id: Makefile,v 1.9 1994/08/16 02:55:14 jkh 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 | 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# XXX1 -DNOCRYPT will prevent building of crypt versions (BROKEN RIGHT NOW) | 9# -DNOCRYPT will prevent building of crypt versions 10# XXX2 -DNOKERBEROS do not build Kerberos |
10# -DNOOBJDIR do not run ``${MAKE} obj'' 11# -DNOPROFILE do not build profiled libraries | 11# -DNOOBJDIR do not run ``${MAKE} obj'' 12# -DNOPROFILE do not build profiled libraries |
13# -DNOSECURE do not go into secure subdir |
|
12# | 14# |
13# XXX1 This has not yet been implemented in FreeBSD 2.0.0, the only way 14# to build the system is with full crypt and KerberosIV 15# | 15# XXX2 Mandatory, and Kerberos will not build sucessfully yet |
16 17# Put initial settings here. | 16 17# Put initial settings here. |
18NOCRYPT= yes | 18NOKERBEROS= yes |
19SUBDIR= 20 21.if exists(bin) 22SUBDIR+= bin 23.endif 24.if exists(contrib) 25SUBDIR+= contrib 26.endif --- 7 unchanged lines hidden (view full) --- 34SUBDIR+= gnu 35.endif 36.if exists(include) 37SUBDIR+= include 38.endif 39.if exists(lib) 40SUBDIR+= lib 41.endif | 19SUBDIR= 20 21.if exists(bin) 22SUBDIR+= bin 23.endif 24.if exists(contrib) 25SUBDIR+= contrib 26.endif --- 7 unchanged lines hidden (view full) --- 34SUBDIR+= gnu 35.endif 36.if exists(include) 37SUBDIR+= include 38.endif 39.if exists(lib) 40SUBDIR+= lib 41.endif |
42.if exists(kerberosIV) && !defined(NOCRYPT) | 42.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS) |
43SUBDIR+= kerberosIV 44.endif 45.if exists(libexec) 46SUBDIR+= libexec 47.endif 48.if exists(sbin) 49SUBDIR+= sbin 50.endif | 43SUBDIR+= kerberosIV 44.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 53.endif |
|
51.if exists(share) 52SUBDIR+= share 53.endif 54.if exists(sys) 55SUBDIR+= sys 56.endif 57.if exists(usr.bin) 58SUBDIR+= usr.bin --- 79 unchanged lines hidden (view full) --- 138 rm -rf ${DESTDIR}/usr/include 139 mkdir ${DESTDIR}/usr/include 140 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include 141 chmod 755 ${DESTDIR}/usr/include 142.endif 143 cd ${.CURDIR}/include && ${MAKE} install 144#XXX cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall 145#XXX cd ${.CURDIR}/gnu/usr.bin/cc26/libobjc && ${MAKE} beforeinstall | 54.if exists(share) 55SUBDIR+= share 56.endif 57.if exists(sys) 58SUBDIR+= sys 59.endif 60.if exists(usr.bin) 61SUBDIR+= usr.bin --- 79 unchanged lines hidden (view full) --- 141 rm -rf ${DESTDIR}/usr/include 142 mkdir ${DESTDIR}/usr/include 143 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include 144 chmod 755 ${DESTDIR}/usr/include 145.endif 146 cd ${.CURDIR}/include && ${MAKE} install 147#XXX cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall 148#XXX cd ${.CURDIR}/gnu/usr.bin/cc26/libobjc && ${MAKE} beforeinstall |
146.if !defined(NOCRYPT) | 149.if !defined(NOCRYPT) && !defined(NOKERBEROS) |
147 cd ${.CURDIR}/kerberosIV/include && ${MAKE} install 148.endif 149 cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall 150 cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall 151 cd ${.CURDIR}/lib/libedit && ${MAKE} beforeinstall 152 cd ${.CURDIR}/lib/librpcsvc && ${MAKE} beforeinstall 153 154libraries: --- 11 unchanged lines hidden (view full) --- 166 cd ${.CURDIR}/gnu/lib/libmalloc && \ 167 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 168 cd ${.CURDIR}/gnu/lib/libreadline && \ 169 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 170 cd ${.CURDIR}/gnu/lib/libregex && \ 171 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 172 cd ${.CURDIR}/gnu/usr.bin/cc26/libgcc && \ 173 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} | 150 cd ${.CURDIR}/kerberosIV/include && ${MAKE} install 151.endif 152 cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall 153 cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall 154 cd ${.CURDIR}/lib/libedit && ${MAKE} beforeinstall 155 cd ${.CURDIR}/lib/librpcsvc && ${MAKE} beforeinstall 156 157libraries: --- 11 unchanged lines hidden (view full) --- 169 cd ${.CURDIR}/gnu/lib/libmalloc && \ 170 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 171 cd ${.CURDIR}/gnu/lib/libreadline && \ 172 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 173 cd ${.CURDIR}/gnu/lib/libregex && \ 174 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 175 cd ${.CURDIR}/gnu/usr.bin/cc26/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 |
|
174 cd ${.CURDIR}/lib && \ 175 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 176 # You need the lex lib before you can build kerberosIV 177#XXX # We don't have lex in the 2.0 tree yet! 178#XXX cd ${.CURDIR}/usr.bin/lex/lib && \ 179#XXX ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} | 181 cd ${.CURDIR}/lib && \ 182 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 183 # You need the lex lib before you can build kerberosIV 184#XXX # We don't have lex in the 2.0 tree yet! 185#XXX cd ${.CURDIR}/usr.bin/lex/lib && \ 186#XXX ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} |
180.if !defined(NOCRYPT) | 187.if !defined(NOCRYPT) && !defined(NOKERBEROS) |
181 cd ${.CURDIR}/kerberosIV/acl && \ 182 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 183 cd ${.CURDIR}/kerberosIV/des && \ 184 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 185 cd ${.CURDIR}/kerberosIV/kdb && \ 186 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 187 cd ${.CURDIR}/kerberosIV/krb && \ 188 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} --- 30 unchanged lines hidden --- | 188 cd ${.CURDIR}/kerberosIV/acl && \ 189 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 190 cd ${.CURDIR}/kerberosIV/des && \ 191 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 192 cd ${.CURDIR}/kerberosIV/kdb && \ 193 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} 194 cd ${.CURDIR}/kerberosIV/krb && \ 195 ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} --- 30 unchanged lines hidden --- |