mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 09:04:33 +00:00
build-sys: build a utility libserver.la
This allow tests programs to link with statically built library to access all symbols Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
6e66366f9b
commit
2628197b99
@ -17,6 +17,7 @@ AM_CPPFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
noinst_LTLIBRARIES = libserver.la
|
||||
lib_LTLIBRARIES = libspice-server.la
|
||||
|
||||
libspice_server_la_LDFLAGS = \
|
||||
@ -31,7 +32,7 @@ libspice_server_la_LDFLAGS += \
|
||||
-Wl,--version-script=$(top_srcdir)/server/spice-server.syms
|
||||
endif
|
||||
|
||||
libspice_server_la_LIBADD = \
|
||||
libserver_la_LIBADD = \
|
||||
$(top_builddir)/spice-common/common/libspice-common.la \
|
||||
$(top_builddir)/spice-common/common/libspice-common-server.la \
|
||||
$(GL_LIBS) \
|
||||
@ -61,7 +62,7 @@ libspice_serverinclude_HEADERS = \
|
||||
spice.h \
|
||||
$(NULL)
|
||||
|
||||
libspice_server_la_SOURCES = \
|
||||
libserver_la_SOURCES = \
|
||||
$(libspice_serverinclude_HEADERS) \
|
||||
agent-msg-filter.c \
|
||||
agent-msg-filter.h \
|
||||
@ -144,12 +145,15 @@ libspice_server_la_SOURCES = \
|
||||
$(NULL)
|
||||
|
||||
if HAVE_SMARTCARD
|
||||
libspice_server_la_SOURCES += \
|
||||
libserver_la_SOURCES += \
|
||||
smartcard.c \
|
||||
smartcard.h \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
libspice_server_la_LIBADD = libserver.la
|
||||
libspice_server_la_SOURCES =
|
||||
|
||||
EXTRA_DIST = \
|
||||
spice-bitmap-utils.tmpl.c \
|
||||
cache-item.tmpl.c \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user