Makefile.in (cpplib.o): Use unlibsubdir.
authorJeffrey A Law <law@cygnus.com>
Thu, 8 Oct 1998 16:17:12 +0000 (16:17 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 8 Oct 1998 16:17:12 +0000 (10:17 -0600)
        * Makefile.in (cpplib.o): Use unlibsubdir.
Somehow lost during unlibsubdir changes.

From-SVN: r22925

gcc/ChangeLog
gcc/Makefile.in

index 73e72b1bb820fa3cc39bc73e000af6e95f93b62b..30e39a44b4f356367eff7dee8ce263d1d5074032 100644 (file)
@@ -1,3 +1,7 @@
+Thu Oct  8 17:15:04 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (cpplib.o): Use unlibsubdir.
+
 Thu Oct  8 12:50:47 1998  Jim Wilson  <wilson@cygnus.com>
 
        * loop.c (get_condition): Allow combine when either compare is
index 9f24109d1df517a07d152eb42a8c25544e36613b..c463730a114a67abcfe3f8ed94f8a7758564912f 100644 (file)
@@ -1881,11 +1881,11 @@ cppmain.o: cppmain.c $(CONFIG_H) cpplib.h system.h gansidecl.h
 cpplib.o: cpplib.c $(CONFIG_H) cpplib.h cpphash.h config.status system.h \
        gansidecl.h
        $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-         -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
-         -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \
-         -DLOCAL_INCLUDE_DIR=\"$(includedir)\" \
-         -DCROSS_INCLUDE_DIR=\"$(tooldir)/sys-include\" \
-         -DTOOL_INCLUDE_DIR=\"$(tooldir)/include\" \
+       -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
+       -DGPLUSPLUS_INCLUDE_DIR=\"$(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/include/g++\" \
+       -DLOCAL_INCLUDE_DIR=\"$(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/include\" \
+       -DCROSS_INCLUDE_DIR=\"$(libsubdir)/$(unlibsubdir)/../$(target_alias)/sys-include\" \
+       -DTOOL_INCLUDE_DIR=\"$(libsubdir)/$(unlibsubdir)/../$(target_alias)/include\" \
          -c `echo $(srcdir)/cpplib.c | sed 's,^\./,,'`
 
 cpperror.o: cpperror.c $(CONFIG_H) cpplib.h system.h gansidecl.h