Upstream tarball 20080514
[amule.git] / Makefile.am
blobc3eaec4bc47c33fbd33bf56352b4b3430a7e37ae
1 SUBDIRS = docs src unittests
3 if COMPILE_NLS
4 SUBDIRS += intl po
5 endif
7 EXTRA_DIST = amule.rc amule.ico amule.png convert.ico \
8         README.Debian-Packages aMule-CVS.spec aMule.spec \
9         amule_build_install.sh autogen.sh \
10         po/l10n.xsl
12 dist_icon_DATA = 
13 icondir = $(datadir)/pixmaps
15 dist_util_DATA = 
16 utildir = $(datadir)/applications
18 if MONOLITHIC
19 dist_icon_DATA += amule.xpm
20 dist_util_DATA += amule.desktop
21 endif
23 if AMULE_GUI
24 dist_icon_DATA += amulegui.xpm
25 dist_util_DATA += amulegui.desktop
26 endif
28 ACLOCAL_AMFLAGS = -I m4
30 DISTCHECK_CONFIGURE_FLAGS = \
31         --enable-amulecmd \
32         --enable-webserver \
33         --enable-amule-daemon \
34         --enable-amule-gui \
35         --enable-cas \
36         --enable-wxcas \
37         --enable-alc \
38         --enable-alcc
40 # Avoid everything getting built when doing "make check"
41 check-recursive: SUBDIRS = unittests
43 MAINTAINERCLEANFILES = ABOUT-NLS \
44                                            Makefile.in \
45                                            aclocal.m4 \
46                                            config.guess \
47                                            config.h.in \
48                                            config.rpath \
49                                            config.sub \
50                                            configure \
51                                            depcomp \
52                                            install-sh \
53                                            missing \
54                                            mkinstalldirs
56 EXTRA__DIST__SUBDIRS = aMule.app debian
57 include $(top_srcdir)/automake/dist-hook.am