Git init
[external/curl.git] / tests / server / Makefile.inc
1 noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd
2
3 CURLX_SRCS = \
4  $(top_srcdir)/lib/mprintf.c \
5  $(top_srcdir)/lib/nonblock.c \
6  $(top_srcdir)/lib/strequal.c \
7  $(top_srcdir)/lib/strtoofft.c \
8  $(top_srcdir)/lib/timeval.c \
9  $(top_srcdir)/lib/warnless.c
10
11 CURLX_HDRS = \
12  $(top_srcdir)/lib/curlx.h \
13  $(top_srcdir)/lib/nonblock.h \
14  $(top_srcdir)/lib/strequal.h \
15  $(top_srcdir)/lib/strtoofft.h \
16  $(top_srcdir)/lib/timeval.h \
17  $(top_srcdir)/lib/warnless.h
18
19 USEFUL = \
20  getpart.c \
21  getpart.h \
22  $(top_srcdir)/lib/base64.c \
23  $(top_srcdir)/lib/curl_base64.h \
24  $(top_srcdir)/lib/memdebug.c \
25  $(top_srcdir)/lib/memdebug.h
26
27 UTIL = \
28  util.c \
29  util.h
30
31 getpart_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) \
32  testpart.c
33 getpart_LDADD = @TEST_SERVER_LIBS@
34 getpart_CFLAGS = $(AM_CFLAGS)
35
36 resolve_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
37  resolve.c
38 resolve_LDADD = @TEST_SERVER_LIBS@
39 resolve_CFLAGS = $(AM_CFLAGS)
40
41 rtspd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
42  server_sockaddr.h \
43  rtspd.c
44 rtspd_LDADD = @TEST_SERVER_LIBS@
45 rtspd_CFLAGS = $(AM_CFLAGS)
46
47 sockfilt_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
48  server_sockaddr.h \
49  sockfilt.c \
50  $(top_srcdir)/lib/inet_pton.c
51 sockfilt_LDADD = @TEST_SERVER_LIBS@
52 sockfilt_CFLAGS = $(AM_CFLAGS)
53
54 sws_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
55  server_sockaddr.h \
56  sws.c
57 sws_LDADD = @TEST_SERVER_LIBS@
58 sws_CFLAGS = $(AM_CFLAGS)
59
60 tftpd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
61  server_sockaddr.h \
62  tftpd.c \
63  tftp.h
64 tftpd_LDADD = @TEST_SERVER_LIBS@
65 tftpd_CFLAGS = $(AM_CFLAGS)