~ubuntu-branches/ubuntu/gutsy/icu/gutsy-updates

« back to all changes in this revision

Viewing changes to source/config/mh-alpha-osf

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## -*-makefile-*-
2
 
## Alpha-Linux-specific setup
3
 
## Copyright (c) 1999-2000, International Business Machines Corporation and
4
 
## others. All Rights Reserved.
5
 
##
6
 
## $Id: mh-alpha-osf,v 1.2 2002/01/04 23:48:42 yves-oss Exp $
7
 
 
8
 
## Commands to generate dependency files
9
 
#GEN_DEPS.c=    $(CC) $(DEFS) $(CPPFLAGS) -MD -c -msg_quiet
10
 
#GEN_DEPS.cc=   $(CXX) $(DEFS) $(CPPFLAGS) -D__USE_STD_IOSTREAM -c -MD -msg_quiet 
11
 
 
12
 
## Flags for position independent code
13
 
SHAREDLIBCFLAGS = 
14
 
SHAREDLIBCXXFLAGS = 
15
 
SHAREDLIBCPPFLAGS = 
16
 
 
17
 
## Additional flags when building libraries and with threads
18
 
LIBCPPFLAGS = -D_REENTRANT
19
 
THREADSCPPFLAGS = -D_REENTRANT
20
 
 
21
 
## Commands to compile
22
 
COMPILE.c=      $(CC) -D_LP64 $(DEFS) $(CPPFLAGS) $(CFLAGS)  -c -ieee 
23
 
COMPILE.cc=     $(CXX) -D_LP64 $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c -D__USE_STD_IOSTREAM -ieee 
24
 
 
25
 
 
26
 
## Commands to link
27
 
LINK.c=         $(CC) -D_LP64 -call_shared $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) 
28
 
LINK.cc=        $(CXX) -D_LP64 -call_shared $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) 
29
 
 
30
 
## Commands to make a shared library
31
 
SHLIB.c=        $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared 
32
 
SHLIB.cc=       $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -shared  
33
 
 
34
 
## Compiler switch to embed a runtime search path
35
 
LD_RPATH=       $(LD_RPATH)$(LD_RPATH_PRE)path1 
36
 
LD_RPATH_PRE=   -Wl,-rpath,
37
 
 
38
 
## Compiler switch to embed a library name
39
 
LD_SONAME = -Wl,-soname -Wl,$(MIDDLE_SO_TARGET)
40
 
 
41
 
## Shared object suffix
42
 
SO = so
43
 
## Non-shared intermediate object suffix
44
 
STATIC_O = ao
45
 
 
46
 
## Compilation rules
47
 
%.$(STATIC_O): $(srcdir)/%.c
48
 
        $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $<
49
 
%.o: $(srcdir)/%.c
50
 
        $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
51
 
 
52
 
%.$(STATIC_O): $(srcdir)/%.cpp
53
 
        $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -o $@ $<
54
 
%.o: $(srcdir)/%.cpp
55
 
        $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
56
 
 
57
 
../data/%.o: ../data/%.c
58
 
        $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
59
 
 
60
 
## Dependency rules
61
 
#%.d: $(srcdir)/%.c
62
 
#       @echo "generating dependency information for $<"
63
 
#       @$(SHELL) -ec '$(GEN_DEPS.c) $< \
64
 
#               | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \
65
 
#               [ -s $@ ] || rm -f $@'
66
 
 
67
 
#%.d: $(srcdir)/%.cpp
68
 
#       @echo "generating dependency information for $<"
69
 
#       @$(SHELL) -ec '$(GEN_DEPS.cc) $< \
70
 
#               | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \
71
 
#               [ -s $@ ] || rm -f $@'
72
 
#
73
 
## Versioned libraries rules
74
 
 
75
 
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
76
 
        $(RM) $@ && ln -s $< $@
77
 
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
78
 
        $(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
79
 
 
80
 
##  Bind internal references
81
 
 
82
 
# LDflags that pkgdata will use
83
 
BIR_LDFLAGS= -Wl,-Bsymbolic
84
 
 
85
 
# CPPflags for genccode/gencmn
86
 
BIR_CPPFLAGS= -DU_HAVE_BIND_INTERNAL_REFERENCES
87
 
 
88
 
# Dependencies [i.e. map files] for the final library
89
 
BIR_DEPS=
90
 
 
91
 
## End Tru64 5.1 specific setup
92