1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-21 17:25:46 +01:00

WINGs shared library generation

This patch modifies the linking of the WINGs libraries
to create a shared library. wmaker used to do this, but
it was dropped around wmaker-0.90/0.91.
The shared .so library is needed when compiling and running
the wdm display manager and any other programs which link
to libWINGs.

Submitted by: Gilbert Ashley
Origin: ALT/Sisyphus Linux
This commit is contained in:
Alexey Voinov
2007-08-14 13:33:22 +04:00
committed by Carlos R. Mafra
parent 92eff967a7
commit 3953f53680
10 changed files with 45 additions and 57 deletions

View File

@@ -10,14 +10,15 @@ libWINGs_a_AR = $(QUIET_AR) $(AR) $(ARFLAGS)
libWUtil_a_AR = $(QUIET_AR) $(AR) $(ARFLAGS)
#libWINGs_la_LDFLAGS = -version-info 1:1:0
libWINGs_la_LDFLAGS = -version-info 2:1:0
libWUtil_la_LDFLAGS = -version-info 1:2:0
bin_SCRIPTS = get-wings-flags get-wutil-flags
lib_LIBRARIES = libWINGs.a libWUtil.a
lib_LTLIBRARIES = libWINGs.la libWUtil.la
LDADD= libWINGs.a $(top_builddir)/wrlib/libwraster.la @INTLIBS@
LDADD= libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
EXTRA_DIST = BUGS make-rgb python/Makefile python/README python/WINGs.i \
@@ -25,33 +26,12 @@ EXTRA_DIST = BUGS make-rgb python/Makefile python/README python/WINGs.i \
# wbutton.c
libWINGs_a_SOURCES = \
array.c \
bagtree.c \
libWINGs_la_SOURCES = \
configuration.c \
connection.c \
data.c \
dragcommon.c \
dragdestination.c \
dragsource.c \
error.c \
findfile.c \
handlers.c \
hashtable.c \
host.c \
international.c \
memory.c \
misc.c \
notification.c \
proplist.c \
rgb.h \
selection.c \
snprintf.c \
string.c \
tree.c \
userdefaults.c \
usleep.c \
wapplication.c \
wappresource.c \
wballoon.c \
wbox.c \
@@ -87,8 +67,7 @@ libWINGs_a_SOURCES = \
wview.c \
wwindow.c
libWUtil_a_SOURCES = \
libWUtil_la_SOURCES = \
array.c \
bagtree.c \
connection.c \