Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
c5e25b15
Commit
c5e25b15
authored
Nov 24, 2010
by
Benjamin Otte
Browse files
gtk: Remove unused variables from build scripts
ALL_FILES and INCLUDE_VARIABLES are unused
parent
0c0b1c3a
Changes
3
Hide whitespace changes
Inline
Side-by-side
gtk/Makefile.am
View file @
c5e25b15
...
...
@@ -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
-D
INCLUDE_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
-D
G_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
...
...
gtk/abicheck.sh
View file @
c5e25b15
#! /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
gtk/makefile.msc.in
View file @
c5e25b15
...
...
@@ -573,7 +573,7 @@ gtk_extra_sources = \
gtk.def
:
gtk.symbols makefile.msc
echo
EXPORTS
>
gtk.def
cl /EP
-D
INCLUDE_VARIABLES
-DG_OS_WIN32
-DALL_FILES
\
cl /EP
-D
G_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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment