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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial