1 #***************************************************************************
3 # Project ___| | | | _ \| |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
8 # Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
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 http://curl.haxx.se/docs/copyright.html.
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.
18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 # KIND, either express or implied.
22 ###########################################################################
23 AUTOMAKE_OPTIONS = foreign nostdinc
25 # Specify our include paths here, and do it relative to $(top_srcdir) and
26 # $(top_builddir), to ensure that these paths which belong to the library
27 # being currently built and tested are searched before the library which
28 # might possibly already be installed in the system.
30 # $(top_srcdir)/include is for libcurl's external include files
31 # $(top_builddir)/lib is for libcurl's generated lib/config.h file
32 # $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
34 INCLUDES = -I$(top_srcdir)/include \
35 -I$(top_builddir)/lib \
38 noinst_PROGRAMS = sws getpart sockfilt resolve tftpd
40 useful = getpart.c getpart.h $(top_srcdir)/lib/strequal.c \
41 $(top_srcdir)/lib/base64.c $(top_srcdir)/lib/mprintf.c \
42 $(top_srcdir)/lib/memdebug.c $(top_srcdir)/lib/timeval.c
44 resolve_SOURCES= resolve.c util.c util.h $(useful)
45 resolve_LDADD = @TEST_SERVER_LIBS@
47 sws_SOURCES= sws.c util.c util.h $(useful)
48 sws_LDADD = @TEST_SERVER_LIBS@
50 sockfilt_SOURCES = sockfilt.c util.c util.h $(useful) \
51 $(top_srcdir)/lib/inet_pton.c
52 sockfilt_LDADD = @TEST_SERVER_LIBS@
54 getpart_SOURCES= testpart.c $(useful)
55 # This is needed because of (unused) network debugging functions in memdebug.c
56 getpart_LDADD = @TEST_SERVER_LIBS@
58 tftpd_SOURCES = tftpd.c util.c util.h $(useful) tftp.h
59 tftpd_LDADD = @TEST_SERVER_LIBS@
61 extra_DIST = base64.pl