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