intl/icu/source/config/mh-alpha-linux-gcc

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 ## -*-makefile-*-
michael@0 2 ## Linux-specific setup
michael@0 3 ## Copyright (c) 1999-2009, International Business Machines Corporation and
michael@0 4 ## others. All Rights Reserved.
michael@0 5
michael@0 6 ## Commands to generate dependency files
michael@0 7 GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
michael@0 8 GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
michael@0 9
michael@0 10 ## Flags for position independent code
michael@0 11 SHAREDLIBCFLAGS = -fPIC
michael@0 12 SHAREDLIBCXXFLAGS = -fPIC
michael@0 13 SHAREDLIBCPPFLAGS = -DPIC
michael@0 14
michael@0 15 ## Additional flags when building libraries and with threads
michael@0 16 THREADSCPPFLAGS = -D_REENTRANT
michael@0 17 LIBCPPFLAGS =
michael@0 18
michael@0 19 # The tests need complete IEEE floating point support
michael@0 20 CFLAGS += -mieee
michael@0 21 CXXFLAGS += -mieee
michael@0 22
michael@0 23 ## Compiler switch to embed a runtime search path
michael@0 24 LD_RPATH=
michael@0 25 LD_RPATH_PRE= -Wl,-rpath,
michael@0 26
michael@0 27 ## Compiler switch to embed a library name
michael@0 28 LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET))
michael@0 29
michael@0 30
michael@0 31 ## Shared library options
michael@0 32 LD_SOOPTIONS= -Wl,-Bsymbolic
michael@0 33
michael@0 34 ## Shared object suffix
michael@0 35 SO = so
michael@0 36 ## Non-shared intermediate object suffix
michael@0 37 STATIC_O = ao
michael@0 38
michael@0 39 ## Compilation rules
michael@0 40 %.$(STATIC_O): $(srcdir)/%.c
michael@0 41 $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $<
michael@0 42 %.o: $(srcdir)/%.c
michael@0 43 $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
michael@0 44
michael@0 45 %.$(STATIC_O): $(srcdir)/%.cpp
michael@0 46 $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -o $@ $<
michael@0 47 %.o: $(srcdir)/%.cpp
michael@0 48 $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
michael@0 49
michael@0 50
michael@0 51 ## Dependency rules
michael@0 52 %.d: $(srcdir)/%.c
michael@0 53 @echo "generating dependency information for $<"
michael@0 54 @$(SHELL) -ec '$(GEN_DEPS.c) $< \
michael@0 55 | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \
michael@0 56 [ -s $@ ] || rm -f $@'
michael@0 57
michael@0 58 %.d: $(srcdir)/%.cpp
michael@0 59 @echo "generating dependency information for $<"
michael@0 60 @$(SHELL) -ec '$(GEN_DEPS.cc) $< \
michael@0 61 | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \
michael@0 62 [ -s $@ ] || rm -f $@'
michael@0 63
michael@0 64 ## Versioned libraries rules
michael@0 65
michael@0 66 %.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
michael@0 67 $(RM) $@ && ln -s ${<F} $@
michael@0 68 %.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
michael@0 69 $(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
michael@0 70
michael@0 71 # The type of assembly to write for generating an object file
michael@0 72 GENCCODE_ASSEMBLY=-a gcc
michael@0 73
michael@0 74 ## Bind internal references
michael@0 75
michael@0 76 # LDflags that pkgdata will use
michael@0 77 BIR_LDFLAGS= -Wl,-Bsymbolic
michael@0 78
michael@0 79 # Dependencies [i.e. map files] for the final library
michael@0 80 BIR_DEPS=
michael@0 81
michael@0 82 ## End Linux-specific setup
michael@0 83

mercurial