Debian Codegraph @

gtk/gtkmm/Makefile.am

raw
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
18 lib_LTLIBRARIES = libgtkmm-@[email protected]
19
20 include $(srcdir)/../src/filelist.gmake.am
21 include $(srcdir)/filelist.gmake.am
22
23 files_built_cc = $(gtkmm_files_built_cc)
24 files_built_h = $(gtkmm_files_built_h)
25 files_built_ph = $(gtkmm_files_built_ph)
26 files_extra_cc = $(gtkmm_files_extra_cc)
27 files_extra_h = $(gtkmm_files_extra_h)
28 files_extra_ph = $(gtkmm_files_extra_ph)
29
30 local_includes = -I$(top_builddir)/gdk $(if $(srcdir:.=),-I$(top_srcdir)/gdk)
31 local_libadd = $(top_builddir)/gdk/gdkmm/libgdkmm-$(GDKMM_API_VERSION).la
32
33 include $(top_srcdir)/build/compile-binding.am
34
35 local_cppflags = $(binding_includes) $(local_includes) $(binding_cppflags) -DGTKMM_BUILD=1
36
37 AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS) $(GTKMM_CFLAGS)
38 AM_CXXFLAGS = $(GTKMM_WXXFLAGS)
39
40 libgtkmm_@GTKMM_API_VERSION@_la_SOURCES = $(binding_sources)
41 libgtkmm_@GTKMM_API_VERSION@_la_LDFLAGS = -no-undefined -version-info $(LIBGTKMM_SO_VERSION)
42 libgtkmm_@GTKMM_API_VERSION@_la_LIBADD = $(local_libadd) $(GTKMM_LIBS)