aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.cvs
blob: 9f5035ee985ab24f9edde0b7f1b4bce927340566 (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
36
37
LIBTOOLFILES = conf/config.guess conf/config.sub conf/ltconfig conf/ltmain.sh
AUTOMAKEFILES = conf/install-sh conf/missing conf/mkinstalldirs
CONFIGHIN = include/config.h.in
ACLOCAL = conf/aclocal.m4

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

devel: $(LIBTOOLFILES) $(AUTOMAKEFILES)
	aclocal -I conf/m4/plptools -I conf/m4/kde
	autoheader
	automake
	make -C kde2 -f Makefile.am am_edit
	autoconf
	touch include/stamp-h.in

dist: $(LIBTOOLFILES) $(AUTOMAKEFILES)
	aclocal -I conf/m4/plptools -I conf/m4/kde
	autoheader
	automake --include-deps
	make -C kde2 -f Makefile.am am_edit
	autoconf
	touch include/stamp-h.in
	./configure --enable-kde
	$(MAKE) dist

$(ACLOCAL):
	aclocal

$(CONFIGHIN): acconfig.h
	autoheader

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

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