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