Commit b077493b by Alexandre Oliva Committed by Alexandre Oliva

Make-lang.in: ($(INTL_TARGETS)): depend on cp/parse.c

* Make-lang.in: ($(INTL_TARGETS)): depend on cp/parse.c
($(srcdir)/cp/parse.c): moved from ../Makefile.in

From-SVN: r25852
parent a6374b58
1999-03-19 Alexandre Oliva <oliva@dcc.unicamp.br>
* Make-lang.in: ($(INTL_TARGETS)): depend on cp/parse.c
($(srcdir)/cp/parse.c): moved from ../Makefile.in
1999-03-17 Martin von Lwis <loewis@informatik.hu-berlin.de> 1999-03-17 Martin von Lwis <loewis@informatik.hu-berlin.de>
* parse.y (named_complex_class_head_sans_basetype): * parse.y (named_complex_class_head_sans_basetype):
......
...@@ -82,6 +82,14 @@ g++.c: $(srcdir)/gcc.c ...@@ -82,6 +82,14 @@ g++.c: $(srcdir)/gcc.c
g++spec.o: $(srcdir)/cp/g++spec.c g++spec.o: $(srcdir)/cp/g++spec.c
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/cp/g++spec.c $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/cp/g++spec.c
$(INTL_TARGETS): $(srcdir)/cp/parse.c
$(srcdir)/cp/parse.c: $(srcdir)/cp/parse.y
@cp_srcdir=`sed -n 's/^srcdir[ ]*=[ ]*//p' cp/Makefile` && \
echo "cd cp && $(MAKE) $$cp_srcdir/parse.c" && \
cd cp && \
$(MAKE) $(SUBDIR_FLAGS_TO_PASS) $(CXX_FLAGS_TO_PASS) \
$$cp_srcdir/parse.c
# N.B.: This is a copy of the gcc.o rule, with -DLANG_SPECIFIC_DRIVER added. # N.B.: This is a copy of the gcc.o rule, with -DLANG_SPECIFIC_DRIVER added.
# It'd be nice if we could find an easier way to do this---rather than have # It'd be nice if we could find an easier way to do this---rather than have
# to track changes to the toplevel gcc Makefile as well. # to track changes to the toplevel gcc Makefile as well.
......
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