OLD | NEW |
1 ## -*-makefile-*- | 1 ## -*-makefile-*- |
2 ## Solaris-specific setup using gcc | 2 ## Solaris-specific setup using gcc |
3 ## Copyright (c) 1999-2010, International Business Machines Corporation and | 3 ## Copyright (c) 1999-2014, International Business Machines Corporation and |
4 ## others. All Rights Reserved. | 4 ## others. All Rights Reserved. |
5 | 5 |
6 ## Flags for position independent code | 6 ## Flags for position independent code |
7 SHAREDLIBCFLAGS = -fPIC | 7 SHAREDLIBCFLAGS = -fPIC |
8 SHAREDLIBCXXFLAGS = -fPIC | 8 SHAREDLIBCXXFLAGS = -fPIC |
9 SHAREDLIBCPPFLAGS = -DPIC | 9 SHAREDLIBCPPFLAGS = -DPIC |
10 | 10 |
11 ## Commands to generate dependency files | 11 ## Commands to generate dependency files |
12 GEN_DEPS.c= » $(CC) -E -MM $(DEFS) $(CPPFLAGS) | 12 GEN_DEPS.c= » $(CC) -E -MM $(DEFS) $(CPPFLAGS) $(CFLAGS) |
13 GEN_DEPS.cc=» $(CXX) -E -MM $(DEFS) $(CPPFLAGS) | 13 GEN_DEPS.cc=» $(CXX) -E -MM $(DEFS) $(CPPFLAGS) $(CXXFLAGS) |
14 | 14 |
15 ## These are the library specific LDFLAGS | 15 ## These are the library specific LDFLAGS |
16 LDFLAGSICUDT=-nodefaultlibs -nostdlib | 16 LDFLAGSICUDT=-nodefaultlibs -nostdlib |
17 | 17 |
18 ## Additional flags when building libraries and with threads | 18 ## Additional flags when building libraries and with threads |
19 THREADSCPPFLAGS = -D_REENTRANT | 19 THREADSCPPFLAGS = -D_REENTRANT |
20 | 20 |
21 ## Compiler switch to embed a runtime search path | 21 ## Compiler switch to embed a runtime search path |
22 LD_RPATH= -R'$$'ORIGIN | 22 LD_RPATH= -R'$$'ORIGIN |
23 LD_RPATH_PRE= -R | 23 LD_RPATH_PRE= -R |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 %.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION) | 69 %.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION) |
70 $(RM) $@ && ln -s ${<F} $@ | 70 $(RM) $@ && ln -s ${<F} $@ |
71 %.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR) | 71 %.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR) |
72 $(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@ | 72 $(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@ |
73 | 73 |
74 ## Remove shared library 's' | 74 ## Remove shared library 's' |
75 STATIC_PREFIX_WHEN_USED = | 75 STATIC_PREFIX_WHEN_USED = |
76 STATIC_PREFIX = | 76 STATIC_PREFIX = |
77 | 77 |
78 ## End Solaris-specific setup | 78 ## End Solaris-specific setup |
OLD | NEW |