initial load of upstream version 1.06.32
[xmlrpc-c] / lib / curl_transport / Makefile
diff --git a/lib/curl_transport/Makefile b/lib/curl_transport/Makefile
new file mode 100644 (file)
index 0000000..7e0d421
--- /dev/null
@@ -0,0 +1,51 @@
+ifeq ($(SRCDIR)x,x)
+SRCDIR = $(CURDIR)/../..
+BUILDDIR = ../..
+endif
+
+include $(SRCDIR)/Makefile.config
+
+CURL_INCLUDES := $(shell curl-config --cflags)
+# We expect that curl-config --cflags just gives us -I options, because
+# we need just the -I options for 'make dep'.  Plus, it's scary to think
+# of what any other compiler flag would do to our compile.
+
+CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
+LDFLAGS = $(LADD)
+
+INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include \
+  $(CURL_INCLUDES)
+
+default: all
+
+.PHONY: all
+all: xmlrpc_curl_transport.lo
+
+.PHONY: clean
+clean: clean-common
+
+.PHONY: distclean
+distclean: clean distclean-common
+
+.PHONY: tags
+tags: TAGS
+
+.PHONY: distdir
+distdir:
+
+.PHONY: install
+install:
+
+.PHONY: dep
+dep: dep-common
+
+include $(SRCDIR)/Makefile.common
+
+include Makefile.depend
+
+xmlrpc_curl_transport.lo:%.lo:%.c
+       $(LIBTOOL) --mode=compile $(CC) -c $(INCLUDES) $(CFLAGS) $<
+
+# Need this dependency for those who don't use Makefile.depend.
+# Without it, version.h doesn't get created.
+xmlrpc_curl_transport.lo: version.h
\ No newline at end of file