1 |
default: all |
2 |
|
3 |
all: configure |
4 |
|
5 |
check_dependencies: |
6 |
@if ! which intltoolize > /dev/null ; then \ |
7 |
echo "Could not find intltoolize, make sure intltool is installed!"; \ |
8 |
exit -1; \ |
9 |
fi |
10 |
@if ! which aclocal > /dev/null ; then \ |
11 |
echo "Could not find aclocal, make sure automake is installed!"; \ |
12 |
exit -1; \ |
13 |
fi |
14 |
@if ! which autoconf > /dev/null ; then \ |
15 |
echo "Could not find autoconf, make sure it is installed!"; \ |
16 |
exit -1; \ |
17 |
fi |
18 |
@if ! which autoheader > /dev/null ; then \ |
19 |
echo "Could not find autoheader, make sure autoconf is installed!"; \ |
20 |
exit -1; \ |
21 |
fi |
22 |
@if ! which automake > /dev/null ; then \ |
23 |
echo "Could not find automake, make sure it is installed!"; \ |
24 |
exit -1; \ |
25 |
fi |
26 |
|
27 |
configure: check_dependencies configure.ac Makefile.am \ |
28 |
src/Makefile.am |
29 |
@intltoolize --force --automake |
30 |
@aclocal |
31 |
@libtoolize --force --copy |
32 |
@autoheader |
33 |
@automake --add-missing --copy |
34 |
@autoconf |
35 |
###################################################################### |
36 |
# If you are compiling gigedit from CVS, make sure to use the latest # |
37 |
# version of libgig from CVS as well ! # |
38 |
###################################################################### |
39 |
|
40 |
clean: |
41 |
@if [ -f Makefile ]; then make distclean; fi || true |
42 |
@rm -rvf *.cache *.log *.status *.m4 |
43 |
@rm -rvf src/Makefile.in src/config.h.in src/config.h src/stamp-h.* |
44 |
@rm -rvf po/Makefile.in debian/Makefile.in |
45 |
@rm -rvf Makefile.in config.* |
46 |
@rm -rvf missing install-sh mkinstalldirs depcomp ltmain.sh |
47 |
@rm -rvf configure stamp-h.* |
48 |
@find . -type l | xargs rm -f |
49 |
@rm -rvf *~ autom4te.cache \ |
50 |
depcomp INSTALL install-sh Makefile Makefile.in missing mkinstalldirs \ |
51 |
gigedit-*.tar.gz po/*~ src/*~ gigedit.kdevelop.pcs debug src/a.out \ |
52 |
Doxyfile COPYING |