2 ## The gtkmm development team.
4 ## **** Common rules for inclusion in Makefile.am ****
5 ## Included by Makefile_build_gensrc.am_fragment
8 include $(srcdir)/../src/Makefile_list_of_hg.am_fragment
10 # Support for DLL on mingw using libtool > 1.4
11 # When creating DLLs on win32, we need to explicitly add a few extra
12 # libraries at link time to resolve symbols (remember a dll is like an
15 extra_win32_defines = \
16 -D$(shell echo $(sublib_name) | tr [:lower:] [:upper:])_BUILD
17 no_undefined = -no-undefined -Wl,--export-all-symbols
18 win32_dlls_extra_libs = $(sublib_win32_dlls_libs)
22 win32_dlls_extra_libs =
25 common_ldflags = -version-info $(sublib_libversion) $(no_undefined)
27 # All modules can include all other modules,
28 # for instance, so that gdkmm can use headers in pangomm.
29 all_includes = -I$(top_builddir)/$(sublib_topdir) -I$(top_srcdir)/$(sublib_topdir) \
30 -I$(top_builddir)/pango -I$(top_srcdir)/pango \
31 -I$(top_builddir)/atk -I$(top_srcdir)/atk \
32 -I$(top_builddir)/gdk -I$(top_srcdir)/gdk \
33 -I$(top_builddir)/gtk -I$(top_srcdir)/gtk \
34 $(sublib_cflags) $(GTHREAD_CFLAGS)
36 dist_sources = $(files_all_built_cc) $(files_all_extra_cc) $(files_all_built_h) $(files_all_extra_h)
37 DISTFILES = $(DIST_COMMON) $(dist_sources) $(TEXINFOS) $(EXTRA_DIST)
40 DEFS = @DEFS@ -DG_LOG_DOMAIN=\"$(sublib_name)\" $(extra_win32_defines)
43 # DISABLE_DEPRECATED_CFLAGS and DISABLE_DEPRECATED_API_CFLAGS are empty unless the appropriate --enable-*=no options are specified to configure:
44 INCLUDES = $(strip $(all_includes)) $(DISABLE_DEPRECATED_CFLAGS) $(DISABLE_DEPRECATED_API_CFLAGS)
46 sublib_includedir = $(includedir)/$(sublib_libname)/$(sublib_name)
47 sublib_include_HEADERS = $(files_all_built_h) $(files_all_extra_h)
49 maintainer-clean-local:
50 (cd $(srcdir) && rm -f $(files_all_built_cc) $(files_all_built_h))