-e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
$(srcdir)/c-parse.in > $(srcdir)/objc-parse.y
-objc-act.o : objc-act.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h \
- flags.h objc-act.h
+objc-act.o : objc-act.c $(CONFIG_H) $(TREE_H) $(RTL_H) c-tree.h c-lex.h \
+ flags.h objc-act.h input.h function.h $(srcdir)/c-parse.h
# A file used by all variants of C.
# Build the include directory except for float.h (which depends upon
# enquire).
-stmp-int-hdrs: stmp-fixinc $(USER_H) gvarargs.h gstdarg.h gstddef.h gsyslimits.h xlimits.h
+stmp-int-hdrs: stmp-fixinc $(USER_H) gvarargs.h gstdarg.h gstddef.h gsyslimits.h xlimits.h objc-headers
# Copy in the headers provided with gcc.
# The sed command gets just the last file name component;
# this is necessary because VPATH could add a dirname.
else true; \
fi
touch stmp-fixinc
+
+# copy objc header files
+objc-headers: force
+ thisdir1=`pwd`; \
+ srcdir1=`cd $(srcdir); pwd`; \
+ cd objc; \
+ $(MAKE) -f $${srcdir1}/objc/Makefile copy-headers \
+ srcdir=$${srcdir1} tooldir=$(tooldir) AR="$(AR)" AR_FLAGS="$(AR_FLAGS)" \
+ GCC_FOR_TARGET="$${thisdir1}/xgcc -B$${thisdir1}/" \
+ GCC_CFLAGS="$(GCC_CFLAGS)" incinstalldir=$${thisdir1}/include
+
\f
# Remake the info files.