initial load of upstream version 1.06.32
[xmlrpc-c] / lib / libwww_transport / Makefile
1 ifeq ($(SRCDIR)x,x)
2 SRCDIR = $(CURDIR)/../..
3 endif
4
5 include $(SRCDIR)/Makefile.config
6
7 LIBWWW_INCLUDES := $(shell libwww-config --cflags)
8
9 CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
10 LDFLAGS = $(LADD)
11
12 INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include \
13   $(LIBWWW_INCLUDES)
14
15 default: all
16
17 .PHONY: all
18 all: xmlrpc_libwww_transport.lo
19
20 .PHONY: clean
21 clean: clean-common
22
23 .PHONY: distclean
24 distclean: clean distclean-common
25
26 .PHONY: tags
27 tags: TAGS
28
29 .PHONY: distdir
30 distdir:
31
32 .PHONY: install
33 install:
34
35 .PHONY: dep
36 dep: dep-common
37
38 include $(SRCDIR)/Makefile.common
39
40 include Makefile.depend
41
42 xmlrpc_libwww_transport.lo:%.lo:%.c
43         $(LIBTOOL) --mode=compile $(CC) -c $(INCLUDES) $(CFLAGS) $<
44
45