1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/config/mh-alpha-linux-cc Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,85 @@ 1.4 +## -*-makefile-*- 1.5 +## Alpha-Linux-specific setup 1.6 +## Copyright (c) 1999-2006, International Business Machines Corporation and 1.7 +## others. All Rights Reserved. 1.8 + 1.9 +## Commands to generate dependency files 1.10 +#GEN_DEPS.c= $(CC) $(DEFS) $(CPPFLAGS) -MD -c -msg_quiet 1.11 +#GEN_DEPS.cc= $(CXX) $(DEFS) $(CPPFLAGS) -D__USE_STD_IOSTREAM -c -MD -msg_quiet 1.12 + 1.13 +## Flags for position independent code 1.14 +SHAREDLIBCFLAGS = -fPIC 1.15 +SHAREDLIBCXXFLAGS = -fPIC 1.16 +SHAREDLIBCPPFLAGS = -DPIC 1.17 + 1.18 +## Additional flags when building libraries and with threads 1.19 +THREADSCPPFLAGS = -D_REENTRANT 1.20 +LIBCPPFLAGS = 1.21 + 1.22 +# The tests need complete IEEE floating point support 1.23 +CFLAGS += -ieee 1.24 +CXXFLAGS += -ieee 1.25 + 1.26 +## Commands to compile 1.27 +COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -signed -accept nogccinline 1.28 +COMPILE.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c -signed -D__USE_STD_IOSTREAM -accept nogcc_inline 1.29 + 1.30 + 1.31 +## Commands to link 1.32 +LINK.c= $(CC) -call_shared $(CFLAGS) $(LDFLAGS) 1.33 +LINK.cc= $(CXX) -call_shared $(CXXFLAGS) $(LDFLAGS) 1.34 + 1.35 +## Compiler switch to embed a runtime search path 1.36 +LD_RPATH= 1.37 +LD_RPATH_PRE= -Wl,-rpath, 1.38 + 1.39 +## Compiler switch to embed a library name 1.40 +LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET)) 1.41 + 1.42 +## Shared object suffix 1.43 +SO = so 1.44 +## Non-shared intermediate object suffix 1.45 +STATIC_O = ao 1.46 + 1.47 +## Compilation rules 1.48 +%.$(STATIC_O): $(srcdir)/%.c 1.49 + $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $< 1.50 +%.o: $(srcdir)/%.c 1.51 + $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $< 1.52 + 1.53 +%.$(STATIC_O): $(srcdir)/%.cpp 1.54 + $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -o $@ $< 1.55 +%.o: $(srcdir)/%.cpp 1.56 + $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $< 1.57 + 1.58 + 1.59 +## Dependency rules 1.60 +#%.d: $(srcdir)/%.c 1.61 +# @echo "generating dependency information for $<" 1.62 +# @$(SHELL) -ec '$(GEN_DEPS.c) $< \ 1.63 +# | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \ 1.64 +# [ -s $@ ] || rm -f $@' 1.65 + 1.66 +#%.d: $(srcdir)/%.cpp 1.67 +# @echo "generating dependency information for $<" 1.68 +# @$(SHELL) -ec '$(GEN_DEPS.cc) $< \ 1.69 +# | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \ 1.70 +# [ -s $@ ] || rm -f $@' 1.71 +# 1.72 +## Versioned libraries rules 1.73 + 1.74 +%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION) 1.75 + $(RM) $@ && ln -s ${<F} $@ 1.76 +%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR) 1.77 + $(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@ 1.78 + 1.79 +## Bind internal references 1.80 + 1.81 +# LDflags that pkgdata will use 1.82 +BIR_LDFLAGS= -Wl,-Bsymbolic 1.83 + 1.84 +# Dependencies [i.e. map files] for the final library 1.85 +BIR_DEPS= 1.86 + 1.87 +## End Linux-specific setup 1.88 +