Makefile.am 1.55 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
## 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/>.
Murray Cumming's avatar
Murray Cumming committed
17

18
AUTOMAKE_OPTIONS = subdir-objects
Murray Cumming's avatar
Murray Cumming committed
19

20
include $(srcdir)/m4/filelist.am
Murray Cumming's avatar
Murray Cumming committed
21

22 23 24
# TODO: These should go into $(datadir)/$(PACKAGE_TARNAME)/ instead.
gmmproc_m4_includedir = $(libdir)/$(GTKMM_MODULE_NAME)/proc/m4
dist_gmmproc_m4_include_DATA = $(addprefix m4/,$(files_codegen_m4))
Murray Cumming's avatar
Murray Cumming committed
25

26
noinst_PROGRAMS = extra_defs_gen/generate_extra_defs
Murray Cumming's avatar
Murray Cumming committed
27

28 29 30
extra_defs_gen_generate_extra_defs_SOURCES = extra_defs_gen/generate_defs_gtk.cc
extra_defs_gen_generate_extra_defs_LDADD   = $(GTKMM_LIBS) -lglibmm_generate_extra_defs-2.4
extra_defs_gen_generate_extra_defs_LDFLAGS = -no-undefined -avoid-version
Murray Cumming's avatar
Murray Cumming committed
31

32 33 34 35 36 37
AM_CPPFLAGS = -I$(top_builddir) $(GTHREAD_CFLAGS) $(GTKMM_CFLAGS)
AM_CXXFLAGS = $(GTKMM_WXXFLAGS)

# Instruct GNU make to delete the targets of a rule after it failed, in
# order to avoid the complication of handling that situation manually.
.DELETE_ON_ERROR: