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
fd96b16c
Commit
fd96b16c
authored
Nov 24, 2010
by
Benjamin Otte
Browse files
gdk: Remove unused macros from build
Both ALL_FILES and INCLUDE_VARIABLES don't exist anymore
parent
cca53007
Changes
3
Hide whitespace changes
Inline
Side-by-side
gdk/Makefile.am
View file @
fd96b16c
...
...
@@ -278,7 +278,7 @@ endif
# This places the generated .def file in srcdir, since it is expected to be there.
# (The one from a tarball is)
gdk.def
:
gdk.symbols
(
echo
-e
EXPORTS
;
$(CPP)
-P
-DALL_FILES
-DGDK_WINDOWING_WIN32
-DINCLUDE_VARIABLES
- <
$(srcdir)
/gdk.symbols |
sed
-e
'/^$$/d'
-e
's/^/ /'
-e
's/G_GNUC_[^ ]*//g'
)
>
$(srcdir)
/gdk.def
(
echo
-e
EXPORTS
;
$(CPP)
-P
-DGDK_WINDOWING_WIN32
- <
$(srcdir)
/gdk.symbols |
sed
-e
'/^$$/d'
-e
's/^/ /'
-e
's/G_GNUC_[^ ]*//g'
)
>
$(srcdir)
/gdk.def
TESTS_ENVIRONMENT
=
srcdir
=
"
$(srcdir)
"
if
OS_LINUX
...
...
gdk/abicheck.sh
View file @
fd96b16c
#! /bin/sh
cpp
-
DINCLUDE_VARIABLES
-P
-DALL_FILES
-DGDK_ENABLE_BROKEN
-include
../config.h
-include
./gdkconfig.h
${
srcdir
:-
.
}
/gdk.symbols |
sed
-e
'/^$/d'
-e
's/ G_GNUC.*$//'
|
sort
|
uniq
>
expected-abi
cpp
-
P
-DGDK_ENABLE_BROKEN
-include
../config.h
-include
./gdkconfig.h
${
srcdir
:-
.
}
/gdk.symbols |
sed
-e
'/^$/d'
-e
's/ G_GNUC.*$//'
|
sort
|
uniq
>
expected-abi
nm
-D
-g
--defined-only
.libs/libgdk-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
gdk/makefile.msc
View file @
fd96b16c
...
...
@@ -132,7 +132,7 @@ gdkconfig.h : gdkconfig.h.win32
gdk.def
:
gdk.symbols
echo
EXPORTS
>
gdk.def
cl /EP
-DINCLUDE_VARIABLES
-DG_OS_WIN32
-DGDK_WINDOWING_WIN32
-DALL_FILES
\
cl /EP
-DG_OS_WIN32
-DGDK_WINDOWING_WIN32
\
-DG_GNUC_CONST
=
\
gdk.symbols
>>
gdk.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