]> Pileus Git - ~andy/gtk/commitdiff
gtk: Remove unused variables from build scripts
authorBenjamin Otte <otte@redhat.com>
Wed, 24 Nov 2010 15:40:40 +0000 (16:40 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 24 Nov 2010 15:40:40 +0000 (16:40 +0100)
ALL_FILES and INCLUDE_VARIABLES are unused

gtk/Makefile.am
gtk/abicheck.sh
gtk/makefile.msc.in

index dae90cdc61d77b1cd5feca176b688fe1e588e741..28ca552b495bc7aa2ebce5bfb6bf7ff0efa22453 100644 (file)
@@ -101,7 +101,7 @@ endif
 # This places the generated .def file in srcdir, since it is expected to be there.
 # (The one from a tarball is)
 gtk.def: gtk.symbols
-       (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gtk.symbols | $(SED) -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g') > $(srcdir)/gtk.def
+       (echo -e EXPORTS; $(CPP) -P -DG_OS_WIN32 - <$(srcdir)/gtk.symbols | $(SED) -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g') > $(srcdir)/gtk.def
 
 TESTS_ENVIRONMENT = srcdir="$(srcdir)" gtk_all_c_sources="$(gtk_all_c_sources)"
 if OS_LINUX
index da4663c5de9fecfe5d47719ad6a8fcd8dfff9be7..a48597c178d3caf1fbaba83d28799389a50a51b5 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
 
-cpp -DINCLUDE_VARIABLES -P -DG_OS_UNIX -DGTK_WINDOWING_X11 -DALL_FILES ${srcdir:-.}/gtk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
+cpp -P -DG_OS_UNIX -DGTK_WINDOWING_X11 ${srcdir:-.}/gtk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
 nm -D -g --defined-only .libs/libgtk-x11-3.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
 diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
index e891c1f0858b3b2c4b8cee87fe2a718d743291e5..f68a8877f702df9ea2eea6c60a241afea0000bbd 100644 (file)
@@ -573,7 +573,7 @@ gtk_extra_sources = \
 
 gtk.def: gtk.symbols makefile.msc
        echo EXPORTS > gtk.def
-       cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES \
+       cl /EP -DG_OS_WIN32 \
                -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
                -DG_GNUC_PRINTF=;G_GNUC_PRINTF gtk.symbols >> gtk.def