2002-07-08 Mike Kestner <mkestner@speakeasy.net>
* glue/Makefile.in : s/BASE_SOURCES/BASESOURCES * parser/gapi_pp.pl : handle nested #if/#endif in ignored #if's * parser/makefile : make gtkapi.xml depend on gapi*.pl svn path=/trunk/gtk-sharp/; revision=5649
This commit is contained in:
parent
0fb0f3c54a
commit
a31a206d61
5 changed files with 2199 additions and 4387 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-07-08 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
|
* glue/Makefile.in : s/BASE_SOURCES/BASESOURCES
|
||||||
|
* parser/gapi_pp.pl : handle nested #if/#endif in ignored #if's
|
||||||
|
* parser/makefile : make gtkapi.xml depend on gapi*.pl
|
||||||
|
|
||||||
2002-07-06 Rachel Hestilow <hestilow@ximian.com>
|
2002-07-06 Rachel Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
* generator/Parameters.cs (Initialize): Initialize error
|
* generator/Parameters.cs (Initialize): Initialize error
|
||||||
|
|
6559
generator/gtkapi.xml
6559
generator/gtkapi.xml
File diff suppressed because it is too large
Load diff
|
@ -1,22 +1,21 @@
|
||||||
lib_LTLIBRARIES = libgtksharpglue.la
|
lib_LTLIBRARIES = libgtksharpglue.la
|
||||||
|
|
||||||
BASE_SOURCES = \
|
BASESOURCES = \
|
||||||
value.c \
|
value.c \
|
||||||
textiter.c \
|
textiter.c \
|
||||||
fileselection.c \
|
fileselection.c \
|
||||||
error.c \
|
error.c \
|
||||||
event.c \
|
event.c \
|
||||||
slist.c \
|
slist.c
|
||||||
#
|
|
||||||
|
|
||||||
if ENABLE_GNOME
|
if ENABLE_GNOME
|
||||||
libgtksharpglue_la_SOURCES = \
|
libgtksharpglue_la_SOURCES = \
|
||||||
$(BASE_SOURCES) \
|
$(BASESOURCES) \
|
||||||
program.c \
|
program.c \
|
||||||
#
|
#
|
||||||
else
|
else
|
||||||
libgtksharpglue_la_SOURCES = \
|
libgtksharpglue_la_SOURCES = \
|
||||||
$(BASE_SOURCES)
|
$(BASESOURCES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INCLUDES = @BASE_DEPENDENCIES_CFLAGS@ -I$(top_srcdir)
|
INCLUDES = @BASE_DEPENDENCIES_CFLAGS@ -I$(top_srcdir)
|
||||||
|
|
|
@ -51,7 +51,15 @@ foreach $fname (@hdrs) {
|
||||||
} elsif ($line =~ /^#ifndef\s+\w+_H_*\b/) {
|
} elsif ($line =~ /^#ifndef\s+\w+_H_*\b/) {
|
||||||
while ($line !~ /#define/) {$line = <INFILE>;}
|
while ($line !~ /#define/) {$line = <INFILE>;}
|
||||||
} elsif ($line =~ /$eatit_regex/) {
|
} elsif ($line =~ /$eatit_regex/) {
|
||||||
while ($line !~ /#else|#endif/) {$line = <INFILE>;}
|
$nested = 0;
|
||||||
|
while ($line = <INFILE>) {
|
||||||
|
last if (!$nested && ($line =~ /#else|#endif/));
|
||||||
|
if ($line =~ /#if/) {
|
||||||
|
$nested++;
|
||||||
|
} elsif ($line =~ /#endif/) {
|
||||||
|
$nested--
|
||||||
|
}
|
||||||
|
}
|
||||||
} elsif ($line =~ /^#\s*ifn?\s*\!?def/) {
|
} elsif ($line =~ /^#\s*ifn?\s*\!?def/) {
|
||||||
#warn "Ignored #if:\n$line";
|
#warn "Ignored #if:\n$line";
|
||||||
} elsif ($line =~ /typedef\s+struct\s+\w*\s*\{/) {
|
} elsif ($line =~ /typedef\s+struct\s+\w*\s*\{/) {
|
||||||
|
|
|
@ -6,5 +6,5 @@ generated-stamp: formatXml gtkapi.xml
|
||||||
formatXml: formatXml.c
|
formatXml: formatXml.c
|
||||||
cc -o formatXml formatXml.c `pkg-config --cflags --libs libxml-2.0 glib-2.0`
|
cc -o formatXml formatXml.c `pkg-config --cflags --libs libxml-2.0 glib-2.0`
|
||||||
|
|
||||||
gtkapi.xml: build.pl
|
gtkapi.xml: build.pl gapi_pp.pl gapi2xml.pl
|
||||||
./build.pl
|
./build.pl
|
||||||
|
|
Loading…
Add table
Reference in a new issue