]> mj.ucw.cz Git - libucw.git/blobdiff - lib/Makefile
XML: Backuped unfinished XML parser.
[libucw.git] / lib / Makefile
index 52751e11e95035c8e88d4631824df3b12f09e7c7..669f356b152925c7fc69cfa4a9acf64312d85857 100644 (file)
@@ -33,7 +33,8 @@ LIBUCW_MODS= \
        qache \
        string \
        bbuf \
        qache \
        string \
        bbuf \
-       getopt
+       getopt \
+       xml
 
 LIBUCW_INCLUDES= \
        lib.h config.h threads.h \
 
 LIBUCW_INCLUDES= \
        lib.h config.h threads.h \
@@ -60,7 +61,8 @@ LIBUCW_INCLUDES= \
        base64.h base224.h \
        qache.h \
        kmp.h kmp-search.h binsearch.h \
        base64.h base224.h \
        qache.h \
        kmp.h kmp-search.h binsearch.h \
-       partmap.h
+       partmap.h \
+       xml.h
 
 ifdef CONFIG_UCW_THREADS
 # Some modules require threading
 
 ifdef CONFIG_UCW_THREADS
 # Some modules require threading
@@ -86,6 +88,11 @@ $(o)/lib/libucw.so: $(addsuffix .oo,$(LIBUCW_MOD_PATHS))
 $(o)/lib/hashfunc.o $(o)/lib/hashfunc.oo: CFLAGS += -funroll-loops
 $(o)/lib/lizard.o: CFLAGS += $(COPT2) -funroll-loops
 
 $(o)/lib/hashfunc.o $(o)/lib/hashfunc.oo: CFLAGS += -funroll-loops
 $(o)/lib/lizard.o: CFLAGS += $(COPT2) -funroll-loops
 
+$(o)/lib/xml.o: $(o)/lib/xml-ucat.h
+$(o)/lib/xml-ucat.h: $(s)/lib/xml-ucat.pl
+       $(M)GEN $@
+       $(Q)$< >$@
+
 $(o)/lib/db-test: $(o)/lib/db-test.o $(LIBUCW)
 $(o)/lib/db-tool: $(o)/lib/db-tool.o $(LIBUCW)
 $(o)/lib/conf-test: $(o)/lib/conf-test.o $(LIBUCW)
 $(o)/lib/db-test: $(o)/lib/db-test.o $(LIBUCW)
 $(o)/lib/db-tool: $(o)/lib/db-tool.o $(LIBUCW)
 $(o)/lib/conf-test: $(o)/lib/conf-test.o $(LIBUCW)