2001-01-08 15:36:34 +01:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2007-07-12 22:38:54 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
|
|
|
|
2008-02-18 16:32:34 +01:00
|
|
|
EXTRA_DIST = README Makefile.example Makefile.inc Makefile.m32 \
|
|
|
|
makefile.dj $(COMPLICATED_EXAMPLES)
|
2007-07-12 22:38:54 +02:00
|
|
|
|
2008-07-15 15:54:30 +02: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.
|
|
|
|
#
|
2009-11-05 16:04:03 +01:00
|
|
|
# $(top_builddir)/include/curl for generated curlbuild.h included from curl.h
|
|
|
|
# $(top_builddir)/include for generated curlbuild.h included from lib/setup.h
|
2008-07-15 15:54:30 +02:00
|
|
|
# $(top_srcdir)/include is for libcurl's external include files
|
|
|
|
|
2009-11-05 16:04:03 +01:00
|
|
|
INCLUDES = -I$(top_builddir)/include/curl \
|
|
|
|
-I$(top_builddir)/include \
|
2008-08-07 02:29:08 +02:00
|
|
|
-I$(top_srcdir)/include
|
2007-07-12 22:38:54 +02:00
|
|
|
|
|
|
|
LIBDIR = $(top_builddir)/lib
|
2007-11-17 11:22:44 +01: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 22:38:54 +02:00
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
LDADD = $(LIBDIR)/libcurl.la
|
|
|
|
|
2008-03-31 05:01:13 +02:00
|
|
|
# Makefile.inc provides the check_PROGRAMS and COMPLICATED_EXAMPLES defines
|
2008-02-18 16:32:34 +01:00
|
|
|
include Makefile.inc
|
|
|
|
|
2007-07-12 22:38:54 +02:00
|
|
|
|