Ignore:
Timestamp:
Apr 28, 2004, 6:58:06 AM (21 years ago)
Author:
bird
Message:

#1040: Joined the GCC 3.3.3 with the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libiberty/Makefile.in

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r1393 r1394  
    11#
    22# Makefile
    3 #   Copyright (C) 1990, 91-99, 2000, 2001, 2003
     3#   Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003
    44#   Free Software Foundation
    55#
     
    3636bindir = @bindir@
    3737libdir = @libdir@
     38includedir = @includedir@
     39target_header_dir = @target_header_dir@
    3840
    3941SHELL = @SHELL@
     
    5254mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
    5355
     56# Some compilers can't handle cc -c blah.c -o foo/blah.o.
     57OUTPUT_OPTION = @OUTPUT_OPTION@
     58
    5459AR = @AR@
    5560AR_FLAGS = rc
     
    7378# A configuration can specify extra .o files that should be included,
    7479# even if they are in libc. (Perhaps the libc version is buggy.)
    75 EXTRA_OFILES = 
     80EXTRA_OFILES =
    7681
    7782# Flags to pass to a recursive make.
     
    103108# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
    104109all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
    105 ifeq "$(BUILD_PLATFORM)" "OS2"
    106         $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
    107 else
    108110        @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
    109 endif
    110111
    111112.PHONY: check installcheck
     
    122123          $(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
    123124        else true; fi
    124         $(COMPILE.c) $<
     125        $(COMPILE.c) $< $(OUTPUT_OPTION)
    125126
    126127# NOTE: If you add new files to the library, add them to this list
     
    137138        index.c insque.c                                                \
    138139        lbasename.c                                                     \
     140        lrealpath.c make-relative-prefix.c                              \
    139141        make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c     \
    140142         memset.c mkstemps.c                                            \
    141143        objalloc.c obstack.c                                            \
    142         partition.c pexecute.c putenv.c                                 \
     144        partition.c pexecute.c physmem.c putenv.c                       \
    143145        random.c regex.c rename.c rindex.c                              \
    144146        safe-ctype.c setenv.c sigsetmask.c sort.c spaces.c              \
     
    161163        hashtab.o hex.o                                                 \
    162164        lbasename.o                                                     \
     165        lrealpath.o make-relative-prefix.o                              \
    163166        make-temp-file.o                                                \
    164167        objalloc.o obstack.o                                            \
    165         partition.o pexecute.o                                          \
     168        partition.o physmem.o pexecute.o                                \
    166169        safe-ctype.o sort.o spaces.o splay-tree.o strerror.o            \
    167170         strsignal.o                                                    \
     
    189192        waitpid.o
    190193
     194# These files are installed if the library has been configured to do so.
     195INSTALLED_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
    191210$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
    192211        -rm -f $(TARGETLIB) pic/$(TARGETLIB)
     
    245264
    246265install_to_libdir: all
    247         $(mkinstalldirs) $(DESTDIR)$(libdir)$(MULTISUBDIR)
     266        ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
    248267        $(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
    252280        @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
    253281
     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.
     286MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
    254287install_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)
    260292        @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
    261293
     
    412444lbasename.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
    413445        $(INCDIR)/safe-ctype.h
     446lrealpath.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
     447make-relative-prefix.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
    414448make-temp-file.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
    415449md5.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
     
    426460pexecute.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
    427461        $(INCDIR)/safe-ctype.h
     462physmem.o: config.h $(INCDIR)/libiberty.h
    428463putenv.o: config.h $(INCDIR)/ansidecl.h
    429464random.o: $(INCDIR)/ansidecl.h
Note: See TracChangeset for help on using the changeset viewer.