aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.cvs
blob: 27b4b3ecf18c1c3a1850e0788313a5678f0260bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
LIBTOOLFILES = config.guess config.sub ltconfig ltmain.sh
AUTOMAKEFILES = install-sh missing mkinstalldirs
CONFIGHIN = include/config.h.in
ACLOCAL = aclocal.m4

all:
	@echo "Use make devel for development, make dist for distribution"

devel: $(LIBTOOLFILES) $(AUTOMAKEFILES)
	aclocal
	autoheader
	automake
	autoconf
	touch include/stamp-h.in

dist: $(LIBTOOLFILES) $(AUTOMAKEFILES)
	aclocal
	autoheader
	automake --include-deps
	autoconf
	touch include/stamp-h.in
	./configure
	$(MAKE) dist

$(ACLOCAL): acinclude.m4
	aclocal

$(CONFIGHIN): acconfig.h
	autoheader

$(LIBTOOLFILES):
	libtoolize --copy --force

$(AUTOMAKEFILES): $(CONFIGHIN)
	-automake --add-missing --copy