add comment for include paths
[platform/upstream/curl.git] / tests / server / Makefile.am
1 #***************************************************************************
2 #                                  _   _ ____  _
3 #  Project                     ___| | | |  _ \| |
4 #                             / __| | | | |_) | |
5 #                            | (__| |_| |  _ <| |___
6 #                             \___|\___/|_| \_\_____|
7 #
8 # Copyright (C) 1998 - 2008, 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 http://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 # $Id$
22 ###########################################################################
23 AUTOMAKE_OPTIONS = foreign nostdinc
24
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.
29 #
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
33
34 INCLUDES = -I$(top_srcdir)/include \
35            -I$(top_builddir)/lib   \
36            -I$(top_srcdir)/lib 
37
38 noinst_PROGRAMS = sws getpart sockfilt resolve tftpd
39
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
43
44 resolve_SOURCES= resolve.c util.c util.h $(useful)
45 resolve_LDADD = @TEST_SERVER_LIBS@
46
47 sws_SOURCES= sws.c util.c util.h $(useful)
48 sws_LDADD = @TEST_SERVER_LIBS@
49
50 sockfilt_SOURCES = sockfilt.c util.c util.h $(useful)   \
51  $(top_srcdir)/lib/inet_pton.c
52 sockfilt_LDADD = @TEST_SERVER_LIBS@
53
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@
57
58 tftpd_SOURCES = tftpd.c util.c util.h $(useful) tftp.h
59 tftpd_LDADD = @TEST_SERVER_LIBS@
60
61 extra_DIST = base64.pl
62