21 APP_EXT = |
21 APP_EXT = |
22 </make> |
22 </make> |
23 </dependency> |
23 </dependency> |
24 |
24 |
25 <dependency platform="bsd" not="macos"> |
25 <dependency platform="bsd" not="macos"> |
26 <cflags>-DBSD</cflags> |
26 <cflags>-DBSD -I/usr/local/include</cflags> |
27 <ldflags>-lpthread -lm -lldap</ldflags> |
27 <ldflags>-lpthread -lm -lldap</ldflags> |
28 <make> |
28 <make> |
29 # platform dependend source files |
29 # platform dependend source files |
30 PLATFORM_DAEMONOBJ = event_bsd.o |
30 PLATFORM_DAEMONOBJ = event_bsd.o |
31 |
31 |
71 |
71 |
72 <dependency name="openssl"> |
72 <dependency name="openssl"> |
73 <pkgconfig>openssl</pkgconfig> |
73 <pkgconfig>openssl</pkgconfig> |
74 </dependency> |
74 </dependency> |
75 |
75 |
|
76 <dependency name="openssl"> |
|
77 <ldflags>-lssl -lcrypto</ldflags> |
|
78 </dependency> |
|
79 |
76 <!-- optional dependencies --> |
80 <!-- optional dependencies --> |
77 <dependency name="libpq"> |
81 <dependency name="libpq"> |
78 <pkgconfig>libpq</pkgconfig> |
82 <pkgconfig>libpq</pkgconfig> |
|
83 <make> |
|
84 CFLAGS += -DENABLE_POSTGRESQL |
|
85 PLUGINS += postgresql |
|
86 TEST_PLUGIN_LDFLAGS += -lwspgtest |
|
87 </make> |
79 </dependency> |
88 </dependency> |
80 |
89 |
81 <target> |
90 <target> |
82 <feature name="pg" default="false"> |
91 <dependencies>libxml2,openssl</dependencies> |
|
92 </target> |
|
93 |
|
94 <target name="postgresql"> |
|
95 <feature name="postgresql" default="false"> |
83 <dependencies>libpq</dependencies> |
96 <dependencies>libpq</dependencies> |
84 </feature> |
97 </feature> |
85 <dependencies>libxml2,openssl</dependencies> |
|
86 </target> |
98 </target> |
87 </project> |
99 </project> |
88 |
100 |