2001-01-08 09:36:34 -05:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
2007-07-12 16:38:54 -04:00
|
|
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
|
|
|
|
2008-02-18 10:32:34 -05:00
|
|
|
EXTRA_DIST = README Makefile.example Makefile.inc Makefile.m32 \
|
|
|
|
makefile.dj $(COMPLICATED_EXAMPLES)
|
2007-07-12 16:38:54 -04:00
|
|
|
|
2008-07-15 09:54:30 -04:00
|
|
|
# Specify our include paths here, and do it relative to $(top_srcdir) and
|
|
|
|
# $(top_builddir), to ensure that these paths which belong to the library
|
|
|
|
# being currently built and tested are searched before the library which
|
|
|
|
# might possibly already be installed in the system.
|
|
|
|
#
|
2008-08-06 20:29:08 -04:00
|
|
|
# $(top_builddir)/include is for libcurl's generated curl/curlbuild.h file
|
2008-07-15 09:54:30 -04:00
|
|
|
# $(top_srcdir)/include is for libcurl's external include files
|
|
|
|
|
2008-08-06 20:29:08 -04:00
|
|
|
INCLUDES = -I$(top_builddir)/include \
|
|
|
|
-I$(top_srcdir)/include
|
2007-07-12 16:38:54 -04:00
|
|
|
|
|
|
|
LIBDIR = $(top_builddir)/lib
|
2007-11-17 05:22:44 -05:00
|
|
|
|
|
|
|
if STATICLIB
|
|
|
|
# we need this define when building with a static lib on Windows
|
|
|
|
STATICCPPFLAGS = -DCURL_STATICLIB
|
|
|
|
endif
|
|
|
|
|
|
|
|
CPPFLAGS = -DCURL_NO_OLDIES $(STATICCPPFLAGS)
|
2007-07-12 16:38:54 -04:00
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
LDADD = $(LIBDIR)/libcurl.la
|
|
|
|
|
2008-03-30 23:01:13 -04:00
|
|
|
# Makefile.inc provides the check_PROGRAMS and COMPLICATED_EXAMPLES defines
|
2008-02-18 10:32:34 -05:00
|
|
|
include Makefile.inc
|
|
|
|
|
2007-07-12 16:38:54 -04:00
|
|
|
|