diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/Makefile.am | 3 | ||||
-rw-r--r-- | src/modules/Makefile.in | 13 |
2 files changed, 12 insertions, 4 deletions
diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am index 18d8ad6..40e15cc 100644 --- a/src/modules/Makefile.am +++ b/src/modules/Makefile.am @@ -2,11 +2,12 @@ madlibdir = ${libdir}/mad moddir = ${madlibdir}/modules mod_LTLIBRARIES = SystemBackendPosix.la SystemBackendProc.la -AM_LDFLAGS = -module -avoid-version -export-dynamic SystemBackendPosix_la_SOURCES = SystemBackendPosix.cpp SystemBackendPosix_la_LIBADD = $(sigc_LIBS) +SystemBackendPosix_la_LDFLAGS = -module -avoid-version -export-dynamic -static -export-symbols-regex '^SystemBackendPosix_LTX_' SystemBackendProc_la_SOURCES = SystemBackendProc.cpp +SystemBackendProc_la_LDFLAGS = -module -avoid-version -export-dynamic -static -export-symbols-regex '^SystemBackendProc_LTX_' noinst_HEADERS = SystemBackendPosix.h SystemBackendProc.h diff --git a/src/modules/Makefile.in b/src/modules/Makefile.in index 538ace6..bc464ef 100644 --- a/src/modules/Makefile.in +++ b/src/modules/Makefile.in @@ -60,9 +60,15 @@ am__DEPENDENCIES_1 = SystemBackendPosix_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_SystemBackendPosix_la_OBJECTS = SystemBackendPosix.lo SystemBackendPosix_la_OBJECTS = $(am_SystemBackendPosix_la_OBJECTS) +SystemBackendPosix_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(SystemBackendPosix_la_LDFLAGS) $(LDFLAGS) -o $@ SystemBackendProc_la_LIBADD = am_SystemBackendProc_la_OBJECTS = SystemBackendProc.lo SystemBackendProc_la_OBJECTS = $(am_SystemBackendProc_la_OBJECTS) +SystemBackendProc_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(SystemBackendProc_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles @@ -223,10 +229,11 @@ top_srcdir = @top_srcdir@ madlibdir = ${libdir}/mad moddir = ${madlibdir}/modules mod_LTLIBRARIES = SystemBackendPosix.la SystemBackendProc.la -AM_LDFLAGS = -module -avoid-version -export-dynamic SystemBackendPosix_la_SOURCES = SystemBackendPosix.cpp SystemBackendPosix_la_LIBADD = $(sigc_LIBS) +SystemBackendPosix_la_LDFLAGS = -module -avoid-version -export-dynamic -static -export-symbols-regex '^SystemBackendPosix_LTX_' SystemBackendProc_la_SOURCES = SystemBackendProc.cpp +SystemBackendProc_la_LDFLAGS = -module -avoid-version -export-dynamic -static -export-symbols-regex '^SystemBackendProc_LTX_' noinst_HEADERS = SystemBackendPosix.h SystemBackendProc.h all: all-am @@ -289,9 +296,9 @@ clean-modLTLIBRARIES: rm -f "$${dir}/so_locations"; \ done SystemBackendPosix.la: $(SystemBackendPosix_la_OBJECTS) $(SystemBackendPosix_la_DEPENDENCIES) - $(CXXLINK) -rpath $(moddir) $(SystemBackendPosix_la_OBJECTS) $(SystemBackendPosix_la_LIBADD) $(LIBS) + $(SystemBackendPosix_la_LINK) -rpath $(moddir) $(SystemBackendPosix_la_OBJECTS) $(SystemBackendPosix_la_LIBADD) $(LIBS) SystemBackendProc.la: $(SystemBackendProc_la_OBJECTS) $(SystemBackendProc_la_DEPENDENCIES) - $(CXXLINK) -rpath $(moddir) $(SystemBackendProc_la_OBJECTS) $(SystemBackendProc_la_LIBADD) $(LIBS) + $(SystemBackendProc_la_LINK) -rpath $(moddir) $(SystemBackendProc_la_OBJECTS) $(SystemBackendProc_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) |