Commit e8066a5d by Per Bothner

Makefile.in (EXTRA_C_OBJS): New variable.

* Makefile.in (EXTRA_C_OBJS):  New variable.
(INTERNAL_CFLAGS):  Add @extra_c_flags@.
C_OBJS, OBJC_OBS:  Add $(EXTRA_C_OBJS).

From-SVN: r14555
parent 0280cf84
......@@ -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).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment