initial load of upstream version 1.06.32
[xmlrpc-c] / lib / expat / gennmtab / Makefile
diff --git a/lib/expat/gennmtab/Makefile b/lib/expat/gennmtab/Makefile
new file mode 100644 (file)
index 0000000..03891e9
--- /dev/null
@@ -0,0 +1,45 @@
+ifeq ($(SRCDIR)x,x)
+SRCDIR = $(CURDIR)/../../..
+endif
+
+include $(SRCDIR)/Makefile.config
+
+CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
+
+LDFLAGS = $(LADD)
+
+INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/lib/util/include
+
+default: all
+
+include $(SRCDIR)/Makefile.common
+
+.PHONY: all
+all: gennmtab
+
+.PHONY: clean
+clean: clean-common
+       rm -f gennmtab
+
+.PHONY: distclean
+distclean: clean distclean-common
+
+.PHONY: tags
+tags: TAGS
+
+.PHONY: distdir
+distdir:
+
+.PHONY: install
+install:
+
+.PHONY: dep
+dep: dep-common
+
+gennmtab.o:%.o:%.c
+       $(BUILDTOOL_CC) -c $< -o $@ $(CFLAGS) $(INCLUDES)
+
+gennmtab:%:%.o
+       $(BUILDTOOL_CCLD) -o $@ $(LDFLAGS) $^
+
+include Makefile.depend