summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-30 17:05:51 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-30 17:05:51 +0000
commitdc01a56fd15939230c23269518313ac9864958d7 (patch)
tree1e2fe661a7814f1d35f4ed1449814ac0cbb40bec /src/Makefile.am
parent0311453fc6f4bc819a6ba4563b77cedef569d8ab (diff)
add gtk module
git-svn-id: file:///home/lennart/svn/public/libcanberra/trunk@39 01b60673-d06a-42c0-afdd-89cb8e0f78ac
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6dc6e89..f8c1366 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,6 +18,8 @@
# License along with libcanberra. If not, If not, see
# <http://www.gnu.org/licenses/>.
+moduledir = @GTK_MODULES_DIR@
+
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CXXFLAGS = $(PTHREAD_CFLAGS)
AM_LDADD = $(PTHREAD_LIBS)
@@ -26,6 +28,9 @@ lib_LTLIBRARIES = \
libcanberra.la \
libcanberra-gtk.la
+module_LTLIBRARIES = \
+ libcanberra-gtk-module.la
+
noinst_PROGRAMS = \
test-canberra
@@ -55,10 +60,22 @@ libcanberra_gtk_la_SOURCES = \
canberra-gtk.h \
canberra-gtk.c
libcanberra_gtk_la_LIBADD = \
- $(GTK_LIBS)
+ $(GTK_LIBS) \
+ libcanberra.la
libcanberra_gtk_la_CFLAGS = \
$(GTK_CFLAGS)
+libcanberra_gtk_module_la_SOURCES = \
+ canberra-gtk-module.c
+libcanberra_gtk_module_la_LIBADD = \
+ $(GTK_LIBS) \
+ libcanberra.la \
+ libcanberra-gtk.la
+libcanberra_gtk_module_la_LDFLAGS = \
+ -avoid-version -module -export-dynamic
+libcanberra_gtk_module_la_CFLAGS = \
+ $(GTK_CFLAGS)
+
test_canberra_SOURCES = \
test-canberra.c
test_canberra_LDADD = \