0
|
1 /* Synched up with: Not in FSF. */
|
|
2
|
|
3 #ifndef DONT_INCLUDE_SOL2_H
|
|
4 #include "sol2.h"
|
|
5 #endif
|
|
6
|
|
7 /* Force static linking */
|
|
8 /* Here is how to find X Windows. The -R option says where
|
|
9 to find X windows at run time. */
|
|
10 #undef LD_SWITCH_SYSTEM
|
|
11 #ifndef __GNUC__
|
|
12 # ifdef USE_LCC
|
|
13 # define LD_SWITCH_SYSTEM -R /usr/openwin/lib -Bstatic
|
|
14 # else
|
|
15 # define LD_SWITCH_SYSTEM -R/usr/openwin/lib -Bstatic
|
|
16 #endif
|
|
17 #else /* GCC */
|
|
18 /* jwz: note that we need "-Xlinker -Bstatic" and not just "-static" */
|
|
19 #define LD_SWITCH_SYSTEM -Xlinker -R/usr/openwin/lib -Xlinker -Bstatic
|
|
20 #endif /* GCC */
|
|
21
|
|
22 /* static linking and Solaris don't mix real well */
|
|
23 #undef LIB_STANDARD
|
|
24 #ifndef __GNUC__
|
|
25 # ifdef I18N4
|
|
26 # define LIB_STANDARD -lw -Bdynamic -lc -ldl -Bstatic
|
|
27 # else /* !I18N4 */
|
|
28 # define LIB_STANDARD -lw -lc -Bdynamic -ldl -Bstatic
|
|
29 # endif /* !I18N4 */
|
|
30 #else
|
|
31 # define LIB_STANDARD -lw -lc -Xlinker -Bdynamic -ldl
|
|
32 #endif
|
|
33
|
|
34 #undef LIBS_SYSTEM
|
|
35 #ifdef NOT_C_CODE
|
|
36 # undef LIBS_SYSTEM
|
|
37 # define LIBS_SYSTEM -lsocket -lnsl -lintl -lkvm -lelf -lgen
|
|
38 #else
|
|
39 # define LIBS_SYSTEM -lsocket -lnsl -lkvm -lelf -lgen
|
|
40 #endif
|