summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-06-18 03:39:34 +0000
committerasami <asami@FreeBSD.org>1997-06-18 03:39:34 +0000
commitafb7547b1d249b68744bfbd3888d2af97dc45b72 (patch)
tree45b8162115574eb1612c5105b668d249c93ffeca /share/mk
parenta5a15a3d86b998f9f3deb147ad431fde8f2bb1c5 (diff)
downloadFreeBSD-src-afb7547b1d249b68744bfbd3888d2af97dc45b72.zip
FreeBSD-src-afb7547b1d249b68744bfbd3888d2af97dc45b72.tar.gz
Add `B' to list of flags to pass through from C*FLAGS when using mkdep
(bsd.dep.mk) and compiling assembly language sources (bsd.lib.mk). This doesn't change anything for our current source tree, but if you want to use the -B switch in C*FLAGS to specify the location of compiler subprograms, now you can do it. Reviewed by: bde (implicitly)
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.dep.mk8
-rw-r--r--share/mk/bsd.lib.mk14
2 files changed, 11 insertions, 11 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index 91d4ee2..c94ba10 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.dep.mk,v 1.11 1997/04/09 16:10:23 bde Exp $
+# $Id: bsd.dep.mk,v 1.12 1997/04/13 06:44:20 jkh Exp $
#
# The include file <bsd.dep.mk> handles Makefile dependencies.
#
@@ -44,16 +44,16 @@ __depend_cc= ${SRCS:M*.cc} ${SRCS:M*.C} ${SRCS:M*.cxx}
${DEPENDFILE}: ${SRCS}
rm -f ${DEPENDFILE}
.if defined(__depend_s) && !empty(__depend_s)
- ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} ${CFLAGS:M-[ID]*} ${AINC} \
+ ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} ${CFLAGS:M-[BID]*} ${AINC} \
${.ALLSRC:M*.[sS]}
.endif
.if defined(__depend_c) && !empty(__depend_c)
- ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} ${CFLAGS:M-[ID]*} \
+ ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} ${CFLAGS:M-[BID]*} \
${.ALLSRC:M*.c}
.endif
.if defined(__depend_cc) && !empty(__depend_cc)
${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \
- ${CXXFLAGS:M-nostd*} ${CXXFLAGS:M-[ID]*} \
+ ${CXXFLAGS:M-nostd*} ${CXXFLAGS:M-[BID]*} \
${.ALLSRC:M*.cc} ${.ALLSRC:M*.C} ${.ALLSRC:M*.cxx}
.endif
.if target(_EXTRADEPEND)
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index c386124..4917efd 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
-# $Id: bsd.lib.mk,v 1.56 1997/05/23 08:38:46 asami Exp $
+# $Id: bsd.lib.mk,v 1.57 1997/05/23 17:50:35 dfr Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@@ -70,30 +70,30 @@ STRIP?= -s
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.s.o:
- ${CC} -x assembler-with-cpp ${CFLAGS:M-[ID]*} ${AINC} -c \
+ ${CC} -x assembler-with-cpp ${CFLAGS:M-[BID]*} ${AINC} -c \
${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.s.po:
- ${CC} -x assembler-with-cpp -DPROF ${CFLAGS:M-[ID]*} ${AINC} -c \
+ ${CC} -x assembler-with-cpp -DPROF ${CFLAGS:M-[BID]*} ${AINC} -c \
${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -X -r ${.TARGET}
.s.so:
- ${CC} -x assembler-with-cpp -fpic -DPIC ${CFLAGS:M-[ID]*} ${AINC} -c \
+ ${CC} -x assembler-with-cpp -fpic -DPIC ${CFLAGS:M-[BID]*} ${AINC} -c \
${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.S.o:
- ${CC} ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
+ ${CC} ${CFLAGS:M-[BID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.S.po:
- ${CC} -DPROF ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
+ ${CC} -DPROF ${CFLAGS:M-[BID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -X -r ${.TARGET}
.S.so:
- ${CC} -fpic -DPIC ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
+ ${CC} -fpic -DPIC ${CFLAGS:M-[BID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.m.o:
OpenPOWER on IntegriCloud