dnscrypt-proxy 1.4.0
[tomato.git] / release / src / router / dnscrypt / src / proxy / Makefile.am
blob1026aec96bd94748bbe971e976dd419c9b8fb4f0
2 sbin_PROGRAMS = \
3         dnscrypt-proxy
5 dnscrypt_proxy_SOURCES = \
6         app.c \
7         app.h \
8         cert.c \
9         cert.h \
10         cert_p.h \
11         dnscrypt.c \
12         dnscrypt.h \
13         dnscrypt_client.c \
14         dnscrypt_client.h \
15         dnscrypt_proxy.h \
16         edns.c \
17         edns.h \
18         getpwnam.h \
19         logger.c \
20         logger.h \
21         minicsv.c \
22         minicsv.h \
23         options.c \
24         options.h \
25         pathnames.h \
26         pid_file.c \
27         pid_file.h \
28         probes_dnscrypt_proxy.d \
29         probes_no_dtrace.h \
30         safe_rw.c \
31         safe_rw.h \
32         sandboxes.c \
33         sandboxes.h \
34         stack_trace.c \
35         stack_trace.h \
36         tcp_request.c \
37         tcp_request.h \
38         tcp_request_p.h \
39         udp_request.c \
40         udp_request.h \
41         udp_request_p.h \
42         utils.c \
43         utils.h \
44         windows_service.c \
45         windows_service.h
47 AM_CFLAGS = @CWFLAGS@
49 AM_CPPFLAGS = \
50         -I../ext \
51         -I../libevent-modified/include \
52         -DPKGDATADIR='"${pkgdatadir}"'
54 dnscrypt_proxy_LDADD = \
55         ../libevent-modified/libevent_extra.la \
56         ../libevent-modified/libevent_core.la
58 dnscrypt_proxy_DEPENDENCIES = \
59         ../libevent-modified/libevent_extra.la \
60         ../libevent-modified/libevent_core.la
62 BUILT_SOURCES = \
63         probes.h
65 probes.h: @PROBES_SOURCE@
66         cat @PROBES_SOURCE@ > $@
68 probes_dnscrypt_proxy.h: probes_dnscrypt_proxy.d
69         @DTRACE@ -o $@ -h -s probes_dnscrypt_proxy.d
71 CLEANFILES = \
72         probes.h \
73         probes_dnscrypt_proxy.h
75 if PLUGINS
77 AM_CPPFLAGS += \
78         $(LTDLINCL) \
79         -I../include \
80         -DPLUGINS_ROOT=\"$(pkglibdir)/\"
82 dnscrypt_proxy_LDADD += $(LIBLTDL)
83 dnscrypt_proxy_DEPENDENCIES += $(LTDLDEPS)
85 dnscrypt_proxy_SOURCES += \
86         plugin_options.c \
87         plugin_options.h \
88         plugin_support.c \
89         plugin_support.h \
90         plugin_support_p.h
92 endif