projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed typoo in kerberos (kdc -> kdb). Added macro which points to CC-source.
[unix-history]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
043ebaa
..
58690d0
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
# @(#)Makefile 5.1.1.2 (Berkeley) 5/9/91
#
# @(#)Makefile 5.1.1.2 (Berkeley) 5/9/91
#
-# $Id: Makefile,v 1.
36 1994/01/30 10:36:30 rgrimes
Exp $
+# $Id: Makefile,v 1.
41 1994/02/26 19:32:43 wollman
Exp $
#
SUBDIR=
#
SUBDIR=
@@
-22,6
+22,13
@@
SUBDIR+= include
.if exists(lib)
SUBDIR+= lib
.endif
.if exists(lib)
SUBDIR+= lib
.endif
+
+# This contains both libraries and includes, which stuff below depends
+# upon.
+.if exists(kerberosIV) && !defined(NOCRYPT)
+SUBDIR+= kerberosIV
+.endif
+
.if exists(libexec)
SUBDIR+= libexec
.endif
.if exists(libexec)
SUBDIR+= libexec
.endif
@@
-60,13
+67,17
@@
CLEANDIR=
CLEANDIR= cleandir
.endif
CLEANDIR= cleandir
.endif
+# Where is the c-compier source. Change this, and gnu/usr.bin/Makefile if you
+# want to use another cc (gcc-2.5.8 for instance)
+CCDIR= ${.CURDIR}/gnu/usr.bin/cc
+#CCDIR= ${.CURDIR}/gnu/usr.bin/cc25
+
world: directories cleandist mk includes libraries tools mdec
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} The whole thing"
@echo "--------------------------------------------------------------"
@echo
make depend all install
world: directories cleandist mk includes libraries tools mdec
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} The whole thing"
@echo "--------------------------------------------------------------"
@echo
make depend all install
- cd ${.CURDIR}/usr.sbin/sendmail/src; make install
cd ${.CURDIR}/share/man; make makedb
directories:
cd ${.CURDIR}/share/man; make makedb
directories:
@@
-79,6
+90,11
@@
cleandist:
@echo "--------------------------------------------------------------"
@echo
here=`pwd`; dest=/usr/obj`echo $$here | sed 's,^/usr/src,,'`; \
@echo "--------------------------------------------------------------"
@echo
here=`pwd`; dest=/usr/obj`echo $$here | sed 's,^/usr/src,,'`; \
+ if test -d /usr/obj -a ! -d $$dest; then \
+ mkdir -p $$dest; \
+ else \
+ true; \
+ fi; \
cd $$dest; rm -rf ${SUBDIR}
find . -name obj | xargs -n30 rm -rf
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)
cd $$dest; rm -rf ${SUBDIR}
find . -name obj | xargs -n30 rm -rf
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)
@@
-117,10
+133,13
@@
includes:
chmod 755 ${DESTDIR}/usr/include
.endif
cd ${.CURDIR}/include; make install
chmod 755 ${DESTDIR}/usr/include
.endif
cd ${.CURDIR}/include; make install
- cd ${
.CURDIR}/gnu/usr.bin/cc/libobjc;
make beforeinstall
+ cd ${
CCDIR}/libobjc;
make beforeinstall
cd ${.CURDIR}/gnu/lib/libg++; make beforeinstall
cd ${.CURDIR}/lib/libcurses; make beforeinstall
cd ${.CURDIR}/lib/libc; make beforeinstall
cd ${.CURDIR}/gnu/lib/libg++; make beforeinstall
cd ${.CURDIR}/lib/libcurses; make beforeinstall
cd ${.CURDIR}/lib/libc; make beforeinstall
+.if !defined(NOCRYPT) && exists(${.CURDIR}/kerberosIV)
+ cd ${.CURDIR}/kerberosIV/include; make install
+.endif
# You MUST run this the first time you get the new sources to boot strap
# the shared library tools onto you system. This target should only
# You MUST run this the first time you get the new sources to boot strap
# the shared library tools onto you system. This target should only
@@
-138,8
+157,8
@@
bootstrapld: directories cleandist mk includes
cd ${.CURDIR}/usr.bin/strip; make -DNOPIC depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/usr.bin/ld; make -DNOPIC depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/usr.bin/as; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/usr.bin/strip; make -DNOPIC depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/usr.bin/ld; make -DNOPIC depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/usr.bin/as; make depend all install ${CLEANDIR} obj
- cd ${
.CURDIR}/gnu/usr.bin/cc;
make -DNOPIC depend all install ${CLEANDIR} obj
- cd ${
.CURDIR}/gnu/usr.bin/cc/libgcc;
make all install ${CLEANDIR} obj
+ cd ${
CCDIR};
make -DNOPIC depend all install ${CLEANDIR} obj
+ cd ${
CCDIR}/libgcc;
make all install ${CLEANDIR} obj
cd ${.CURDIR}/lib/csu.i386; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/lib/libc; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/usr.bin/ld/rtld; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/lib/csu.i386; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/lib/libc; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/usr.bin/ld/rtld; make depend all install ${CLEANDIR} obj
@@
-154,18
+173,23
@@
libraries:
find ${DESTDIR}/usr/lib \! -name '*.s[ao].*' -a \! -type d | xargs -n30 rm -rf
.endif
cd ${.CURDIR}/lib; make depend all install ${CLEANDIR} obj
find ${DESTDIR}/usr/lib \! -name '*.s[ao].*' -a \! -type d | xargs -n30 rm -rf
.endif
cd ${.CURDIR}/lib; make depend all install ${CLEANDIR} obj
- cd ${
.CURDIR}/gnu/usr.bin/cc/libgcc;
make depend all install ${CLEANDIR} obj
+ cd ${
CCDIR}/libgcc;
make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/lib/libg++; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/lib/libregex; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/lib/libmalloc; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/usr.bin/lex; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/lib/libg++; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/lib/libregex; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/gnu/lib/libmalloc; make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/usr.bin/lex; make depend all install ${CLEANDIR} obj
+.if exists(${.CURDIR}/kerberosIV) && !defined(NOCRYPT)
+ cd ${.CURDIR}/kerberosIV/des; make depend all install ${CLEANDIR} obj
+ cd ${.CURDIR}/kerberosIV/krb; make depend all install ${CLEANDIR} obj
+ cd ${.CURDIR}/kerberosIV/kdb; make depend all install ${CLEANDIR} obj
+.endif
tools:
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} Compiler and Make"
@echo "--------------------------------------------------------------"
@echo
tools:
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} Compiler and Make"
@echo "--------------------------------------------------------------"
@echo
- cd ${
.CURDIR}/gnu/usr.bin/cc;
make depend all install ${CLEANDIR} obj
+ cd ${
CCDIR};
make depend all install ${CLEANDIR} obj
cd ${.CURDIR}/usr.bin/make; make depend all install ${CLEANDIR} obj
mdec:
cd ${.CURDIR}/usr.bin/make; make depend all install ${CLEANDIR} obj
mdec: