452:ce359a2b51fe | 453:4586d534f9b5 |
---|---|
17 | 17 |
18 # platform dependend vars | 18 # platform dependend vars |
19 OBJ_EXT = .o | 19 OBJ_EXT = .o |
20 LIB_EXT = .so | 20 LIB_EXT = .so |
21 APP_EXT = | 21 APP_EXT = |
22 | |
23 # ld flags | |
24 UCX_SO_NAME = | |
25 RPATH_WS_LIB_FLAG = -Wl,-rpath,'$$ORIGIN/../lib' | |
22 </make> | 26 </make> |
23 </dependency> | 27 </dependency> |
24 | 28 |
25 <dependency platform="bsd" not="macos"> | 29 <dependency platform="bsd" not="macos"> |
26 <cflags>-DBSD -I/usr/local/include</cflags> | 30 <cflags>-DBSD -I/usr/local/include</cflags> |
31 | 35 |
32 # platform dependend vars | 36 # platform dependend vars |
33 OBJ_EXT = .o | 37 OBJ_EXT = .o |
34 LIB_EXT = .so | 38 LIB_EXT = .so |
35 APP_EXT = | 39 APP_EXT = |
40 | |
41 # ld flags | |
42 UCX_SO_NAME = | |
43 RPATH_WS_LIB_FLAG = -Wl,-rpath,'$$ORIGIN/../lib' | |
36 </make> | 44 </make> |
37 </dependency> | 45 </dependency> |
38 | 46 |
39 <dependency platform="macos"> | 47 <dependency platform="macos"> |
40 <cflags>-DBSD -DOSX</cflags> | 48 <cflags>-DBSD -DOSX</cflags> |
45 | 53 |
46 # platform dependend vars | 54 # platform dependend vars |
47 OBJ_EXT = .o | 55 OBJ_EXT = .o |
48 LIB_EXT = .dylib | 56 LIB_EXT = .dylib |
49 APP_EXT = | 57 APP_EXT = |
58 | |
59 # ld flags | |
60 UCX_SO_NAME = -install_name @rpath/libucx.dylib | |
61 RPATH_WS_LIB_FLAG = -rpath @loader_path/../lib | |
50 </make> | 62 </make> |
51 </dependency> | 63 </dependency> |
52 | 64 |
53 <dependency platform="solaris"> | 65 <dependency platform="solaris"> |
54 <cflags>-DSOLARIS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS</cflags> | 66 <cflags>-DSOLARIS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS</cflags> |
66 | 78 |
67 <!-- library dependencies --> | 79 <!-- library dependencies --> |
68 <dependency name="libxml2"> | 80 <dependency name="libxml2"> |
69 <pkgconfig>libxml-2.0</pkgconfig> | 81 <pkgconfig>libxml-2.0</pkgconfig> |
70 </dependency> | 82 </dependency> |
83 <dependency name="libxml2"> | |
84 <cflags type="exec">xml2-config --cflags</cflags> | |
85 <lfglags type="exec">xml2-config --libs</lfglags> | |
86 </dependency> | |
71 | 87 |
72 <dependency name="openssl"> | 88 <dependency name="openssl"> |
73 <pkgconfig>openssl</pkgconfig> | 89 <pkgconfig>openssl</pkgconfig> |
74 </dependency> | 90 </dependency> |
75 | 91 |
92 <!-- | |
76 <dependency name="openssl"> | 93 <dependency name="openssl"> |
77 <ldflags>-lssl -lcrypto</ldflags> | 94 <ldflags>-lssl -lcrypto</ldflags> |
78 </dependency> | 95 </dependency> |
79 | 96 --> |
97 | |
80 <!-- optional dependencies --> | 98 <!-- optional dependencies --> |
81 <dependency name="libpq"> | 99 <dependency name="libpq"> |
82 <pkgconfig>libpq</pkgconfig> | 100 <pkgconfig>libpq</pkgconfig> |
83 <make> | 101 <make> |
84 CFLAGS += -DENABLE_POSTGRESQL | 102 CFLAGS += -DENABLE_POSTGRESQL |