[passepartout] build libwidget.la with libtool
- From: Sven Herzberg <herzi src gnome org>
- To: svn-commits-list gnome org
- Subject: [passepartout] build libwidget.la with libtool
- Date: Thu, 30 Apr 2009 04:55:57 -0400 (EDT)
commit 6bc52729a2151b01c52857ba8ca50505c237a77d
Author: Sven Herzberg <herzi lanedo com>
Date: Thu Apr 30 10:52:29 2009 +0200
build libwidget.la with libtool
* src/pptout/widget/Makefile.am: and another properly compiled library
* src/pptout/Makefile.am: updated the build rules
---
src/pptout/Makefile.am | 3 ++-
src/pptout/widget/Makefile.am | 18 +++++++++++++-----
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/pptout/Makefile.am b/src/pptout/Makefile.am
index 5db3d68..d56cc09 100644
--- a/src/pptout/Makefile.am
+++ b/src/pptout/Makefile.am
@@ -52,7 +52,8 @@ pptpartlibs=\
../fonts/libfonts.la \
../ps/libps.la \
../util/libpptutil.la \
- widget/libwidget.a
+ widget/libwidget.la \
+ $(NULL)
passepartout_LDADD=\
$(pptpartlibs) \
$(XMLPP_LIBS) $(GTKMM_LIBS) $(GNOMECANVAS_LIBS) \
diff --git a/src/pptout/widget/Makefile.am b/src/pptout/widget/Makefile.am
index 707607a..af2e77c 100644
--- a/src/pptout/widget/Makefile.am
+++ b/src/pptout/widget/Makefile.am
@@ -1,13 +1,21 @@
-noinst_LIBRARIES = libwidget.a
+noinst_LTLIBRARIES=libwidget.la
dist_noinst_HEADERS = spinner.h filesel.h imagefilesel.h dialogwrap.h \
subpanel.h wmisc.h errordialog.h usererror.h programs.h \
zoomer.h
-libwidget_a_SOURCES = spinner.cc filesel.cc imagefilesel.cc \
+libwidget_la_SOURCES=\
+ filesel.cc \
+ imagefilesel.cc \
+ spinner.cc \
dialogwrap.cc subpanel.cc wmisc.cc errordialog.cc \
usererror.cc programs.cc zoomer.cc
-libwidget_a_CPPFLAGS = -I$(top_srcdir)/src -D'DOCDIR=$(docdir)'
-
-libwidget_a_CPPFLAGS += $(GTKMM_CFLAGS) $(GNOMEVFS_CFLAGS) $(GNOME_CFLAGS) $(WARN_CFLAGS)
+libwidget_la_CPPFLAGS=\
+ -I$(top_srcdir)/src \
+ -D'DOCDIR=$(docdir)' \
+ $(GTKMM_CFLAGS) \
+ $(GNOMEVFS_CFLAGS) \
+ $(GNOME_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]