blob: 9de87e7a7c2dc16820553d0b599014924a40a969 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of libsigc++.
##
## libsigc++ 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.
##
## libsigc++ 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/>.
AUTOMAKE_OPTIONS = subdir-objects
include $(srcdir)/filelist.am
# Subdirectories needed also in the build dir
build_subdirs = functors
dist_noinst_DATA = $(sigc_m4) CMakeLists.txt
library_includedir = $(includedir)/$(SIGCXX_MODULE_NAME)/sigc++
nobase_library_include_HEADERS = sigc++.h $(sigc_public_h) $(sigc_built_h)
lib_LTLIBRARIES = libsigc-@SIGCXX_API_VERSION@.la
libsigc_@SIGCXX_API_VERSION@_la_SOURCES = \
signal.cc \
signal_base.cc \
trackable.cc \
connection.cc \
functors/slot.cc \
functors/slot_base.cc
EXTRA_libsigc_@SIGCXX_API_VERSION@_la_SOURCES = $(sigc_built_cc)
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
libsigc_@SIGCXX_API_VERSION@_la_LDFLAGS = -no-undefined -version-info 0:0:0
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
AM_CXXFLAGS = $(SIGC_WXXFLAGS)
BUILT_SOURCES = $(build_subdirs) $(sigc_built_h) $(sigc_built_cc)
MAINTAINERCLEANFILES = $(sigc_built_h) $(sigc_built_cc)
m4_dir = $(srcdir)/macros
$(build_subdirs):
$(AM_V_at)$(MKDIR_P) $@
signal.cc: \
signal.h \
signal_base.h \
functors/slot.h \
functors/slot_base.h \
functors/mem_fun.h \
functors/functor_trait.h
functors/slot.cc: \
functors/slot.h \
functors/slot_base.h \
functors/functor_trait.h
%.h: macros/%.h.m4 $(m4_dir)/template.macros.m4 | $(build_subdirs)
$(AM_V_GEN)$(M4) -I $(m4_dir) -I macros $< >$@
%.cc: macros/%.cc.m4 $(m4_dir)/template.macros.m4 | $(build_subdirs)
$(AM_V_GEN)$(M4) -I $(m4_dir) -I macros $< >$@
|