# 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@
# 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) \
# 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).