X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=xml%2FMakefile;h=8b9af859debedd9fdd027105702f2e980f1b5c98;hb=HEAD;hp=6cc05119a359d1a4afca2b6e6bded0bddaeb37ef;hpb=e167c2fc955423dee63194b5e4e51b10dfeb40f3;p=libucw.git diff --git a/xml/Makefile b/xml/Makefile deleted file mode 100644 index 6cc05119..00000000 --- a/xml/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# Makefile for the XML parser -# (c) 2007 Pavel Charvat - -DIRS+=xml -PROGS+=$(o)/xml/xml-test - -LIBXML_MODS=common source parse dtd -LIBXML_INCLUDES=xml.h dtd.h - -LIBXML_MOD_PATHS=$(addprefix $(o)/xml/,$(LIBXML_MODS)) - -$(o)/xml/libucw-xml$(LV).a: $(addsuffix .o,$(LIBXML_MOD_PATHS)) -$(o)/xml/libucw-xml$(LV)-pic.a: $(addsuffix .oo,$(LIBXML_MOD_PATHS)) -$(o)/xml/libucw-xml$(LV).so: $(addsuffix .oo,$(LIBXML_MOD_PATHS)) -$(o)/xml/libucw-xml$(LV).so: SONAME_SUFFIX=.$(UCW_ABI_MAJOR) -$(o)/xml/libucw-xml.pc: $(LIBCHARSET) - -ifdef CONFIG_STATIC_PIC -$(o)/xml/libucw-xml.pc: $(o)/xml/libucw-xml$(LV)-pic.a -endif -ifdef CONFIG_INSTALL_API -$(o)/xml/libucw-xml.pc: $(addprefix $(o)/xml/libucw-xml$(LV),.a .so) -endif - -$(o)/xml/common.o: $(o)/xml/unicat.h -$(o)/xml/common.oo: $(o)/xml/unicat.h -$(o)/xml/source.o: $(o)/xml/unicat.h -$(o)/xml/source.oo: $(o)/xml/unicat.h -$(o)/xml/dtd.o: $(o)/xml/unicat.h -$(o)/xml/dtd.oo: $(o)/xml/unicat.h -$(o)/xml/parse.o: $(o)/xml/unicat.h -$(o)/xml/parse.oo: $(o)/xml/unicat.h -$(o)/xml/unicat.h: $(s)/xml/unicat.pl - $(M)GEN $(addprefix $(o)/xml/unicat,.h .c) - $(Q)$< $(addprefix $(o)/xml/unicat,.h .c) - $(Q)touch $@ - -TESTS+=$(o)/xml/xml-test.test -$(o)/xml/xml-test: $(o)/xml/xml-test.o $(LIBXML) -$(o)/xml/xml-test.test: $(o)/xml/xml-test - -API_LIBS+=libucw-xml -API_INCLUDES+=$(o)/xml/.include-stamp -$(o)/xml/.include-stamp: $(addprefix $(s)/xml/,$(LIBXML_INCLUDES)) -$(o)/xml/.include-stamp: IDST=xml -run/lib/pkgconfig/libucw-xml.pc: $(o)/xml/libucw-xml.pc - -INSTALL_TARGETS+=install-libucw-xml-lib -install-libucw-xml-lib: - install -d -m 755 $(DESTDIR)$(INSTALL_LIB_DIR) - install -m 644 run/lib/libucw-xml$(LV).so.$(UCW_ABI_MAJOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libucw-xml$(LV).so.$(UCW_ABI_VERSION) -.PHONY: install-libucw-xml-lib - -INSTALL_TARGETS+=install-libucw-xml-api -install-libucw-xml-api: - install -d -m 755 $(DESTDIR)$(INSTALL_INCLUDE_DIR)/xml $(DESTDIR)$(INSTALL_LIB_DIR) $(DESTDIR)$(INSTALL_PKGCONFIG_DIR) - install -m 644 run/lib/pkgconfig/libucw-xml.pc $(DESTDIR)$(INSTALL_PKGCONFIG_DIR) - install -m 644 $(addprefix run/include/xml/,$(LIBXML_INCLUDES)) $(DESTDIR)$(INSTALL_INCLUDE_DIR)/xml - ln -sf libucw-xml$(LV).so.$(UCW_ABI_VERSION) $(DESTDIR)$(INSTALL_LIB_DIR)/libucw-xml$(LV).so - install -m 644 run/lib/libucw-xml$(LV).a $(DESTDIR)$(INSTALL_LIB_DIR) -.PHONY: install-libucw-xml-api