2 SRCDIR = $(CURDIR)/../..
6 include $(SRCDIR)/Makefile.config
8 CURL_INCLUDES := $(shell curl-config --cflags)
9 # We expect that curl-config --cflags just gives us -I options, because
10 # we need just the -I options for 'make dep'. Plus, it's scary to think
11 # of what any other compiler flag would do to our compile.
13 CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
16 INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include \
22 all: xmlrpc_curl_transport.lo
28 distclean: clean distclean-common
42 include $(SRCDIR)/Makefile.common
44 include Makefile.depend
46 xmlrpc_curl_transport.lo:%.lo:%.c
47 $(LIBTOOL) --mode=compile $(CC) -c $(INCLUDES) $(CFLAGS) $<
49 # Need this dependency for those who don't use Makefile.depend.
50 # Without it, version.h doesn't get created.
51 xmlrpc_curl_transport.lo: version.h