X-Git-Url: http://git.maemo.org/git/?p=xmlrpc-c;a=blobdiff_plain;f=lib%2Fexpat%2Fxmlparse%2FMakefile;fp=lib%2Fexpat%2Fxmlparse%2FMakefile;h=96c0be8a394113c796c770ae95f18bdc70f2029a;hp=0000000000000000000000000000000000000000;hb=ce67d0cdeaa37c3e856e23ae4010480887165630;hpb=e355d4e7962400470f467b88f5568de9c8324475 diff --git a/lib/expat/xmlparse/Makefile b/lib/expat/xmlparse/Makefile new file mode 100644 index 0000000..96c0be8 --- /dev/null +++ b/lib/expat/xmlparse/Makefile @@ -0,0 +1,57 @@ +ifeq ($(SRCDIR)x,x) +SRCDIR = $(CURDIR)/../../.. +endif +SUBDIR = lib/expat/xmlparse +# BLDDIR is for use in places where a symbolic link won't work. +# BUILDDIR is for places in Makefile.common that can use the 'blddir' +# symbolic link (but in other directories, doesn't). +BLDDIR = ../../.. +BUILDDIR = blddir +VPATH = .:$(SRCDIR) + +XMLTOKDIR = ../xmltok +UTILDIR = $(SRCDIR)/lib/util + +include $(BLDDIR)/Makefile.config + +default: all + +all: libxmlrpc_xmlparse.la + +LIBXMLRPC_XMLPARSE_OBJS = xmlparse.lo + +INCLUDES = -Iblddir -I$(SRCDIR) -I$(UTILDIR)/include -I$(XMLTOKDIR) + +LDFLAGS = $(LADD) + +LIBLDFLAGS = $(LDFLAGS_VERSINFO) -rpath $(LIBINST_DIR) $(LADD) + +libxmlrpc_xmlparse.la: $(LIBXMLRPC_XMLPARSE_OBJS) + $(LIBTOOL) --mode=link $(CCLD) -o $@ $(LIBLDFLAGS) $^ + +CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) + +$(LIBXMLRPC_XMLPARSE_OBJS):%.lo:%.c + $(LIBTOOL) --mode=compile $(CC) -c $(INCLUDES) $(CFLAGS) $< + +LTLIBRARIES_TO_INSTALL = libxmlrpc_xmlparse.la + +.PHONY: install +install: install-common + +.PHONY: clean distclean +clean: clean-common + +distclean: clean distclean-common + +.PHONY: dep +dep: dep-common + +# This 'Makefile.common' dependency makes sure the symlinks get built before +# this make file is used for anything. + +$(SRCDIR)/Makefile.common: srcdir blddir + +include $(SRCDIR)/Makefile.common + +include Makefile.depend