summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-03-14 20:41:14 +0000
committermarkm <markm@FreeBSD.org>1999-03-14 20:41:14 +0000
commitc97ae836f70b5ea78ea6d5d7bc729eb7dd45cefc (patch)
tree23d14e83723c6f96bef0899ca040e3d2f449a0b6 /share
parent8ad9ed65a440b2291c6aceba70358fadf357c51b (diff)
downloadFreeBSD-src-c97ae836f70b5ea78ea6d5d7bc729eb7dd45cefc.zip
FreeBSD-src-c97ae836f70b5ea78ea6d5d7bc729eb7dd45cefc.tar.gz
Bitrot. Remove objlink as it is not pleasant to be downwind.
PR: 8071 Reviewed by: Sheldon Hearn <sheldonh@iafrica.com>
Diffstat (limited to 'share')
-rw-r--r--share/examples/etc/make.conf6
-rw-r--r--share/mk/bsd.obj.mk32
-rw-r--r--share/mk/bsd.subdir.mk6
3 files changed, 6 insertions, 38 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 056ed190..2f1bff8 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -1,4 +1,4 @@
-# $Id: make.conf,v 1.74 1999/02/03 22:25:41 asami Exp $
+# $Id: make.conf,v 1.75 1999/03/14 19:05:16 billf Exp $
#
# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
# It allows you to override macro definitions to make without changing
@@ -28,10 +28,6 @@
# To avoid building sendmail
#NO_SENDMAIL= true
#
-# To have 'obj' symlinks created in your source directory
-# (they aren't needed/necessary)
-#OBJLINK= yes
-#
# To compile just the kernel with special optimisations, you should use
# this instead of CFLAGS (which is not applicable to kernel builds anyway):
#
diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk
index c6ce525..fe31e48 100644
--- a/share/mk/bsd.obj.mk
+++ b/share/mk/bsd.obj.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.obj.mk,v 1.25 1998/06/04 15:31:55 peter Exp $
+# $Id: bsd.obj.mk,v 1.26 1998/08/30 20:33:27 jb Exp $
#
# The include file <bsd.obj.mk> handles creating the 'obj' directory
# and cleaning up object files, etc.
@@ -31,10 +31,6 @@
# NOOBJ Do not create object directories. This should not be set
# if anything is built.
#
-# OBJLINK Create a symbolic link from ${.CURDIR}/obj to
-# ${CANONICALOBJDIR}. Note: this BREAKS the read-only source
-# tree rule!
-#
# +++ targets +++
#
# clean:
@@ -60,7 +56,7 @@ objwarn:
.if !defined(NOOBJ) && ${.OBJDIR} != ${CANONICALOBJDIR}
.if ${.OBJDIR} == ${.CURDIR}
@${ECHO} "Warning: Object directory not changed from original ${.CURDIR}"
-.elif !defined(MAKEOBJDIR) && !defined(MAKEOBJDIRPREFIX) && !defined(OBJLINK)
+.elif !defined(MAKEOBJDIR) && !defined(MAKEOBJDIRPREFIX)
@${ECHO} "Warning: Using ${.OBJDIR} as object directory instead of\
canonical ${CANONICALOBJDIR}"
.endif
@@ -70,7 +66,6 @@ objwarn:
.if defined(NOOBJ)
obj:
.else
-.if !defined(OBJLINK)
obj: _SUBDIR
@if ! test -d ${CANONICALOBJDIR}/; then \
mkdir -p ${CANONICALOBJDIR}; \
@@ -80,30 +75,7 @@ obj: _SUBDIR
fi; \
${ECHO} "${CANONICALOBJDIR} created for ${.CURDIR}"; \
fi
-.else
-obj: _SUBDIR
- @if ! test -d ${CANONICALOBJDIR}/; then \
- mkdir -p ${CANONICALOBJDIR}; \
- if ! test -d ${CANONICALOBJDIR}/; then \
- ${ECHO} "Unable to create ${CANONICALOBJDIR}."; \
- exit 1; \
- fi; \
- rm -f ${.CURDIR}/obj; \
- ln -s ${CANONICALOBJDIR} ${.CURDIR}/obj; \
- ${ECHO} "${.CURDIR} -> ${CANONICALOBJDIR}"; \
- fi
-.endif
-.endif
.endif
-
-.if !target(objlink)
-objlink: _SUBDIR
- @if test -d ${CANONICALOBJDIR}/; then \
- rm -f ${.CURDIR}/obj; \
- ln -s ${CANONICALOBJDIR} ${.CURDIR}/obj; \
- else \
- echo "No ${CANONICALOBJDIR} to link to - do a make obj."; \
- fi
.endif
#
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index 5a5cc1a..0fe628b 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id: bsd.subdir.mk,v 1.24 1998/05/06 16:53:53 wosch Exp $
+# $Id: bsd.subdir.mk,v 1.25 1998/08/08 07:02:08 peter Exp $
#
# The include file <bsd.subdir.mk> contains the default targets
# for building subdirectories.
@@ -33,7 +33,7 @@
#
# afterdistribute, afterinstall, all, beforeinstall, checkdpadd,
# clean, cleandepend, cleandir, depend, install, lint, maninstall,
-# obj, objlink, realinstall, regress, tags
+# obj, realinstall, regress, tags
#
.if !target(__initialized__)
@@ -88,7 +88,7 @@ ${SUBDIR}::
.for __target in all checkdpadd clean cleandepend cleandir depend lint \
- maninstall obj objlink regress tags
+ maninstall obj regress tags
.if !target(${__target})
${__target}: _SUBDIRUSE
.endif
OpenPOWER on IntegriCloud