summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-07-29 22:07:34 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-07-29 22:07:34 +0000
commit6cba4ca34d356b278b0c7c80145b0b608f9cb635 (patch)
tree08af615f60cecc0202ef4ffce96f2067e8a2fb8e /gcc/Makefile.in
parente14c212c2d020c02d8f82a9d05e9beb82d3a369b (diff)
downloadgcc-6cba4ca34d356b278b0c7c80145b0b608f9cb635.tar.gz
* Makefile.in (EXTRA_C_OBJS): New variable.
(INTERNAL_CFLAGS): Add @extra_c_flags@. C_OBJS, OBJC_OBS: Add $(EXTRA_C_OBJS). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14555 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 8d21fdcc12e..251d45bb928 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -304,6 +304,9 @@ EXTRA_OBJS = @extra_objs@
# the gcc driver.
EXTRA_GCC_OBJS =@host_extra_gcc_objs@
+# List of extra object files that should be compiled and linked with cc1.
+EXTRA_C_OBJS =@extra_c_objs@
+
# List of additional header files to install.
# Often this is edited directly by `configure'.
EXTRA_HEADERS =@extra_headers_list@
@@ -439,7 +442,7 @@ all.indirect: $(ALL)
# IN_GCC tells obstack.h that we are using gcc's <stddef.h> file.
# ??? IN_GCC should be obsolete now.
-INTERNAL_CFLAGS = $(CROSS) -DIN_GCC
+INTERNAL_CFLAGS = $(CROSS) -DIN_GCC @extra_c_flags@
# This is the variable actually used when we compile.
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS) \
@@ -535,7 +538,11 @@ FLAGS_TO_PASS = \
# Lists of files for various purposes.
# Language-specific object files for C.
-C_OBJS = c-parse.o c-lang.o c-lex.o c-pragma.o \
+C_OBJS = c-parse.o c-lang.o c-lex.o c-pragma.o $(EXTRA_C_OBJS) \
+ c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o
+
+# Language-specific object files for Objective C.
+OBJC_OBJS = objc-parse.o objc-act.o c-lex.o c-pragma.o $(EXTRA_C_OBJS) \
c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o
# Files specific to the C interpreter bytecode compiler(s).