diff options
author | defanor <defanor@uberspace.net> | 2023-06-20 21:49:53 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-06-20 21:49:53 +0300 |
commit | c3cb19dec32ffae9e4f93c269b4e1d3504321643 (patch) | |
tree | d5c5bc4fc9582b01b68a4056a52a00692d77f5da /src/Makefile.am | |
parent | c12a24ef337889ed1f980cce2baf78ac6bd0ee93 (diff) |
Add Rust versions of the TCP module and of a few structures
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 36365ea..9e38c41 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,7 +10,6 @@ AM_CFLAGS = -Werror -Wall -Wextra -pedantic -std=gnu99 \ lib_LTLIBRARIES = librexmpp.la librexmpp_la_SOURCES = rexmpp_roster.h rexmpp_roster.c \ - rexmpp_tcp.h rexmpp_tcp.c \ rexmpp.h rexmpp.c \ rexmpp_dns.h rexmpp_dns.c \ rexmpp_tls.h rexmpp_tls.c \ @@ -40,7 +39,9 @@ librexmpp_la_LIBADD = $(LIBXML_LIBS) \ librexmpp_la_LDFLAGS = [] if USE_RUST -target_debug_librexmpp_rust_a_SOURCES = rexmpp_rust.rs rexmpp_socks.rs rexmpp_xml.rs +target_debug_librexmpp_rust_a_SOURCES = \ + rexmpp_rust.rs rexmpp.rs rexmpp_jid.rs rexmpp_dns.rs rexmpp_tcp.rs \ + rexmpp_socks.rs rexmpp_xml.rs noinst_LIBRARIES = target/debug/librexmpp_rust.a librexmpp_la_LIBADD += target/debug/librexmpp_rust.a librexmpp_la_LDFLAGS += -L. -lpthread -ldl @@ -49,5 +50,6 @@ target/debug/librexmpp_rust.a: $(target_debug_librexmpp_rust_a_SOURCES) $(CARGO) build else -librexmpp_la_SOURCES += rexmpp_socks.h rexmpp_socks.c +librexmpp_la_SOURCES += rexmpp_tcp.h rexmpp_tcp.c \ + rexmpp_socks.h rexmpp_socks.c endif |