|
Packit |
306c40 |
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
|
|
Packit |
306c40 |
##
|
|
Packit |
306c40 |
## This file is part of glibmm.
|
|
Packit |
306c40 |
##
|
|
Packit |
306c40 |
## glibmm is free software: you can redistribute it and/or modify it
|
|
Packit |
306c40 |
## under the terms of the GNU Lesser General Public License as published
|
|
Packit |
306c40 |
## by the Free Software Foundation, either version 2.1 of the License,
|
|
Packit |
306c40 |
## or (at your option) any later version.
|
|
Packit |
306c40 |
##
|
|
Packit |
306c40 |
## glibmm is distributed in the hope that it will be useful, but
|
|
Packit |
306c40 |
## WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
306c40 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
Packit |
306c40 |
## See the GNU Lesser General Public License for more details.
|
|
Packit |
306c40 |
##
|
|
Packit |
306c40 |
## You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
306c40 |
## along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
|
|
Packit |
306c40 |
DISTCHECK_CONFIGURE_FLAGS = --enable-warnings=fatal
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
if MAINTAINER_MODE
|
|
Packit |
306c40 |
src_subdirs = glib/src gio/src
|
|
Packit |
306c40 |
else
|
|
Packit |
306c40 |
src_subdirs =
|
|
Packit |
306c40 |
endif
|
|
Packit |
306c40 |
if ENABLE_DOCUMENTATION
|
|
Packit |
306c40 |
doc_subdirs = docs
|
|
Packit |
306c40 |
else
|
|
Packit |
306c40 |
doc_subdirs =
|
|
Packit |
306c40 |
endif
|
|
Packit |
306c40 |
SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs)
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME)
|
|
Packit |
306c40 |
glibmm_include_HEADERS = glib/glibmm.h
|
|
Packit |
306c40 |
glibmm_libincludedir = $(libdir)/$(GLIBMM_MODULE_NAME)/include
|
|
Packit |
306c40 |
nodist_glibmm_libinclude_HEADERS = glib/glibmmconfig.h
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
giomm_includedir = $(includedir)/$(GIOMM_MODULE_NAME)
|
|
Packit |
306c40 |
giomm_include_HEADERS = gio/giomm.h
|
|
Packit |
306c40 |
giomm_libincludedir = $(libdir)/$(GIOMM_MODULE_NAME)/include
|
|
Packit |
306c40 |
nodist_giomm_libinclude_HEADERS = gio/giommconfig.h
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
pkgconfigdir = $(libdir)/pkgconfig
|
|
Packit |
306c40 |
nodist_pkgconfig_DATA = glib/$(GLIBMM_MODULE_NAME).pc gio/$(GIOMM_MODULE_NAME).pc
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
include $(srcdir)/MSVC_Net2013/filelist.am
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
text_files = COPYING.tools README.SUN README.win32
|
|
Packit |
306c40 |
msvc_files = $(addprefix MSVC_Net2013/,$(msvc_net2013_data))
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
dist_noinst_DATA = $(text_files) $(msvc_files)
|
|
Packit |
306c40 |
dist_noinst_SCRIPTS = autogen.sh
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
DISTCLEANFILES = $(filter %mmconfig.h,$(msvc_files))
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
# Auto-generate the ChangeLog file from the git log on make dist
|
|
Packit |
306c40 |
include $(top_srcdir)/build/dist-changelog.am
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
reformat:
|
|
Packit |
306c40 |
if HAVE_CLANG_FORMAT
|
|
Packit |
306c40 |
$(CLANG_FORMAT) -i `find . -name "*.h"`
|
|
Packit |
306c40 |
$(CLANG_FORMAT) -i `find . -name "*.cc"`
|
|
Packit |
306c40 |
else
|
|
Packit |
306c40 |
$(error clang-format was not not found during configure.)
|
|
Packit |
306c40 |
endif
|