.so.0.0.0 files not required
Philip S Tellis <[email protected]> Wed, 18 Feb 2004 18:48:59 +0530 (IST)
| Newsgroups | gmane.network.everybuddy.user |
|---|---|
| Message-ID | <[email protected]> |
This patch gets rid of useless .so.0.0.0 files. We only need .so files, so no need to build and install the others. Philip _______________________________________________ Everybuddy mailing list [email protected] http://lists.spine.cx/listinfo/everybuddy
plugin-makefile-diff
(text/plain, 4.1 KB)
Index: plugins/irc/Makefile.am
===================================================================
--- plugins/irc/Makefile.am (revision 269)
+++ plugins/irc/Makefile.am (working copy)
@@ -1,5 +1,3 @@
-libdir = $(datadir)/eb-lite/plugins
-
INCLUDES = -I$(top_srcdir)/src
EXTRA_DIST =
@@ -9,15 +7,14 @@
WIN32_LIB = -L../../src -leblite -lintl -lglib-2.0 -lws2_32
endif
-
if STATIC_IRC
noinst_LIBRARIES = libirc.a
else
-lib_LTLIBRARIES = irc.la
+pkglib_LTLIBRARIES = irc.la
endif
irc_la_SOURCES = irc.c
-irc_la_LDFLAGS = -module $(WIN32_LD)
+irc_la_LDFLAGS = -module -avoid-version $(WIN32_LD)
irc_la_LIBADD = $(WIN32_LIB)
libirc_a_SOURCES = irc.c
Index: plugins/jabber/Makefile.am
===================================================================
--- plugins/jabber/Makefile.am (revision 269)
+++ plugins/jabber/Makefile.am (working copy)
@@ -1,5 +1,3 @@
-libdir = $(datadir)/eb-lite/plugins
-
INCLUDES = -I$(top_srcdir)/src
EXTRA_DIST =
@@ -12,11 +10,11 @@
if STATIC_JABBER
noinst_LIBRARIES = libjabber.a
else
-lib_LTLIBRARIES = jabber.la
+pkglib_LTLIBRARIES = jabber.la
endif
jabber_la_SOURCES = jabber.c
-jabber_la_LDFLAGS = -module $(WIN32_LD) -lexpat
+jabber_la_LDFLAGS = -avoid-version -module $(WIN32_LD) -lexpat
jabber_la_LIBADD = $(WIN32_LIB)
libjabber_a_SOURCES = jabber.c
Index: plugins/misc/Makefile.am
===================================================================
--- plugins/misc/Makefile.am (revision 269)
+++ plugins/misc/Makefile.am (working copy)
@@ -1,5 +1,3 @@
-libdir = $(datadir)/eb-lite/plugins
-
INCLUDES = -I$(top_srcdir)/src
if MINGW32
@@ -12,11 +10,11 @@
if STATIC_MISC
noinst_LIBRARIES = libmisc.a
else
-lib_LTLIBRARIES = misc.la
+pkglib_LTLIBRARIES = misc.la
endif
libmisc_a_SOURCES = autotrans.c rainbow.c
misc_la_SOURCES = autotrans.c rainbow.c
-misc_la_LDFLAGS = -module $(WIN32_LD)
+misc_la_LDFLAGS = -avoid-version -module $(WIN32_LD)
misc_la_LIBADD = $(WIN32_LIB)
Index: plugins/msn/Makefile.am
===================================================================
--- plugins/msn/Makefile.am (revision 269)
+++ plugins/msn/Makefile.am (working copy)
@@ -1,5 +1,3 @@
-libdir = $(datadir)/eb-lite/plugins
-
INCLUDES = -I$(top_srcdir)/src
EXTRA_DIST = msn_core.h msn_bittybits.h msn_interface.h msn_interface.C
@@ -13,11 +11,11 @@
if STATIC_MSN
noinst_LIBRARIES = libmsn.a
else
-lib_LTLIBRARIES = msn.la
+pkglib_LTLIBRARIES = msn.la
endif
msn_la_SOURCES = msn_core.C msn_bittybits.C msn.C msn_passport.C
-msn_la_LDFLAGS = -module $(WIN32_LD)
+msn_la_LDFLAGS = -avoid-version -module $(WIN32_LD)
msn_la_LIBADD = $(LIBS) $(WIN32_LIB)
libmsn_a_SOURCES = msn_core.C msn_bittybits.C msn.C msn_passport.C
Index: plugins/toc/Makefile.am
===================================================================
--- plugins/toc/Makefile.am (revision 269)
+++ plugins/toc/Makefile.am (working copy)
@@ -1,5 +1,3 @@
-libdir = $(datadir)/eb-lite/plugins
-
INCLUDES = -I$(top_srcdir)/src
EXTRA_DIST =
@@ -12,11 +10,11 @@
if STATIC_IRC
noinst_LIBRARIES = libtoc.a
else
-lib_LTLIBRARIES = toc.la
+pkglib_LTLIBRARIES = toc.la
endif
toc_la_SOURCES = toc.c libtoc.c
-toc_la_LDFLAGS = -module $(WIN32_LD)
+toc_la_LDFLAGS = -avoid-version -module $(WIN32_LD)
toc_la_LIBADD = $(WIN32_LIB)
libtoc_a_SOURCES = toc.c libtoc.c
Index: plugins/yahoo/Makefile.am
===================================================================
--- plugins/yahoo/Makefile.am (revision 269)
+++ plugins/yahoo/Makefile.am (working copy)
@@ -1,5 +1,3 @@
-libdir = $(datadir)/eb-lite/plugins
-
INCLUDES = -I$(top_srcdir)/src
EXTRA_DIST = sample_client.c sample_makefile
@@ -15,12 +13,12 @@
if STATIC_YAHOO
noinst_LIBRARIES = libyahoo.a
else
-lib_LTLIBRARIES = yahoo.la
+pkglib_LTLIBRARIES = yahoo.la
endif
yahoo_la_SOURCES = libyahoo2.c crypt.c md5.c sha.c \
yahoo_httplib.c yahoo_util.c yahoo_list.c yahoo_fn.c yahoo.c
-yahoo_la_LDFLAGS = -module $(WIN32_LD)
+yahoo_la_LDFLAGS = -avoid-version -module $(WIN32_LD)
yahoo_la_LIBADD = $(WIN32_LIB)
libyahoo_a_SOURCES = libyahoo2.c crypt.c md5.c sha.c \