Skip to content

Commit 491728c

Browse files
fanc999-1kjellahl
authored andcommitted
build: Split out source listing
Consolidate the source listing from sigc++/Makefile.am to sigc++/filelist.am, so that we can let other Makefile-based build systems consume sigc++/filelist.am as well.
1 parent 6c4bf6d commit 491728c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

sigc++/Makefile.am

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ nobase_library_include_HEADERS = sigc++.h $(sigc_public_h) $(sigc_built_h)
2929

3030
lib_LTLIBRARIES = libsigc-@SIGCXX_API_VERSION@.la
3131

32-
libsigc_@SIGCXX_API_VERSION@_la_SOURCES = \
33-
signal_base.cc \
34-
trackable.cc \
35-
connection.cc \
36-
functors/slot_base.cc
32+
libsigc_@SIGCXX_API_VERSION@_la_SOURCES = $(sigc_sources_cc)
3733

3834
EXTRA_libsigc_@SIGCXX_API_VERSION@_la_SOURCES = $(sigc_built_cc)
3935

sigc++/filelist.am

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,9 @@ sigc_public_h = \
5656
functors/ptr_fun.h \
5757
functors/slot.h \
5858
functors/slot_base.h
59+
60+
sigc_sources_cc = \
61+
signal_base.cc \
62+
trackable.cc \
63+
connection.cc \
64+
functors/slot_base.cc

0 commit comments

Comments
 (0)