forked from processone/exmpp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
30 lines (26 loc) · 1.51 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{erl_opts, [debug_info,
{src_dirs, ["client", "compat", "core", "network", "server"]}]}.
{compile_pre_scripts,
["include/internal/exmpp_known_nss.hrl.es include/internal/exmpp_known_nss.in > include/internal/exmpp_known_nss.hrl"
,"include/internal/exmpp_known_elems.hrl.es include/internal/exmpp_known_elems.in > include/internal/exmpp_known_elems.hrl"
,"include/internal/exmpp_known_attrs.hrl.es include/internal/exmpp_known_attrs.in > include/internal/exmpp_known_attrs.hrl"
,"src/core/exmpp_known_nss.erl.es include/internal/exmpp_known_nss.in > src/core/exmpp_known_nss.erl"
,"src/core/exmpp_known_elems.erl.es include/internal/exmpp_known_elems.in > src/core/exmpp_known_elems.erl"
,"src/core/exmpp_known_attrs.erl.es include/internal/exmpp_known_attrs.in > src/core/exmpp_known_attrs.erl"]}.
{so_specs,
[{"priv/lib/exmpp_xml_libxml2.so",
["c_src/exmpp_driver.o", "c_src/exmpp_xml.o", "c_src/exmpp_xml_libxml2.o"],
[{"LDFLAGS", "$LDFLAGS -lxml2"}]}
,{"priv/lib/exmpp_stringprep.so",
["c_src/exmpp_driver.o", "c_src/exmpp_stringprep.o"]}
,{"priv/lib/exmpp_zlib.so",
["c_src/exmpp_driver.o", "c_src/exmpp_compress_zlib.o"],
[{"LDFLAGS", "$LDFLAGS -lz"}]}
,{"priv/lib/exmpp_openssl.so",
["c_src/exmpp_driver.o", "c_src/exmpp_tls.o", "c_src/exmpp_tls_openssl.o"],
[{"LDFLAGS", "$LDFLAGS -lssl"}]}
]}.
{port_envs,
[{"CFLAGS", "$CFLAGS -I/usr/include/libxml2"},
{"LDFLAGS", "$LDFLAGS -module -avoid-version"}]}.
{edoc_opts, [{def, [{vsn, "0.9.4-HEAD"}]}, {packages, false}]}.