1#***************************************************************************
2#                                  _   _ ____  _
3#  Project                     ___| | | |  _ \| |
4#                             / __| | | | |_) | |
5#                            | (__| |_| |  _ <| |___
6#                             \___|\___/|_| \_\_____|
7#
8# Copyright (C) 2009 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9#
10# This software is licensed as described in the file COPYING, which
11# you should have received as part of this distribution. The terms
12# are also available at https://curl.haxx.se/docs/copyright.html.
13#
14# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15# copies of the Software, and permit persons to whom the Software is
16# furnished to do so, under the terms of the COPYING file.
17#
18# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19# KIND, either express or implied.
20#
21###########################################################################
22
23noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd fake_ntlm    \
24 socksd disabled mqttd
25
26CURLX_SRCS = \
27 ../../lib/mprintf.c \
28 ../../lib/nonblock.c \
29 ../../lib/strtoofft.c \
30 ../../lib/warnless.c \
31 ../../lib/curl_ctype.c \
32 ../../lib/dynbuf.c \
33 ../../lib/strdup.c \
34 ../../lib/curl_multibyte.c
35
36CURLX_HDRS = \
37 ../../lib/curlx.h \
38 ../../lib/nonblock.h \
39 ../../lib/strtoofft.h \
40 ../../lib/warnless.h \
41 ../../lib/curl_ctype.h \
42 ../../lib/dynbuf.h \
43 ../../lib/strdup.h \
44 ../../lib/curl_multibyte.h
45
46USEFUL = \
47 getpart.c \
48 getpart.h \
49 server_setup.h \
50 ../../lib/base64.c \
51 ../../lib/curl_base64.h \
52 ../../lib/memdebug.c \
53 ../../lib/memdebug.h
54
55UTIL = \
56 util.c \
57 util.h
58
59getpart_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) \
60 testpart.c
61getpart_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
62getpart_CFLAGS = $(AM_CFLAGS)
63
64resolve_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
65 resolve.c
66resolve_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
67resolve_CFLAGS = $(AM_CFLAGS)
68
69rtspd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
70 server_sockaddr.h \
71 rtspd.c
72rtspd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
73rtspd_CFLAGS = $(AM_CFLAGS)
74
75sockfilt_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
76 server_sockaddr.h \
77 sockfilt.c \
78 ../../lib/inet_pton.c
79sockfilt_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
80sockfilt_CFLAGS = $(AM_CFLAGS)
81
82socksd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
83 server_sockaddr.h socksd.c \
84 ../../lib/inet_pton.c
85socksd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
86socksd_CFLAGS = $(AM_CFLAGS)
87
88mqttd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
89 server_sockaddr.h mqttd.c \
90 ../../lib/inet_pton.c
91mqttd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
92mqttd_CFLAGS = $(AM_CFLAGS)
93
94sws_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
95 server_sockaddr.h \
96 sws.c \
97 ../../lib/inet_pton.c
98sws_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
99sws_CFLAGS = $(AM_CFLAGS)
100
101tftpd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
102 server_sockaddr.h \
103 tftpd.c \
104 tftp.h
105tftpd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
106tftpd_CFLAGS = $(AM_CFLAGS)
107
108fake_ntlm_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
109 fake_ntlm.c
110fake_ntlm_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
111fake_ntlm_CFLAGS = $(AM_CFLAGS)
112
113disabled_SOURCES = disabled.c
114