summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-19 21:37:50 +0000
committerwollman <wollman@FreeBSD.org>1994-09-19 21:37:50 +0000
commita414f736a7622235c9b72343e0f85bcad9c01e6e (patch)
tree3799063fef8fffdec878d78827440a311f59f37e /gnu/usr.bin/cc
parentad23f0f95abf0bbbb10dc202ca65cb0988d50d6a (diff)
downloadFreeBSD-src-a414f736a7622235c9b72343e0f85bcad9c01e6e.zip
FreeBSD-src-a414f736a7622235c9b72343e0f85bcad9c01e6e.tar.gz
For Bruce: -DNO_SHARED_LIBCC_INT reverts back to static libcc_int.
This makes the back end run faster, but at the cost of speed.
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/Makefile.inc6
-rw-r--r--gnu/usr.bin/cc/cc_int/Makefile8
2 files changed, 12 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index f18c278..d7badd3 100644
--- a/gnu/usr.bin/cc/Makefile.inc
+++ b/gnu/usr.bin/cc/Makefile.inc
@@ -1,5 +1,5 @@
#
-# $Id$
+# $Id: Makefile.inc,v 1.4 1994/09/18 22:35:36 wollman Exp $
#
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../include
@@ -19,4 +19,8 @@ LIBDESTDIR= ${.CURDIR}/../cc_int
# XXX LDDESTDIR isn't a directory and there is no standard name for the dir
LDDESTDIR= -L${LIBDESTDIR}
+.if !defined(NO_SHARED_LIBCC_INT)
LIBCC_INT= ${LIBDESTDIR}/libcc_int.so.26.0
+.else
+LIBCC_INT= ${LIBDESTDIR}/libcc_int.a
+.endif
diff --git a/gnu/usr.bin/cc/cc_int/Makefile b/gnu/usr.bin/cc/cc_int/Makefile
index aae7fb5..2db3bfe 100644
--- a/gnu/usr.bin/cc/cc_int/Makefile
+++ b/gnu/usr.bin/cc/cc_int/Makefile
@@ -1,11 +1,17 @@
#
-# $Id$
+# $Id: Makefile,v 1.2 1994/09/18 22:35:53 wollman Exp $
#
SRCS = aux-output.c bc-emit.c bc-optab.c c-common.c caller-save.c calls.c combine.c convert.c cse.c dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c final.c flow.c fold-const.c function.c getpwd.c global.c insn-attrtab.c insn-emit.c insn-extract.c insn-opinit.c insn-output.c insn-peep.c insn-recog.c integrate.c jump.c local-alloc.c loop.c obstack.c optabs.c print-rtl.c print-tree.c real.c recog.c reg-stack.c regclass.c reload.c reload1.c reorg.c rtl.c rtlanal.c sched.c sdbout.c stmt.c stor-layout.c stupid.c toplev.c tree.c unroll.c varasm.c version.c xcoffout.c
LIB = cc_int
+.if !defined(NO_SHARED_LIBCC_INT)
INTERNALLIB=
SHLIB_MAJOR=26
SHLIB_MINOR=0
+.else
+
+install:
+ @true
+.endif
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud