]> git.meshlink.io Git - meshlink/blob - src/Makefile.am
Never automatically try to bind to ports >= 32768.
[meshlink] / src / Makefile.am
1 ## Produce this file with automake to get Makefile.in
2
3 AM_CPPFLAGS = -Wall
4
5 ed25519_SOURCES = \
6         ed25519/add_scalar.c \
7         ed25519/ecdh.c \
8         ed25519/ecdsa.c \
9         ed25519/ecdsagen.c \
10         ed25519/ed25519.h \
11         ed25519/fe.c ed25519/fe.h \
12         ed25519/fixedint.h \
13         ed25519/ge.c ed25519/ge.h \
14         ed25519/key_exchange.c \
15         ed25519/keypair.c \
16         ed25519/precomp_data.h \
17         ed25519/sc.c ed25519/sc.h \
18         ed25519/seed.c \
19         ed25519/sha512.c ed25519/sha512.h \
20         ed25519/sign.c \
21         ed25519/verify.c
22
23 chacha_poly1305_SOURCES = \
24         chacha-poly1305/chacha.c chacha-poly1305/chacha.h \
25         chacha-poly1305/chacha-poly1305.c chacha-poly1305/chacha-poly1305.h \
26         chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h
27
28 utcp_SOURCES = \
29         utcp.c utcp.h \
30         utcp_priv.h
31
32 lib_LTLIBRARIES = libmeshlink.la
33 EXTRA_PROGRAMS = utcp-test
34
35 pkginclude_HEADERS = meshlink++.h meshlink.h
36
37 libmeshlink_la_LDFLAGS = -export-symbols $(srcdir)/meshlink.sym
38
39 libmeshlink_la_SOURCES = \
40         adns.c adns.h \
41         buffer.c buffer.h \
42         conf.c conf.h \
43         connection.c connection.h \
44         crypto.c crypto.h \
45         discovery.c discovery.h \
46         dropin.c dropin.h \
47         ecdh.h \
48         ecdsa.h \
49         ecdsagen.h \
50         edge.c edge.h \
51         event.c event.h \
52         graph.c graph.h \
53         hash.c hash.h \
54         have.h \
55         list.c list.h \
56         logger.c logger.h \
57         mdns.c mdns.h \
58         meshlink.c meshlink.h meshlink.sym \
59         meshlink_internal.h \
60         meshlink_queue.h \
61         meta.c meta.h \
62         net.c net.h \
63         net_packet.c \
64         net_setup.c \
65         net_socket.c \
66         netutl.c netutl.h \
67         node.c node.h \
68         submesh.c submesh.h \
69         packmsg.h \
70         prf.c prf.h \
71         protocol.c protocol.h \
72         protocol_auth.c \
73         protocol_edge.c \
74         protocol_key.c \
75         protocol_misc.c \
76         route.c route.h \
77         sockaddr.h \
78         splay_tree.c splay_tree.h \
79         sptps.c sptps.h \
80         system.h \
81         utils.c utils.h \
82         xalloc.h \
83         xoshiro.c xoshiro.h \
84         devtools.c devtools.h \
85         $(ed25519_SOURCES) \
86         $(chacha_poly1305_SOURCES) \
87         $(utcp_SOURCES)
88
89 utcp_test_SOURCES = \
90         utcp-test.c \
91         $(utcp_SOURCES)
92
93 EXTRA_libmeshlink_la_DEPENDENCIES = $(srcdir)/meshlink.sym
94
95 libmeshlink_la_CFLAGS = $(PTHREAD_CFLAGS) -fPIC -iquote.
96 libmeshlink_la_LDFLAGS += $(PTHREAD_LIBS)
97
98 utcp_test_CFLAGS = $(PTHREAD_CFLAGS) -iquote.
99 utcp_test_LDFLAGS = $(PTHREAD_LIBS)