blob: ccc65d2b80d2ad76e297e2a93c27fb756d60513c [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001#***************************************************************************
2# _ _ ____ _
3# Project ___| | | | _ \| |
4# / __| | | | |_) | |
5# | (__| |_| | _ <| |___
6# \___|\___/|_| \_\_____|
7#
8# Copyright (C) 2009 - 2022, 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.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# SPDX-License-Identifier: curl
22#
23###########################################################################
24
25noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd fake_ntlm \
26 socksd disabled mqttd
27
28CURLX_SRCS = \
29 ../../lib/mprintf.c \
30 ../../lib/nonblock.c \
31 ../../lib/strtoofft.c \
32 ../../lib/warnless.c \
33 ../../lib/timediff.c \
34 ../../lib/dynbuf.c \
35 ../../lib/strdup.c \
36 ../../lib/curl_multibyte.c
37
38CURLX_HDRS = \
39 ../../lib/curlx.h \
40 ../../lib/nonblock.h \
41 ../../lib/strtoofft.h \
42 ../../lib/warnless.h \
43 ../../lib/timediff.h \
44 ../../lib/curl_ctype.h \
45 ../../lib/dynbuf.h \
46 ../../lib/strdup.h \
47 ../../lib/curl_multibyte.h
48
49USEFUL = \
50 getpart.c \
51 getpart.h \
52 server_setup.h \
53 ../../lib/base64.c \
54 ../../lib/curl_base64.h \
55 ../../lib/memdebug.c \
56 ../../lib/memdebug.h
57
58UTIL = \
59 util.c \
60 util.h
61
62getpart_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) \
63 testpart.c
64getpart_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
65getpart_CFLAGS = $(AM_CFLAGS)
66
67resolve_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
68 resolve.c
69resolve_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
70resolve_CFLAGS = $(AM_CFLAGS)
71
72rtspd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
73 server_sockaddr.h \
74 rtspd.c
75rtspd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
76rtspd_CFLAGS = $(AM_CFLAGS)
77
78sockfilt_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
79 server_sockaddr.h \
80 sockfilt.c \
81 ../../lib/inet_pton.c
82sockfilt_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
83sockfilt_CFLAGS = $(AM_CFLAGS)
84
85socksd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
86 server_sockaddr.h socksd.c \
87 ../../lib/inet_pton.c
88socksd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
89socksd_CFLAGS = $(AM_CFLAGS)
90
91mqttd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
92 server_sockaddr.h mqttd.c \
93 ../../lib/inet_pton.c
94mqttd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
95mqttd_CFLAGS = $(AM_CFLAGS)
96
97sws_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
98 server_sockaddr.h \
99 sws.c \
100 ../../lib/inet_pton.c
101sws_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
102sws_CFLAGS = $(AM_CFLAGS)
103
104tftpd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
105 server_sockaddr.h \
106 tftpd.c \
107 tftp.h
108tftpd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
109tftpd_CFLAGS = $(AM_CFLAGS)
110
111fake_ntlm_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
112 fake_ntlm.c
113fake_ntlm_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
114fake_ntlm_CFLAGS = $(AM_CFLAGS)
115
116disabled_SOURCES = disabled.c