automake: add basic libtool support
[dahdi/tools.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2
3 LEGACY_MAKE     = \
4          $(MAKE) -f $(srcdir)/Makefile.legacy \
5                 top_srcdir=$(top_srcdir) \
6                 srcdir=$(srcdir)
7
8 SUBDIRS = xpp
9
10 all-local:
11         $(LEGACY_MAKE)  all
12
13 clean-local:
14         $(LEGACY_MAKE) clean
15
16 install-exec-hook:
17         $(LEGACY_MAKE) install
18
19 dist:
20         $(LEGACY_MAKE) dist
21
22 docs config:
23         $(LEGACY_MAKE)  $@
24
25 DISTCLEANFILES  = makeopts config.log config.status .*.d
26
27 MAINTAINERCLEANFILES    = \
28                 m4/libtool.m4 \
29                 m4/ltoptions.m4 \
30                 m4/ltsugar.m4 \
31                 m4/ltversion.m4 \
32                 m4/lt~obsolete.m4 \
33                 #
34
35 .PHONY: docs config