reftest: Build a private library for gtk-reftest
This is a noinst library for now, but the idea is to turn it into a proper DLL on Windows, so that we can install it and properly link the modules to it. Windows doesn't allow undefined symbols in modules. https://bugzilla.gnome.org/show_bug.cgi?id=736338
This commit is contained in:
@ -23,19 +23,35 @@ gtk_reftest_CFLAGS = \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
gtk_reftest_LDADD = \
|
gtk_reftest_LDADD = \
|
||||||
|
libgtkreftestprivate.la \
|
||||||
$(top_builddir)/gdk/libgdk-3.la \
|
$(top_builddir)/gdk/libgdk-3.la \
|
||||||
$(top_builddir)/gtk/libgtk-3.la \
|
$(top_builddir)/gtk/libgtk-3.la \
|
||||||
$(GTK_DEP_LIBS) \
|
$(GTK_DEP_LIBS) \
|
||||||
$(GMODULE_LIBS) \
|
$(GMODULE_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
gtk_reftest_SOURCES = \
|
noinst_LTLIBRARIES = \
|
||||||
|
libgtkreftestprivate.la \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
libgtkreftestprivate_la_CFLAGS = $(gtk_reftest_CFLAGS)
|
||||||
|
libgtkreftestprivate_la_LIBADD = \
|
||||||
|
$(top_builddir)/gdk/libgdk-3.la \
|
||||||
|
$(top_builddir)/gtk/libgtk-3.la \
|
||||||
|
$(GTK_DEP_LIBS) \
|
||||||
|
$(GMODULE_LIBS) \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
libgtkreftestprivate_la_SOURCES = \
|
||||||
reftest-compare.c \
|
reftest-compare.c \
|
||||||
reftest-compare.h \
|
reftest-compare.h \
|
||||||
reftest-module.c \
|
reftest-module.c \
|
||||||
reftest-module.h \
|
reftest-module.h \
|
||||||
reftest-snapshot.c \
|
reftest-snapshot.c \
|
||||||
reftest-snapshot.h \
|
reftest-snapshot.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
gtk_reftest_SOURCES = \
|
||||||
gtk-reftest.c \
|
gtk-reftest.c \
|
||||||
gtk-reftest.h
|
gtk-reftest.h
|
||||||
|
|
||||||
@ -437,7 +453,7 @@ DISTCLEANFILES = $(built_tests)
|
|||||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||||
testmeta_DATA = $(built_tests)
|
testmeta_DATA = $(built_tests)
|
||||||
else
|
else
|
||||||
noinst_LTLIBRARIES = \
|
noinst_LTLIBRARIES += \
|
||||||
libreftest.la \
|
libreftest.la \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user