1## Copyright (c) 2009  Openismus GmbH  <http://www.openismus.com/>
2##
3## This file is part of gtkmm.
4##
5## gtkmm is free software: you can redistribute it and/or modify it
6## under the terms of the GNU Lesser General Public License as published
7## by the Free Software Foundation, either version 2.1 of the License,
8## or (at your option) any later version.
9##
10## gtkmm is distributed in the hope that it will be useful, but
11## WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13## See the GNU Lesser General Public License for more details.
14##
15## You should have received a copy of the GNU Lesser General Public License
16## along with this library.  If not, see <http://www.gnu.org/licenses/>.
17
18ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
19DISTCHECK_CONFIGURE_FLAGS = --enable-warnings=fatal
20
21if MAINTAINER_MODE
22src_subdirs = gdk/src gtk/src
23else
24src_subdirs =
25endif
26if ENABLE_DOCUMENTATION
27doc_subdirs = docs
28else
29doc_subdirs =
30endif
31SUBDIRS = tools $(src_subdirs) gdk/gdkmm gtk/gtkmm tests demos $(doc_subdirs)
32
33gdkmm_includedir = $(includedir)/$(GDKMM_MODULE_NAME)
34gdkmm_include_HEADERS = gdk/gdkmm.h
35gdkmm_libincludedir = $(libdir)/$(GDKMM_MODULE_NAME)/include
36nodist_gdkmm_libinclude_HEADERS = gdk/gdkmmconfig.h
37
38gtkmm_includedir = $(includedir)/$(GTKMM_MODULE_NAME)
39gtkmm_include_HEADERS = gtk/gtkmm.h
40gtkmm_libincludedir = $(libdir)/$(GTKMM_MODULE_NAME)/include
41nodist_gtkmm_libinclude_HEADERS = gtk/gtkmmconfig.h
42
43pkgconfigdir = $(libdir)/pkgconfig
44pkgconfig_DATA = gdk/$(GDKMM_MODULE_NAME).pc gtk/$(GTKMM_MODULE_NAME).pc
45
46include $(srcdir)/MSVC_NMake/filelist.am
47include $(srcdir)/win32_installer/filelist.am
48
49text_files = COPYING.tools README.SUN README.win32
50msvc_files = $(addprefix MSVC_NMake/,$(msvc_nmake_data))
51winstall_files = $(addprefix win32_installer/,$(windows_installer_files))
52
53dist_noinst_DATA = $(text_files) $(msvc_files) $(winstall_files)
54dist_noinst_SCRIPTS = autogen.sh
55
56DISTCLEANFILES = $(filter %mmconfig.h,$(msvc_files)) win32_installer/lgpl.txt
57
58# Optional: auto-generate the ChangeLog file from the git log on make dist
59include $(top_srcdir)/build/dist-changelog.am
60