Commit 45cce2f2 authored by Daniel Elstner's avatar Daniel Elstner

Convert main source directories to mm-common

* configure.ac: Get rid of some more cruft we no longer need.
(DISABLE_DEPRECATED_API): Add Automake conditional.
(AC_CONFIG_FILES): Remove tools/{m4,extra_defs_gen}/Makefile and
{atk,gdk,gtk}/{atk,gdk,gtk}mm/private/Makefile.
* tools/Makefile.am: Non-recursively build the contents of all
subdirectories.
* tools/m4/filelist.am: Overhaul for new build system and rename
file from Makefile_list_of_sources.am_fragment to filelist.am.
* tools/Makefile_list_of_sources.am_fragment: Delete file.
* tools/extra_defs_gen/Makefile.am: Delete recursive Makefile.
* tools/m4/Makefile.am: ditto.
* tools/README, tools/TODO: Delete unhelpful and obsolete files.
* {atk,gdk,gtk}/src/filelist.am: Adapt file lists to new mm-common
build organization and rename from Makefile_list_of_hg.am_fragment
to filelist.am.
* {atk,gdk,gtk}/{atk,gdk,gtk}mm/filelist.am: New files defining the
lists of source files to compile and include in the libraries.
* {atk,gdk,gtk}/src/Makefile.am: Rewrite based upon the new build
support files from mm-common.
* {atk,gdk,gtk}/{atk,gdk,gtk}mm/Makefile.am: ditto.
* {atk,gdk,gtk}/{atk,gdk,gtk}mm/private/Makefile.am: Delete files.
* build_shared/*.am_fragment: Delete obsolete build support files.
parent c3f48eb9
......@@ -6,6 +6,7 @@ Makefile.in
.deps/
.libs/
.stamps/
.dirstamp
stamp-h?
# generated private headers
......
2009-08-12 Daniel Elstner <danielk@openismus.com>
Convert main source directories to mm-common
* configure.ac: Get rid of some more cruft we no longer need.
(DISABLE_DEPRECATED_API): Add Automake conditional.
(AC_CONFIG_FILES): Remove tools/{m4,extra_defs_gen}/Makefile and
{atk,gdk,gtk}/{atk,gdk,gtk}mm/private/Makefile.
* tools/Makefile.am: Non-recursively build the contents of all
subdirectories.
* tools/m4/filelist.am: Overhaul for new build system and rename
file from Makefile_list_of_sources.am_fragment to filelist.am.
* tools/Makefile_list_of_sources.am_fragment: Delete file.
* tools/extra_defs_gen/Makefile.am: Delete recursive Makefile.
* tools/m4/Makefile.am: ditto.
* tools/README, tools/TODO: Delete unhelpful and obsolete files.
* {atk,gdk,gtk}/src/filelist.am: Adapt file lists to new mm-common
build organization and rename from Makefile_list_of_hg.am_fragment
to filelist.am.
* {atk,gdk,gtk}/{atk,gdk,gtk}mm/filelist.am: New files defining the
lists of source files to compile and include in the libraries.
* {atk,gdk,gtk}/src/Makefile.am: Rewrite based upon the new build
support files from mm-common.
* {atk,gdk,gtk}/{atk,gdk,gtk}mm/Makefile.am: ditto.
* {atk,gdk,gtk}/{atk,gdk,gtk}mm/private/Makefile.am: Delete files.
* build_shared/*.am_fragment: Delete obsolete build support files.
2009-08-12 Daniel Elstner <danielk@openismus.com>
Do not recurse into MSVC or NSI subdirectories
......
## Copyright (c) 2001
## The gtkmm development team.
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of gtkmm.
##
## gtkmm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## gtkmm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
SUBDIRS = private
sublib_name = atkmm
sublib_libname = atkmm-1.6
sublib_libversion = $(LIBGTKMM_SO_VERSION)
sublib_namespace = Atk
sublib_cflags = $(ATKMM_CFLAGS)
sublib_topdir = atk
sublib_win32_dlls_libs =
sublib_files_extra_posix_cc =
sublib_files_extra_win32_cc =
sublib_files_extra_general_cc = init.cc
sublib_files_extra_general_deprecated_cc =
lib_LTLIBRARIES = libatkmm-1.6.la
sublib_files_extra_posix_h =
sublib_files_extra_win32_h =
sublib_files_extra_general_h = init.h
sublib_files_extra_general_deprecated_h =
include $(srcdir)/../src/filelist.am
include $(srcdir)/filelist.am
include $(top_srcdir)/build_shared/Makefile_build.am_fragment
files_built_cc = $(atkmm_files_built_cc)
files_built_h = $(atkmm_files_built_h)
files_built_ph = $(atkmm_files_built_ph)
files_extra_cc = $(atkmm_files_extra_cc)
files_extra_h = $(atkmm_files_extra_h)
files_extra_ph = $(atkmm_files_extra_ph)
lib_LTLIBRARIES = libatkmm-1.6.la
include $(top_srcdir)/scripts/compile-binding.am
libatkmm_1_6_la_SOURCES = $(files_built_cc) $(files_extra_cc)
libatkmm_1_6_la_LDFLAGS = $(common_ldflags)
libatkmm_1_6_la_LIBADD = $(win32_dlls_extra_libs) $(ATKMM_LIBS)
AM_CPPFLAGS = $(binding_includes) $(binding_cppflags) $(GTHREAD_CFLAGS) $(ATKMM_CFLAGS)
AM_CXXFLAGS = $(GTKMM_WXXFLAGS)
libatkmm_1_6_la_SOURCES = $(binding_sources)
libatkmm_1_6_la_LDFLAGS = -no-undefined -version-info $(LIBGTKMM_SO_VERSION)
libatkmm_1_6_la_LIBADD = $(ATKMM_LIBS)
## This file is part of gtkmm.
atkmm_files_built_cc = $(atkmm_files_hg:.hg=.cc) wrap_init.cc
atkmm_files_built_h = $(atkmm_files_hg:.hg=.h)
atkmm_files_built_ph = $(patsubst %.hg,private/%_p.h,$(atkmm_files_hg))
atkmm_files_extra_cc = init.cc
atkmm_files_extra_h = init.h wrap_init.h
atkmm_files_extra_ph =
## Copyright (c) 2001
## The gtkmm development team.
include $(srcdir)/../../src/Makefile_list_of_hg.am_fragment
files_built_p_h = $(files_all_hg:.hg=_p.h)
private_includedir = $(includedir)/atkmm-1.6/atkmm/private
private_include_HEADERS = $(files_built_p_h)
maintainer-clean-local:
(cd $(srcdir) && rm -f $(files_built_p_h))
## Copyright (c) 2001
## The gtkmm development team.
sublib_name = atkmm
sublib_namespace = Atk
sublib_parentdir = atkmm
files_defs = atk.defs atk_enums.defs atk_methods.defs atk_signals.defs atk_vfuncs.defs \
atk_docs.xml atk_docs_override.xml
include $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of gtkmm.
##
## gtkmm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## gtkmm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
binding_name = atkmm
wrap_init_flags = --namespace=Atk --parent_dir=atkmm
codegen_srcdir = $(top_srcdir)/tools
include $(srcdir)/filelist.am
include $(top_srcdir)/tools/m4/filelist.am
files_defs = $(atkmm_files_defs)
files_ccg = $(atkmm_files_ccg)
files_hg = $(atkmm_files_hg)
include $(top_srcdir)/scripts/generate-binding.am
# This file is include by other Makefile.am files, using the new automake include feature.
# The include happens in Makefile.am, not Makefile.in or Makefile,
# so it's like copy-and-pasting this into each of those Makefile.am files.
files_posix_hg =
files_win32_hg =
files_general_hg = action.hg component.hg document.hg editabletext.hg hyperlink.hg hypertext.hg image.hg \
implementor.hg noopobject.hg object.hg objectaccessible.hg relation.hg relationset.hg selection.hg \
stateset.hg streamablecontent.hg table.hg text.hg value.hg
files_general_deprecated_hg =
include $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment
## This file is part of gtkmm.
atkmm_files_defs = \
atk.defs \
atk_enums.defs \
atk_methods.defs \
atk_signals.defs \
atk_vfuncs.defs \
atk_docs.xml \
atk_docs_override.xml
atkmm_files_hg = \
action.hg \
component.hg \
document.hg \
editabletext.hg \
hyperlink.hg \
hypertext.hg \
image.hg \
implementor.hg \
noopobject.hg \
object.hg \
objectaccessible.hg \
relation.hg \
relationset.hg \
selection.hg \
stateset.hg \
streamablecontent.hg \
table.hg \
text.hg \
value.hg
atkmm_files_ccg = $(atkmm_files_hg:.hg=.ccg)
## Copyright (c) 2001
## The gtkmm development team.
##
## **** Common rules for inclusion in Makefile.am ****
## Included by Makefile_build_gensrc.am_fragment
##
include $(srcdir)/../src/Makefile_list_of_hg.am_fragment
# Support for DLL on mingw using libtool > 1.4
# When creating DLLs on win32, we need to explicitly add a few extra
# libraries at link time to resolve symbols (remember a dll is like an
# executable).
if PLATFORM_WIN32
extra_win32_defines = \
-D$(shell echo $(sublib_name) | tr [:lower:] [:upper:])_BUILD
no_undefined = -no-undefined -Wl,--export-all-symbols
win32_dlls_extra_libs = $(sublib_win32_dlls_libs)
else
extra_win32_defines =
no_undefined =
win32_dlls_extra_libs =
endif
common_ldflags = -version-info $(sublib_libversion) $(no_undefined)
# All modules can include all other modules,
# for instance, so that gdkmm can use headers in pangomm.
all_includes = -I$(top_builddir)/$(sublib_topdir) -I$(top_srcdir)/$(sublib_topdir) \
-I$(top_builddir)/atk -I$(top_srcdir)/atk \
-I$(top_builddir)/gdk -I$(top_srcdir)/gdk \
-I$(top_builddir)/gtk -I$(top_srcdir)/gtk \
$(GTKMM_WXXFLAGS) $(sublib_cflags) $(GTHREAD_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS) $(DISABLE_DEPRECATED_API_CFLAGS)
dist_sources = $(files_all_built_cc) $(files_all_extra_cc) $(files_all_built_h) $(files_all_extra_h)
DISTFILES = $(DIST_COMMON) $(dist_sources) $(TEXINFOS) $(EXTRA_DIST)
DEFS = @DEFS@ -DG_LOG_DOMAIN=\"$(sublib_name)\" $(extra_win32_defines)
DEFAULT_INCLUDES =
# DISABLE_DEPRECATED_CFLAGS and DISABLE_DEPRECATED_API_CFLAGS are empty
# unless the appropriate --enable-*=no options are specified to configure:
INCLUDES = $(strip $(all_includes))
sublib_includedir = $(includedir)/$(sublib_libname)/$(sublib_name)
sublib_include_HEADERS = $(files_all_built_h) $(files_all_extra_h)
maintainer-clean-local:
cd $(srcdir) && rm -f $(files_all_built_cc) $(files_all_built_h)
## Copyright (c) 2001-2004
## The gtkmm development team.
##
## Included by src/Makefile_list_of_hg.am_fragment
##
## This Makefile.am helper transforms lists of source files that are
## specific to a sublibrary (atkmm, pangomm, gdkmm or gtkmm) into more
## generic lists. These lists of files are processed by the automake
## rules contained in Makefile_build.am_fragment (sublib/sublibmm
## directory) and Makefile_gensrc.am_fragment (sublib/src directory).
##
## The input variables are:
## * defined in sublib/src/Makefile_list_of_hg.am_fragment:
## files_posix_hg, files_win32_hg, files_general_hg,
## files_general_deprecated_hg.
## * defined sublib/sublibmm/Makefile.am:
## sublib_files_extra_posix_[cc|h],
## sublib_files_extra_win32_[cc|h],
## sublib_files_extra_general_[cc|h],
## sublib_files_extra_general_deprecated_[cc|h]
##
## The output variables are:
## files_all_hg: all .hg files (general, all platforms, deprecated)
## files_hg: general and platform-specific .hg files
## files_built_cc, files_built_h: generated source files that
## will be compiled on the target platform
## + corresponding headers.
## files_all_built_cc, files_all_built_h: all generated source
## files + corresponding headers.
## files_extra_cc, files_extra_h : general and platform-specific
## source files and corresponding headers
## files_all_extra_cc, files_all_extra_h: all extra source files
## and corresponding headers.
## !!! deprecated files not included !!!
# Built files
files_all_hg = \
$(files_posix_hg) \
$(files_win32_hg) \
$(files_general_hg) \
$(files_general_deprecated_hg)
if OS_WIN32
files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg)
else
files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg)
endif
files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc
files_built_h = $(files_hg:.hg=.h)
files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc
files_all_built_h = $(files_all_hg:.hg=.h)
# Extra files
files_all_extra_cc = \
$(sublib_files_extra_posix_cc) \
$(sublib_files_extra_win32_cc) \
$(sublib_files_extra_general_cc) \
$(sublib_files_extra_general_deprecated_cc)
files_all_extra_h = \
$(sublib_files_extra_posix_h) \
$(sublib_files_extra_win32_h) \
$(sublib_files_extra_general_h) \
$(sublib_files_extra_general_deprecated_h)
files_all_extra_h += wrap_init.h
if OS_WIN32
files_extra_cc = \
$(sublib_files_extra_win32_cc) \
$(sublib_files_extra_general_cc)
files_extra_h = \
$(sublib_files_extra_win32_h) \
$(sublib_files_extra_general_h)
else
files_extra_cc = \
$(sublib_files_extra_posix_cc) \
$(sublib_files_extra_general_cc)
files_extra_h = \
$(sublib_files_extra_posix_h) \
$(sublib_files_extra_general_h)
endif
files_extra_h += wrap_init.h
## Copyright (c) 2001
## The gtkmm development team.
##
## **** Common rules for inclusion in Makefile.am ****
## Included from something/src/Makefile.am
##
## Used variable: Example content:
##
## sublib_name = gdkmm
## sublib_namespace = Gdk
## files_defs = gdk.defs gdk_pixbuf.defs
tools_dir = $(top_srcdir)/tools
tools_dir_m4= $(top_srcdir)/tools/m4
tools_dir_pm= $(top_srcdir)/tools/pm
gensrc_destdir = $(srcdir)/../$(sublib_name)
stamp_dir = $(srcdir)/.stamps
include $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment
tools_m4 = $(files_tools_m4:%.m4=$(tools_dir_m4)/%.m4)
# tools_pm = $(files_tools_pm:%.pm=$(tools_dir_pm)/%.pm)
include $(srcdir)/../src/Makefile_list_of_hg.am_fragment
files_all_ccg = $(files_all_hg:%.hg=%.ccg)
files_h = $(files_all_hg:%.hg=$(gensrc_destdir)/%.h)
files_cc = $(files_all_hg:%.hg=$(gensrc_destdir)/%.cc)
files_stamp = $(files_all_hg:%.hg=$(stamp_dir)/stamp-%)
#Installed gmmproc stuff, from glibmm:
gmmproc_path = $(GMMPROC)
gmmproc_dir = $(GMMPROC_DIR)
# We use our own m4 and pm files as well as the ones installed by gtkmm:
# Our override m4 include seems to need to be before the default one.
gmmproc_args = -I $(tools_dir_m4) --defs $(srcdir)
run_gmmproc = $(gmmproc_path) $(gmmproc_args)
gen_wrap_init_path = $(gmmproc_dir)/generate_wrap_init.pl
gen_wrap_init_args = --namespace=$(sublib_namespace) --parent_dir=$(sublib_parentdir)
run_gen_wrap_init = $(gen_wrap_init_path) $(gen_wrap_init_args)
EXTRA_DIST = Makefile_list_of_hg.am_fragment \
$(files_defs) $(files_all_hg) $(files_all_ccg)
$(stamp_dir)/stamp-%: %.hg %.ccg $(tools_m4) $(files_defs)
$(run_gmmproc) $(notdir $*) $(srcdir) $(gensrc_destdir)
@echo 'timestamp' > $@
sublib_srcdir = $(srcdir)/../src
files_hg_with_path = $(patsubst %.hg,$(sublib_srcdir)/%.hg,$(files_all_hg))
$(gensrc_destdir)/wrap_init.cc: $(gen_wrap_init_path) $(files_hg_with_path)
$(run_gen_wrap_init) $(files_all_hg:%.hg=$(srcdir)/%.hg) >$@
create-stamp-dir:
@(test -d $(stamp_dir) || mkdir $(stamp_dir))
if MAINTAINER_MODE
all-local: create-stamp-dir $(files_stamp) $(gensrc_destdir)/wrap_init.cc
endif
maintainer-clean-local:
rm -rf $(stamp_dir)
......@@ -44,9 +44,6 @@ AC_MSG_CHECKING([for native Windows host])
AS_CASE([$host_os], [mingw*], [gtkmm_host_windows=yes], [gtkmm_host_windows=no])
AC_MSG_RESULT([$gtkmm_host_windows])
AM_CONDITIONAL([HOST_WINDOWS_NATIVE], [test "x$gtkmm_host_windows" = xyes])
# TODO: kill dummies
AM_CONDITIONAL([OS_WIN32], [false])
AM_CONDITIONAL([PLATFORM_WIN32], [false])
# TODO: What exactly does this do? If both static and shared libraries
# are built, both builds will have this macro defined!
......@@ -68,10 +65,8 @@ PKG_CHECK_MODULES([GDKMM], [$GDKMM_MODULES])
PKG_CHECK_MODULES([GTKMM], [$GTKMM_MODULES])
MM_PKG_CONFIG_SUBST([GTHREAD_CFLAGS], [--cflags-only-other gthread-2.0])
MM_PKG_CONFIG_SUBST([GTHREAD_LIBS], [--libs-only-other --libs-only-l gthread-2.0])
MM_PKG_CONFIG_SUBST([GTHREAD_LIBS], [--libs gthread-2.0])
MM_PKG_CONFIG_SUBST([GMMPROC_DIR], [--variable=gmmprocdir glibmm-2.4])
# TODO: Temporary hack
AC_SUBST([GMMPROC], ['${GMMPROC_DIR}/gmmproc'])
# Create a list of input directories for Doxygen.
# TODO: kill
......@@ -93,6 +88,7 @@ Do not use this option for distribution packages.]])
DISABLE_DEPRECATED_API_CFLAGS='-DATKMM_DISABLE_DEPRECATED=1 -DGDKMM_DISABLE_DEPRECATED=1 -DGTKMM_DISABLE_DEPRECATED=1'dnl
])
AC_SUBST([DISABLE_DEPRECATED_API_CFLAGS])
AM_CONDITIONAL([DISABLE_DEPRECATED_API], [test "x$gtkmm_deprecated_api" = xyes])
# Offer the ability to omit some API from the library, to reduce the code size.
# Note that there are other options in glibmm, which affect gtkmm.
......@@ -102,7 +98,6 @@ AS_IF([test "x$gtkmm_enable_api_atkmm" = xno],
[GTKMM_PC_ATKMM_DEP=],
[GTKMM_PC_ATKMM_DEP=atkmm-1.6])
AC_SUBST([GTKMM_PC_ATKMM_DEP])
AM_CONDITIONAL([GTKMM_ATKMM_ENABLED], [test "x$gtkmm_enable_api_atkmm" != xno])
GTKMM_ARG_ENABLE_API_MAEMO_EXTENSIONS
......@@ -111,7 +106,7 @@ AC_LANG([C++])
AC_CHECK_FUNCS([flockfile funlockfile getc_unlocked mkfifo])
# Evaluate the --enable-warnings=level option.
DK_ARG_ENABLE_WARNINGS([GTKMM_WXXFLAGS],
MM_ARG_ENABLE_WARNINGS([GTKMM_WXXFLAGS],
[-Wall],
[-pedantic -Wall -Wextra]
[G PANGO ATK GDK GDK_PIXBUF GTK])
......@@ -120,7 +115,6 @@ AC_CONFIG_FILES([
atk/atkmm-1.6.pc
atk/src/Makefile
atk/atkmm/Makefile
atk/atkmm/private/Makefile
])
AC_CONFIG_FILES([
......@@ -138,16 +132,12 @@ AC_CONFIG_FILES([
gdk/gdkmm-2.4.pc
gdk/src/Makefile
gdk/gdkmm/Makefile
gdk/gdkmm/private/Makefile
gtk/gtkmm-2.4.pc
gtk/src/Makefile
gtk/gtkmm/Makefile
gtk/gtkmm/private/Makefile
tools/Makefile
tools/m4/Makefile
tools/extra_defs_gen/Makefile
])
AC_CONFIG_FILES([
......
## Copyright (c) 2001
## The gtkmm development team.
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of gtkmm.
##
## gtkmm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## gtkmm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
SUBDIRS = private
lib_LTLIBRARIES = libgdkmm-2.4.la
sublib_name = gdkmm
sublib_libname = gdkmm-2.4
sublib_libversion = $(LIBGTKMM_SO_VERSION)
sublib_namespace = Gdk
sublib_cflags = $(GDKMM_CFLAGS)
sublib_topdir = gdk
sublib_win32_dlls_libs =
include $(srcdir)/../src/filelist.am
include $(srcdir)/filelist.am
sublib_files_extra_posix_cc =
sublib_files_extra_win32_cc =
sublib_files_extra_general_cc = general.cc rgb.cc
sublib_files_extra_general_deprecated_cc =
files_built_cc = $(gdkmm_files_built_cc)
files_built_h = $(gdkmm_files_built_h)
files_built_ph = $(gdkmm_files_built_ph)
files_extra_cc = $(gdkmm_files_extra_cc)
files_extra_h = $(gdkmm_files_extra_h)
files_extra_ph = $(gdkmm_files_extra_ph)
sublib_files_extra_posix_h =
sublib_files_extra_win32_h =
sublib_files_extra_general_h = list.h general.h rgb.h
sublib_files_extra_general_deprecated_h =
include $(top_srcdir)/scripts/compile-binding.am
include $(top_srcdir)/build_shared/Makefile_build.am_fragment
lib_LTLIBRARIES = libgdkmm-2.4.la
libgdkmm_2_4_la_SOURCES = $(files_built_cc) $(files_extra_cc)
libgdkmm_2_4_la_LDFLAGS = $(common_ldflags)
libgdkmm_2_4_la_LIBADD = $(GDKMM_LIBS)
AM_CPPFLAGS = $(binding_includes) $(binding_cppflags) $(GTHREAD_CFLAGS) $(GDKMM_CFLAGS)
AM_CXXFLAGS = $(GTKMM_WXXFLAGS)
libgdkmm_2_4_la_SOURCES = $(binding_sources)
libgdkmm_2_4_la_LDFLAGS = -no-undefined -version-info $(LIBGTKMM_SO_VERSION)
libgdkmm_2_4_la_LIBADD = $(GDKMM_LIBS)
## This file is part of gtkmm.
gdkmm_files_built_cc = $(gdkmm_files_hg:.hg=.cc) wrap_init.cc
gdkmm_files_built_h = $(gdkmm_files_hg:.hg=.h)
gdkmm_files_built_ph = $(patsubst %.hg,private/%_p.h,$(gdkmm_files_hg))
gdkmm_files_extra_cc = general.cc rgb.cc
gdkmm_files_extra_h = general.h list.h rgb.h wrap_init.h
gdkmm_files_extra_ph =
## Copyright (c) 2001
## The gtkmm development team.
include $(srcdir)/../../src/Makefile_list_of_hg.am_fragment
files_built_p_h = $(files_all_hg:.hg=_p.h)
private_includedir = $(includedir)/gdkmm-2.4/gdkmm/private
private_include_HEADERS = $(files_built_p_h)
maintainer-clean-local:
(cd $(srcdir) && rm -f $(files_built_p_h))
## Copyright (c) 2001
## The gtkmm development team.
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of gtkmm.
##
## gtkmm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## gtkmm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
sublib_name = gdkmm
sublib_namespace = Gdk
sublib_parentdir = gdkmm
files_defs = gdk.defs gdk_extra.defs gdk_pixbuf.defs gdk_pixbuf_enums.defs gdk_methods.defs gdk_signals.defs gdk_enums.defs \
gdk_docs.xml gdk_docs_override.xml
binding_name = gdkmm
wrap_init_flags = --namespace=Gdk --parent_dir=gdkmm
codegen_srcdir = $(top_srcdir)/tools
include $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment
include $(srcdir)/filelist.am
include $(top_srcdir)/tools/m4/filelist.am
files_defs = $(gdkmm_files_defs)
files_ccg = $(gdkmm_files_ccg)
files_hg = $(gdkmm_files_hg)
include $(top_srcdir)/scripts/generate-binding.am
# This file is include by other Makefile.am files, using the new automake include feature.
# The include happens in Makefile.am, not Makefile.in or Makefile,
# so it's like copy-and-pasting this into each of those Makefile.am files.
files_posix_hg =
files_win32_hg =
files_general_hg = bitmap.hg color.hg colormap.hg cursor.hg \
device.hg display.hg displaymanager.hg dragcontext.hg drawable.hg event.hg gc.hg image.hg \
pixbuf.hg pixbufanimation.hg pixbufanimationiter.hg pixmap.hg pixbufformat.hg pixbufloader.hg \
rectangle.hg region.hg rgbcmap.hg screen.hg types.hg visual.hg window.hg
files_general_deprecated_hg =
include $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment
## This file is part of gtkmm.
gdkmm_files_defs = \
gdk.defs \
gdk_enums.defs \
gdk_extra.defs \
gdk_methods.defs \
gdk_pixbuf.defs \
gdk_pixbuf_enums.defs \
gdk_signals.defs \
gdk_docs.xml \
gdk_docs_override.xml
gdkmm_files_hg = \
bitmap.hg \
color.hg \
colormap.hg \
cursor.hg \
device.hg \
display.hg \
displaymanager.hg \
dragcontext.hg \
drawable.hg \
event.hg \
gc.hg \
image.hg \
pixbuf.hg \
pixbufanimation.hg \
pixbufanimationiter.hg \
pixbufformat.hg \
pixbufloader.hg \
pixmap.hg \
rectangle.hg \
region.hg \
rgbcmap.hg \
screen.hg \
types.hg \
visual.hg \
window.hg
gdkmm_files_ccg = $(gdkmm_files_hg:.hg=.ccg)
## Copyright (c) 2001
## The gtkmm development team.
SUBDIRS = private
sublib_name = gtkmm
sublib_libname = gtkmm-2.4
sublib_libversion = $(LIBGTKMM_SO_VERSION)
sublib_namespace = Gtk
sublib_cflags = $(GTKMM_CFLAGS)
sublib_topdir = gtk
sublib_win32_dlls_libs =
sublib_files_extra_posix_cc =
sublib_files_extra_win32_cc =
sublib_files_extra_general_cc = accelkey.cc accelmap.cc cellrenderer_generation.cc comboboxtext.cc comboboxentrytext.cc \
listviewtext.cc \
menu_elems.cc radiobuttongroup.cc selectiondata_private.cc stock.cc stockid.cc targetentry.cc \
treemodelcolumn.cc treeview_private.cc
sublib_files_extra_general_deprecated_cc =
sublib_files_extra_posix_h =
sublib_files_extra_win32_h =
sublib_files_extra_general_h = accelkey.h accelmap.h base.h cellrenderer_generation.h comboboxtext.h comboboxentrytext.h\
listviewtext.h \
menu_elems.h radiobuttongroup.h selectiondata_private.h stock.h stockid.h targetentry.h \
treemodelcolumn.h treeview_private.h
sublib_files_extra_general_deprecated_h =
include $(top_srcdir)/build_shared/Makefile_build.am_fragment
lib_LTLIBRARIES = libgtkmm-2.4.la
libgtkmm_2_4_la_SOURCES = $(files_built_cc) $(files_extra_cc)
libgtkmm_2_4_la_LDFLAGS = $(common_ldflags)
libgtkmm_2_4_la_LIBADD = $(top_builddir)/gdk/gdkmm/libgdkmm-2.4.la \
$(LIBADD_ATK) \
$(GTKMM_LIBS)
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of gtkmm.
##
## gtkmm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## gtkmm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
lib_LTLIBRARIES = libgtkmm-2.4.la
include $(srcdir)/../src/filelist.am
include $(srcdir)/filelist.am
files_built_cc = $(gtkmm_files_built_cc)
files_built_h = $(gtkmm_files_built_h)
files_built_ph = $(gtkmm_files_built_ph)
files_extra_cc = $(gtkmm_files_extra_cc)
files_extra_h = $(gtkmm_files_extra_h)
files_extra_ph = $(gtkmm_files_extra_ph)
if GTKMM_ATKMM_ENABLED
libgtkmm_2_4_la_LIBADD += $(top_builddir)/atk/atkmm/libatkmm-1.6.la
atkmm_includes = -I$(top_builddir)/atk $(if $(srcdir:.=),-I$(top_srcdir)/atk)
atkmm_libadd = $(top_builddir)/atk/atkmm/libatkmm-$(ATKMM_API_VERSION).la
else
atkmm_includes =
atkmm_libadd =
endif