From a414f736a7622235c9b72343e0f85bcad9c01e6e Mon Sep 17 00:00:00 2001 From: wollman Date: Mon, 19 Sep 1994 21:37:50 +0000 Subject: 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. --- gnu/usr.bin/cc/Makefile.inc | 6 +++++- gnu/usr.bin/cc/cc_int/Makefile | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/cc') 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 -- cgit v1.1