summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2014-09-09 14:48:17 +0000
committerBenjamin Otte <otte@redhat.com>2014-09-15 16:35:40 +0200
commit45ab4ae09bade6f63bc71d4df0aa250c72afe1b2 (patch)
tree75655b456f0f90a4127634d43439aae4afd82b6a /modules
parent1741de47dbd4ddb909012fb977f19bd1417fddea (diff)
downloadgtk+-45ab4ae09bade6f63bc71d4df0aa250c72afe1b2.tar.gz
build: Set no_undefined in Makefile.decl
This simplifies the code and - more importantly - fixes the cases like in testsuite/reftests where the no_undefined definition was missing. https://bugzilla.gnome.org/show_bug.cgi?id=736382
Diffstat (limited to 'modules')
-rw-r--r--modules/input/Makefile.am4
-rw-r--r--modules/printbackends/cloudprint/Makefile.am4
-rw-r--r--modules/printbackends/cups/Makefile.am4
-rw-r--r--modules/printbackends/file/Makefile.am4
-rw-r--r--modules/printbackends/lpr/Makefile.am4
-rw-r--r--modules/printbackends/papi/Makefile.am4
-rw-r--r--modules/printbackends/test/Makefile.am4
7 files changed, 1 insertions, 27 deletions
diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am
index 44df55f509..519be8e84a 100644
--- a/modules/input/Makefile.am
+++ b/modules/input/Makefile.am
@@ -1,10 +1,6 @@
## Makefile.am for gtk+/modules/input
include $(top_srcdir)/Makefile.decl
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/gdk \
diff --git a/modules/printbackends/cloudprint/Makefile.am b/modules/printbackends/cloudprint/Makefile.am
index 6408d4cbbf..d2d434fec3 100644
--- a/modules/printbackends/cloudprint/Makefile.am
+++ b/modules/printbackends/cloudprint/Makefile.am
@@ -1,9 +1,5 @@
include $(top_srcdir)/Makefile.decl
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
backend_LTLIBRARIES = libprintbackend-cloudprint.la
diff --git a/modules/printbackends/cups/Makefile.am b/modules/printbackends/cups/Makefile.am
index 33520bea48..09a9f893cf 100644
--- a/modules/printbackends/cups/Makefile.am
+++ b/modules/printbackends/cups/Makefile.am
@@ -1,9 +1,5 @@
include $(top_srcdir)/Makefile.decl
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/gtk \
diff --git a/modules/printbackends/file/Makefile.am b/modules/printbackends/file/Makefile.am
index c0189f10a7..9b51bf4e12 100644
--- a/modules/printbackends/file/Makefile.am
+++ b/modules/printbackends/file/Makefile.am
@@ -1,9 +1,5 @@
include $(top_srcdir)/Makefile.decl
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
backend_LTLIBRARIES = libprintbackend-file.la
diff --git a/modules/printbackends/lpr/Makefile.am b/modules/printbackends/lpr/Makefile.am
index ff51351d3d..5a7517009e 100644
--- a/modules/printbackends/lpr/Makefile.am
+++ b/modules/printbackends/lpr/Makefile.am
@@ -1,9 +1,5 @@
include $(top_srcdir)/Makefile.decl
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/gtk \
diff --git a/modules/printbackends/papi/Makefile.am b/modules/printbackends/papi/Makefile.am
index 5388baa3a3..7176eba2dd 100644
--- a/modules/printbackends/papi/Makefile.am
+++ b/modules/printbackends/papi/Makefile.am
@@ -1,6 +1,4 @@
-if OS_WIN32
-no_undefined = -no-undefined
-endif
+include $(top_srcdir)/Makefile.decl
AM_CPPFLAGS = \
-I$(top_srcdir) \
diff --git a/modules/printbackends/test/Makefile.am b/modules/printbackends/test/Makefile.am
index 69b3ff1ba6..bff5e93c7a 100644
--- a/modules/printbackends/test/Makefile.am
+++ b/modules/printbackends/test/Makefile.am
@@ -1,9 +1,5 @@
include $(top_srcdir)/Makefile.decl
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
backend_LTLIBRARIES = libprintbackend-test.la