OLD | NEW |
1 ## -*-makefile-*- | 1 ## -*-makefile-*- |
2 ## Copyright (c) 2003-2009 IBM, Ken Foskey, and others. All rights reserved. | 2 ## Copyright (c) 2003-2015 IBM, Ken Foskey, and others. All rights reserved. |
3 ## | 3 ## |
4 ## Aix-specific setup (for gcc) | 4 ## Aix-specific setup (for gcc) |
5 ## | 5 ## |
6 ## Please note: AIX does NOT have library versioning per se (there is no 'SONAME
' capability). | 6 ## Please note: AIX does NOT have library versioning per se (there is no 'SONAME
' capability). |
7 ## So, we are using 'windows' style library names, that is, libicuuc20.1.so inst
ead of libicuuc.so.20.1 | 7 ## So, we are using 'windows' style library names, that is, libicuuc20.1.so inst
ead of libicuuc.so.20.1 |
8 | 8 |
| 9 # When building stubdata, special considerations need to be made when building o
n AIX with GCC |
| 10 BUILD_HOST_ICU=AIX_GCC |
| 11 |
9 # Certain files don't compile in -ansi mode (e.g. umutex.c, toolutil.c, and cdat
atst.c) | 12 # Certain files don't compile in -ansi mode (e.g. umutex.c, toolutil.c, and cdat
atst.c) |
10 CFLAGS += -D_ALL_SOURCE | 13 CFLAGS += -D_ALL_SOURCE |
11 | 14 |
12 ## Commands to generate dependency files | 15 ## Commands to generate dependency files |
13 GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS) | 16 GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS) |
14 GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS) | 17 GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS) |
15 | 18 |
16 ## Commands to link | 19 ## Commands to link |
17 ## We need to use the C++ linker, even when linking C programs, since | 20 ## We need to use the C++ linker, even when linking C programs, since |
18 ## our libraries contain C++ code (C++ static init not called) | 21 ## our libraries contain C++ code (C++ static init not called) |
(...skipping 105 matching lines...) Loading... |
124 $(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@ | 127 $(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@ |
125 | 128 |
126 | 129 |
127 ## BIR - bind with internal references [so app data and icu data doesn't collid
e] | 130 ## BIR - bind with internal references [so app data and icu data doesn't collid
e] |
128 # LDflags that pkgdata will use | 131 # LDflags that pkgdata will use |
129 BIR_LDFLAGS= -Wl,-bE:$(NAME).map,-bnoexpall | 132 BIR_LDFLAGS= -Wl,-bE:$(NAME).map,-bnoexpall |
130 | 133 |
131 # Dependencies [i.e. map files] for the final library | 134 # Dependencies [i.e. map files] for the final library |
132 BIR_DEPS= $(NAME).map | 135 BIR_DEPS= $(NAME).map |
133 | 136 |
OLD | NEW |