OSDN Git Service

* Makefile.in (cpplib.o): Use unlibsubdir.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 1998 16:17:12 +0000 (16:17 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 1998 16:17:12 +0000 (16:17 +0000)
Somehow lost during unlibsubdir changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22925 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 73e72b1..30e39a4 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 9f24109..c463730 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