5
5
# | (__| |_| | _ <| |___
6
6
# \___|\___/|_| \_\_____|
8
# Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
8
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
10
10
# This software is licensed as described in the file COPYING, which
11
11
# you should have received as part of this distribution. The terms
18
18
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
# KIND, either express or implied.
21
# $Id: Makefile.am,v 1.21 2007-04-03 18:25:18 yangtse Exp $
21
# $Id: Makefile.am,v 1.26 2009-04-29 00:38:08 yangtse Exp $
22
22
###########################################################################
26
AUTOMAKE_OPTIONS = foreign
28
INCLUDES = -I$(top_srcdir)/include \
29
-I$(top_builddir)/lib \
32
noinst_PROGRAMS = sws getpart sockfilt resolve tftpd
34
useful = getpart.c getpart.h $(top_srcdir)/lib/strequal.c \
35
$(top_srcdir)/lib/base64.c $(top_srcdir)/lib/mprintf.c \
36
$(top_srcdir)/lib/memdebug.c $(top_srcdir)/lib/timeval.c
38
resolve_SOURCES= resolve.c util.c util.h $(useful)
39
resolve_LDADD = @TEST_SERVER_LIBS@
41
sws_SOURCES= sws.c util.c util.h $(useful)
42
sws_LDADD = @TEST_SERVER_LIBS@
44
sockfilt_SOURCES = sockfilt.c util.c util.h $(useful) \
45
$(top_srcdir)/lib/inet_pton.c
46
sockfilt_LDADD = @TEST_SERVER_LIBS@
48
getpart_SOURCES= testpart.c $(useful)
49
# This is needed because of (unused) network debugging functions in memdebug.c
50
getpart_LDADD = @TEST_SERVER_LIBS@
52
tftpd_SOURCES = tftpd.c util.c util.h $(useful) tftp.h
53
tftpd_LDADD = @TEST_SERVER_LIBS@
55
extra_DIST = base64.pl
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_builddir)/include is for libcurl's generated curl/curlbuild.h file
31
# $(top_srcdir)/include is for libcurl's external include files
32
# $(top_builddir)/lib is for libcurl's generated lib/config.h file
33
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
34
# $(top_builddir)/ares is for in-tree c-ares's generated ares_build.h file
35
# $(top_srcdir)/ares is for in-tree c-ares's external include files
37
INCLUDES = -I$(top_builddir)/include \
38
-I$(top_srcdir)/include \
39
-I$(top_builddir)/lib \
41
-I$(top_builddir)/ares \
44
# Makefile.inc provides the source defines (noinst_PROGRAMS, useful, *_SOURCES, and *_LDADD)
47
extra_DIST = base64.pl Makefile.inc