xref: /curl/tests/server/Makefile.inc (revision 805bbf7c)
1#***************************************************************************
2#                                  _   _ ____  _
3#  Project                     ___| | | |  _ \| |
4#                             / __| | | | |_) | |
5#                            | (__| |_| |  _ <| |___
6#                             \___|\___/|_| \_\_____|
7#
8# Copyright (C) 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    \
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/strcase.c \
37 ../../lib/curl_multibyte.c
38
39CURLX_HDRS = \
40 ../../lib/curlx.h \
41 ../../lib/nonblock.h \
42 ../../lib/strtoofft.h \
43 ../../lib/warnless.h \
44 ../../lib/timediff.h \
45 ../../lib/curl_ctype.h \
46 ../../lib/dynbuf.h \
47 ../../lib/strdup.h \
48 ../../lib/curl_multibyte.h
49
50USEFUL = \
51 getpart.c \
52 getpart.h \
53 server_setup.h \
54 ../../lib/base64.c \
55 ../../lib/curl_base64.h \
56 ../../lib/memdebug.c \
57 ../../lib/memdebug.h
58
59UTIL = \
60 util.c \
61 util.h
62
63getpart_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) \
64 testpart.c
65getpart_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
66getpart_CFLAGS = $(AM_CFLAGS)
67
68resolve_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
69 resolve.c
70resolve_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
71resolve_CFLAGS = $(AM_CFLAGS)
72
73rtspd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
74 server_sockaddr.h \
75 rtspd.c
76rtspd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
77rtspd_CFLAGS = $(AM_CFLAGS)
78
79sockfilt_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
80 server_sockaddr.h \
81 sockfilt.c \
82 ../../lib/inet_pton.c
83sockfilt_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
84sockfilt_CFLAGS = $(AM_CFLAGS)
85
86socksd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
87 server_sockaddr.h socksd.c \
88 ../../lib/inet_pton.c
89socksd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
90socksd_CFLAGS = $(AM_CFLAGS)
91
92mqttd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
93 server_sockaddr.h mqttd.c \
94 ../../lib/inet_pton.c
95mqttd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
96mqttd_CFLAGS = $(AM_CFLAGS)
97
98sws_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
99 server_sockaddr.h \
100 sws.c \
101 ../../lib/inet_pton.c
102sws_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
103sws_CFLAGS = $(AM_CFLAGS)
104
105tftpd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
106 server_sockaddr.h \
107 tftpd.c \
108 tftp.h
109tftpd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
110tftpd_CFLAGS = $(AM_CFLAGS)
111
112disabled_SOURCES = disabled.c
113