Changeset 1394 for trunk/src/gcc/libiberty/Makefile.in
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libiberty/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1393 r1394 1 1 # 2 2 # Makefile 3 # Copyright (C) 1990, 91-99, 2000, 2001, 200 33 # Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003 4 4 # Free Software Foundation 5 5 # … … 36 36 bindir = @bindir@ 37 37 libdir = @libdir@ 38 includedir = @includedir@ 39 target_header_dir = @target_header_dir@ 38 40 39 41 SHELL = @SHELL@ … … 52 54 mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs 53 55 56 # Some compilers can't handle cc -c blah.c -o foo/blah.o. 57 OUTPUT_OPTION = @OUTPUT_OPTION@ 58 54 59 AR = @AR@ 55 60 AR_FLAGS = rc … … 73 78 # A configuration can specify extra .o files that should be included, 74 79 # even if they are in libc. (Perhaps the libc version is buggy.) 75 EXTRA_OFILES = 80 EXTRA_OFILES = 76 81 77 82 # Flags to pass to a recursive make. … … 103 108 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. 104 109 all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir 105 ifeq "$(BUILD_PLATFORM)" "OS2"106 $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all107 else108 110 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all 109 endif110 111 111 112 .PHONY: check installcheck … … 122 123 $(COMPILE.c) $(PICFLAG) $< -o pic/$@; \ 123 124 else true; fi 124 $(COMPILE.c) $< 125 $(COMPILE.c) $< $(OUTPUT_OPTION) 125 126 126 127 # NOTE: If you add new files to the library, add them to this list … … 137 138 index.c insque.c \ 138 139 lbasename.c \ 140 lrealpath.c make-relative-prefix.c \ 139 141 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \ 140 142 memset.c mkstemps.c \ 141 143 objalloc.c obstack.c \ 142 partition.c pexecute.c p utenv.c\144 partition.c pexecute.c physmem.c putenv.c \ 143 145 random.c regex.c rename.c rindex.c \ 144 146 safe-ctype.c setenv.c sigsetmask.c sort.c spaces.c \ … … 161 163 hashtab.o hex.o \ 162 164 lbasename.o \ 165 lrealpath.o make-relative-prefix.o \ 163 166 make-temp-file.o \ 164 167 objalloc.o obstack.o \ 165 partition.o p execute.o\168 partition.o physmem.o pexecute.o \ 166 169 safe-ctype.o sort.o spaces.o splay-tree.o strerror.o \ 167 170 strsignal.o \ … … 189 192 waitpid.o 190 193 194 # These files are installed if the library has been configured to do so. 195 INSTALLED_HEADERS = \ 196 $(INCDIR)/ansidecl.h \ 197 $(INCDIR)/demangle.h \ 198 $(INCDIR)/dyn-string.h \ 199 $(INCDIR)/fibheap.h \ 200 $(INCDIR)/floatformat.h \ 201 $(INCDIR)/hashtab.h \ 202 $(INCDIR)/libiberty.h \ 203 $(INCDIR)/objalloc.h \ 204 $(INCDIR)/partition.h \ 205 $(INCDIR)/safe-ctype.h \ 206 $(INCDIR)/sort.h \ 207 $(INCDIR)/splay-tree.h \ 208 $(INCDIR)/ternary.h 209 191 210 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) 192 211 -rm -f $(TARGETLIB) pic/$(TARGETLIB) … … 245 264 246 265 install_to_libdir: all 247 $ (mkinstalldirs)$(DESTDIR)$(libdir)$(MULTISUBDIR)266 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR) 248 267 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n 249 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) && \ 250 $(RANLIB) $(TARGETLIB)n && \ 251 mv -f $(TARGETLIB)n $(TARGETLIB) ) 268 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) 269 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB) 270 if test -n "${target_header_dir}"; then \ 271 case "${target_header_dir}" in \ 272 /*) thd=${target_header_dir};; \ 273 *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \ 274 esac; \ 275 ${mkinstalldirs} $(DESTDIR)$${thd}; \ 276 for h in ${INSTALLED_HEADERS}; do \ 277 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ 278 done; \ 279 fi 252 280 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install 253 281 282 # This is tricky. Even though CC in the Makefile contains 283 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the 284 # default multilib, so we have to take LIBCFLAGS into account as well, 285 # since it will be passed the multilib flags. 286 MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory` 254 287 install_to_tooldir: all 255 $(mkinstalldirs) $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory` 256 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory`/$(TARGETLIB)n 257 ( cd $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory` && \ 258 $(RANLIB) $(TARGETLIB)n && \ 259 mv -f $(TARGETLIB)n $(TARGETLIB) ) 288 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) 289 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n 290 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n ) 291 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) 260 292 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install 261 293 … … 412 444 lbasename.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 413 445 $(INCDIR)/safe-ctype.h 446 lrealpath.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 447 make-relative-prefix.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 414 448 make-temp-file.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 415 449 md5.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h … … 426 460 pexecute.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 427 461 $(INCDIR)/safe-ctype.h 462 physmem.o: config.h $(INCDIR)/libiberty.h 428 463 putenv.o: config.h $(INCDIR)/ansidecl.h 429 464 random.o: $(INCDIR)/ansidecl.h -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.