2005-01-08 Mike Kestner <mkestner@novell.com>
* configure.in : kill a ton of redundant stuff. * AssemblyInfo.cs.in : moved here, only need one. * Makefile.include : rules for building generated assemblies. * Makefile.am : removed gtk-sharp-2.0.pc handling. * */AssemblyInfo.cs.in : killed * */Makefile.am : refactored out a ton of rules to an include. * */*-pc.in : added Cflags entries pointing to the gapi files. * generator/CodeGenerator.cs : add -I: synonym --include. * gnomevfs/gnome-vfs-api.raw : remamed from gnomevfs-api.raw. * gtk/gtk-sharp-2.0.pc.in : moved here from top. * parser/gapi-fixup.cs : add --symbol arg to merge sym files. * sources/gtk-sharp-sources.xml : remamed gnome-vfs-api.raw. svn path=/trunk/gtk-sharp/; revision=38551
This commit is contained in:
parent
99357a2d00
commit
8fd87b2e0a
50 changed files with 222 additions and 867 deletions
15
ChangeLog
15
ChangeLog
|
@ -1,3 +1,18 @@
|
||||||
|
2005-01-08 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* configure.in : kill a ton of redundant stuff.
|
||||||
|
* AssemblyInfo.cs.in : moved here, only need one.
|
||||||
|
* Makefile.include : rules for building generated assemblies.
|
||||||
|
* Makefile.am : removed gtk-sharp-2.0.pc handling.
|
||||||
|
* */AssemblyInfo.cs.in : killed
|
||||||
|
* */Makefile.am : refactored out a ton of rules to an include.
|
||||||
|
* */*-pc.in : added Cflags entries pointing to the gapi files.
|
||||||
|
* generator/CodeGenerator.cs : add -I: synonym --include.
|
||||||
|
* gnomevfs/gnome-vfs-api.raw : remamed from gnomevfs-api.raw.
|
||||||
|
* gtk/gtk-sharp-2.0.pc.in : moved here from top.
|
||||||
|
* parser/gapi-fixup.cs : add --symbol arg to merge sym files.
|
||||||
|
* sources/gtk-sharp-sources.xml : remamed gnome-vfs-api.raw.
|
||||||
|
|
||||||
2005-01-07 Mike Kestner <mkestner@novell.com>
|
2005-01-07 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* sample/Makefile.am : mdb cleanup.
|
* sample/Makefile.am : mdb cleanup.
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
SUBDIRS = sources generator parser glib pango atk gdk gtk glade art gnomevfs gnome gda gnomedb gtkhtml gconf rsvg vte sample doc
|
SUBDIRS = sources generator parser glib pango atk gdk gtk glade art gnomevfs gnome gda gnomedb gtkhtml gconf rsvg vte sample doc
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = gtk-sharp-2.0.pc
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
gtk-sharp-2.0.pc.in \
|
|
||||||
gtk-sharp.snk \
|
gtk-sharp.snk \
|
||||||
makefile.win32 \
|
makefile.win32 \
|
||||||
|
AssemblyInfo.cs.in \
|
||||||
ChangeLog \
|
ChangeLog \
|
||||||
HACKING \
|
HACKING \
|
||||||
README \
|
README \
|
||||||
README.generator
|
README.generator
|
||||||
|
|
||||||
DISTCLEANFILES = gtk-sharp-2.0.pc
|
#DISTCLEANFILES = AssemblyInfo.cs
|
||||||
|
|
||||||
|
|
59
Makefile.include
Normal file
59
Makefile.include
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
SNK = gtk-sharp.snk
|
||||||
|
API = $(pkg)-api.xml
|
||||||
|
RAW_API = $(pkg)-api.raw
|
||||||
|
|
||||||
|
ASSEMBLY_NAME = $(pkg)-sharp
|
||||||
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||||
|
|
||||||
|
TARGET = $(addsuffix -sharp.dll, $(pkg)) $(addsuffix -sharp.dll.config, $(pkg))
|
||||||
|
noinst_DATA = $(TARGET)
|
||||||
|
TARGET_API = $(addsuffix -api.xml, $(pkg))
|
||||||
|
gapidir = $(datadir)/gapi-2.0
|
||||||
|
gapi_DATA = $(TARGET_API)
|
||||||
|
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK)
|
||||||
|
DISTCLEANFILES = $(ASSEMBLY).config
|
||||||
|
|
||||||
|
EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist)
|
||||||
|
|
||||||
|
build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS))
|
||||||
|
|
||||||
|
$(API): $(METADATA) $(RAW_API) $(SYMBOLS)
|
||||||
|
cp $(srcdir)/$(RAW_API) $(API)
|
||||||
|
chmod u+w $(API)
|
||||||
|
@if test -n '$(METADATA)'; then \
|
||||||
|
echo "$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \
|
||||||
|
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
build_customs = $(addprefix $(srcdir)/, $(customs))
|
||||||
|
api_includes = $(addprefix -I:, $(INCLUDE_API))
|
||||||
|
|
||||||
|
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
||||||
|
rm -f generated/* && \
|
||||||
|
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
||||||
|
$(api_includes) \
|
||||||
|
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
||||||
|
--gluelib-name=$(pkg)sharpglue --glue-filename=glue/generated.c \
|
||||||
|
&& touch generated-stamp
|
||||||
|
|
||||||
|
$(SNK): $(top_srcdir)/$(SNK)
|
||||||
|
cp $(top_srcdir)/$(SNK) .
|
||||||
|
|
||||||
|
build_sources = $(addprefix $(srcdir)/, $(sources)) ../AssemblyInfo.cs
|
||||||
|
build_references = $(addprefix /r:, $(references))
|
||||||
|
|
||||||
|
$(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references)
|
||||||
|
$(CSC) -nowarn:0612 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(build_sources) $(GENERATED_SOURCES)
|
||||||
|
|
||||||
|
install-data-local:
|
||||||
|
@if test -n '$(TARGET)'; then \
|
||||||
|
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
||||||
|
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
uninstall-local:
|
||||||
|
@if test -n '$(TARGET)'; then \
|
||||||
|
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
||||||
|
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
||||||
|
fi
|
||||||
|
|
|
@ -1,74 +1,21 @@
|
||||||
if ENABLE_LIBART
|
if ENABLE_LIBART
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = art
|
||||||
APIS = $(API) $(ADDITIONAL_API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = art-sharp-2.0.pc
|
pkgconfig_DATA = art-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
|
||||||
endif
|
endif
|
||||||
API = art-api.xml
|
|
||||||
RAW_API = art-api.raw
|
SYMBOLS = art-symbols.xml
|
||||||
ADDITIONAL_API = art-symbols.xml
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml
|
|
||||||
METADATA = Art.metadata
|
METADATA = Art.metadata
|
||||||
ASSEMBLY_NAME = art-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
apidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
api_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = art-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources =
|
sources =
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
dist_sources = $(sources)
|
|
||||||
|
|
||||||
customs =
|
customs =
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = art-sharp-2.0.pc.in
|
||||||
dist_customs = $(customs)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(RAW_API) \
|
|
||||||
$(ADDITIONAL_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(dist_customs) \
|
|
||||||
$(dist_sources) \
|
|
||||||
art-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) $(srcdir)/$(ADDITIONAL_API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) $(srcdir)/$(ADDITIONAL_API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Art#
|
Name: Art#
|
||||||
Description: Art# - libart .NET Binding
|
Description: Art# - libart .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
|
Cflags: -I:${gapidir}/art-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/art-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/art-sharp.dll
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,63 +1,13 @@
|
||||||
#SUBDIRS = . glue
|
#SUBDIRS = . glue
|
||||||
|
|
||||||
API = atk-api.xml
|
pkg = atk
|
||||||
RAW_API = atk-api.raw
|
|
||||||
METADATA = Atk.metadata
|
METADATA = Atk.metadata
|
||||||
ASSEMBLY_NAME = atk-sharp
|
references = ../glib/glib-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll
|
|
||||||
|
|
||||||
TARGET = $(ASSEMBLY)
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
|
|
||||||
gapi_DATA = $(API)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c gtk-sharp.snk
|
|
||||||
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources =
|
sources =
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs =
|
customs =
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = makefile.win32
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
makefile.win32 \
|
|
||||||
$(RAW_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources)
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
--gluelib-name=atksharpglue --glue-filename=glue/generated.c \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
include ../Makefile.include
|
||||||
|
|
21
configure.in
21
configure.in
|
@ -204,6 +204,8 @@ AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes")
|
||||||
AC_SUBST(CFLAGS)
|
AC_SUBST(CFLAGS)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
|
AssemblyInfo.cs
|
||||||
|
Makefile
|
||||||
sources/Makefile
|
sources/Makefile
|
||||||
parser/Makefile
|
parser/Makefile
|
||||||
parser/gapi-2.0.pc
|
parser/gapi-2.0.pc
|
||||||
|
@ -212,70 +214,55 @@ parser/gapi2-parser
|
||||||
generator/Makefile
|
generator/Makefile
|
||||||
generator/gapi2-codegen
|
generator/gapi2-codegen
|
||||||
glib/Makefile
|
glib/Makefile
|
||||||
glib/AssemblyInfo.cs
|
|
||||||
glib/glib-sharp.dll.config
|
glib/glib-sharp.dll.config
|
||||||
glib/glue/Makefile
|
glib/glue/Makefile
|
||||||
pango/Makefile
|
pango/Makefile
|
||||||
pango/AssemblyInfo.cs
|
|
||||||
pango/pango-sharp.dll.config
|
pango/pango-sharp.dll.config
|
||||||
pango/glue/Makefile
|
pango/glue/Makefile
|
||||||
atk/Makefile
|
atk/Makefile
|
||||||
atk/AssemblyInfo.cs
|
|
||||||
atk/atk-sharp.dll.config
|
atk/atk-sharp.dll.config
|
||||||
art/Makefile
|
art/Makefile
|
||||||
art/AssemblyInfo.cs
|
|
||||||
art/art-sharp.dll.config
|
art/art-sharp.dll.config
|
||||||
art/art-sharp-2.0.pc
|
art/art-sharp-2.0.pc
|
||||||
gdk/Makefile
|
gdk/Makefile
|
||||||
gdk/AssemblyInfo.cs
|
|
||||||
gdk/gdk-sharp.dll.config
|
gdk/gdk-sharp.dll.config
|
||||||
gdk/glue/Makefile
|
gdk/glue/Makefile
|
||||||
gtk/Makefile
|
gtk/Makefile
|
||||||
gtk/AssemblyInfo.cs
|
gtk/gtk-sharp-2.0.pc
|
||||||
gtk/gtk-sharp.dll.config
|
gtk/gtk-sharp.dll.config
|
||||||
gtk/glue/Makefile
|
gtk/glue/Makefile
|
||||||
glade/Makefile
|
glade/Makefile
|
||||||
glade/AssemblyInfo.cs
|
|
||||||
glade/glade-sharp.dll.config
|
glade/glade-sharp.dll.config
|
||||||
glade/glade-sharp-2.0.pc
|
glade/glade-sharp-2.0.pc
|
||||||
glade/glue/Makefile
|
glade/glue/Makefile
|
||||||
gnome/Makefile
|
gnome/Makefile
|
||||||
gnome/AssemblyInfo.cs
|
|
||||||
gnome/gnome-sharp.dll.config
|
gnome/gnome-sharp.dll.config
|
||||||
gnome/gnome-sharp-2.0.pc
|
gnome/gnome-sharp-2.0.pc
|
||||||
gnome/glue/Makefile
|
gnome/glue/Makefile
|
||||||
gnomevfs/Makefile
|
gnomevfs/Makefile
|
||||||
gnomevfs/AssemblyInfo.cs
|
|
||||||
gnomevfs/gnome-vfs-sharp.dll.config
|
gnomevfs/gnome-vfs-sharp.dll.config
|
||||||
gnomevfs/gnome-vfs-sharp-2.0.pc
|
gnomevfs/gnome-vfs-sharp-2.0.pc
|
||||||
gda/Makefile
|
gda/Makefile
|
||||||
gda/AssemblyInfo.cs
|
|
||||||
gda/gda-sharp.dll.config
|
gda/gda-sharp.dll.config
|
||||||
gda/gda-sharp-2.0.pc
|
gda/gda-sharp-2.0.pc
|
||||||
gnomedb/Makefile
|
gnomedb/Makefile
|
||||||
gnomedb/AssemblyInfo.cs
|
|
||||||
gnomedb/gnomedb-sharp.dll.config
|
gnomedb/gnomedb-sharp.dll.config
|
||||||
gnomedb/gnomedb-sharp-2.0.pc
|
gnomedb/gnomedb-sharp-2.0.pc
|
||||||
gconf/Makefile
|
gconf/Makefile
|
||||||
gconf/doc/Makefile
|
gconf/doc/Makefile
|
||||||
gconf/GConf/Makefile
|
gconf/GConf/Makefile
|
||||||
gconf/GConf/AssemblyInfo.cs
|
|
||||||
gconf/GConf/gconf-sharp.dll.config
|
gconf/GConf/gconf-sharp.dll.config
|
||||||
gconf/GConf/gconf-sharp-2.0.pc
|
gconf/GConf/gconf-sharp-2.0.pc
|
||||||
gconf/GConf.PropertyEditors/Makefile
|
gconf/GConf.PropertyEditors/Makefile
|
||||||
gconf/GConf.PropertyEditors/AssemblyInfo.cs
|
|
||||||
gconf/tools/Makefile
|
gconf/tools/Makefile
|
||||||
gconf/tools/gconfsharp2-schemagen
|
gconf/tools/gconfsharp2-schemagen
|
||||||
gtkhtml/Makefile
|
gtkhtml/Makefile
|
||||||
gtkhtml/AssemblyInfo.cs
|
|
||||||
gtkhtml/gtkhtml-sharp.dll.config
|
gtkhtml/gtkhtml-sharp.dll.config
|
||||||
gtkhtml/gtkhtml-sharp-2.0.pc
|
gtkhtml/gtkhtml-sharp-2.0.pc
|
||||||
rsvg/Makefile
|
rsvg/Makefile
|
||||||
rsvg/AssemblyInfo.cs
|
|
||||||
rsvg/rsvg-sharp.dll.config
|
rsvg/rsvg-sharp.dll.config
|
||||||
rsvg/rsvg-sharp-2.0.pc
|
rsvg/rsvg-sharp-2.0.pc
|
||||||
vte/Makefile
|
vte/Makefile
|
||||||
vte/AssemblyInfo.cs
|
|
||||||
vte/vte-sharp.dll.config
|
vte/vte-sharp.dll.config
|
||||||
vte/vte-sharp-2.0.pc
|
vte/vte-sharp-2.0.pc
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
|
@ -289,8 +276,6 @@ sample/rsvg/Makefile
|
||||||
sample/test/Makefile
|
sample/test/Makefile
|
||||||
sample/drawing-sample.exe.config
|
sample/drawing-sample.exe.config
|
||||||
sample/cairo-sample.exe.config
|
sample/cairo-sample.exe.config
|
||||||
gtk-sharp-2.0.pc
|
|
||||||
Makefile
|
|
||||||
])
|
])
|
||||||
|
|
||||||
echo "---"
|
echo "---"
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -8,10 +8,8 @@ ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||||
ASSEMBLY_NAME = gconf-sharp-peditors
|
ASSEMBLY_NAME = gconf-sharp-peditors
|
||||||
noinst_DATA = $(TARGET)
|
noinst_DATA = $(TARGET)
|
||||||
CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
|
CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
|
||||||
DISTCLEANFILES = AssemblyInfo.cs
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
PropertyEditorColorPicker.cs \
|
PropertyEditorColorPicker.cs \
|
||||||
$(sources)
|
$(sources)
|
||||||
|
|
||||||
|
@ -30,7 +28,7 @@ sources = \
|
||||||
PropertyEditorToggleButton.cs \
|
PropertyEditorToggleButton.cs \
|
||||||
EditorShell.cs
|
EditorShell.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
build_sources = $(addprefix $(srcdir)/, $(sources)) ../../AssemblyInfo.cs
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
cp $(top_srcdir)/gtk-sharp.snk .
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -7,7 +7,7 @@ TARGET =
|
||||||
endif
|
endif
|
||||||
noinst_DATA = $(TARGET)
|
noinst_DATA = $(TARGET)
|
||||||
CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
|
CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
|
||||||
DISTCLEANFILES = gconf-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
DISTCLEANFILES = gconf-sharp-2.0.pc $(ASSEMBLY).config
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||||
ASSEMBLY_NAME = gconf-sharp
|
ASSEMBLY_NAME = gconf-sharp
|
||||||
|
@ -15,7 +15,6 @@ ASSEMBLY_NAME = gconf-sharp
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(sources) \
|
$(sources) \
|
||||||
$(ASSEMBLY).config.in \
|
$(ASSEMBLY).config.in \
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
gconf-sharp-2.0.pc.in
|
gconf-sharp-2.0.pc.in
|
||||||
|
|
||||||
references = \
|
references = \
|
||||||
|
@ -33,7 +32,7 @@ sources = \
|
||||||
NotifyWrapper.cs \
|
NotifyWrapper.cs \
|
||||||
Value.cs
|
Value.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
build_sources = $(addprefix $(srcdir)/, $(sources)) ../../AssemblyInfo.cs
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
cp $(top_srcdir)/gtk-sharp.snk .
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,71 +1,20 @@
|
||||||
if ENABLE_GDA
|
if ENABLE_GDA
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = gda
|
||||||
APIS = $(API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gda-sharp-2.0.pc
|
pkgconfig_DATA = gda-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
API = gda-api.xml
|
|
||||||
RAW_API = gda-api.raw
|
|
||||||
METADATA = Gda.metadata
|
METADATA = Gda.metadata
|
||||||
ASSEMBLY_NAME = gda-sharp
|
references = ../glib/glib-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = gda-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
Application.cs
|
Application.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs =
|
customs =
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = gda-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(RAW_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources) \
|
|
||||||
gda-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Gda#
|
Name: Gda#
|
||||||
Description: Gda# - Gda .NET Binding
|
Description: Gda# - Gda .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
|
Cflags: -I:${gapidir}/gda-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gda-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gda-sharp.dll
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,20 +1,10 @@
|
||||||
SUBDIRS = . glue
|
SUBDIRS = . glue
|
||||||
|
|
||||||
API = gdk-api.xml
|
pkg = gdk
|
||||||
RAW_API = gdk-api.raw
|
SYMBOLS = gdk-symbols.xml
|
||||||
ADDITIONAL_API = gdk-symbols.xml
|
|
||||||
INCLUDE_API = ../pango/pango-api.xml
|
INCLUDE_API = ../pango/pango-api.xml
|
||||||
METADATA = Gdk.metadata
|
METADATA = Gdk.metadata
|
||||||
ASSEMBLY_NAME = gdk-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll
|
|
||||||
|
|
||||||
TARGET = $(ASSEMBLY)
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
|
|
||||||
gapi_DATA = $(API) $(ADDITIONAL_API)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c gtk-sharp.snk
|
|
||||||
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
EventButton.cs \
|
EventButton.cs \
|
||||||
|
@ -38,8 +28,6 @@ sources = \
|
||||||
Size.cs \
|
Size.cs \
|
||||||
TextProperty.cs
|
TextProperty.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs = \
|
customs = \
|
||||||
Atom.custom \
|
Atom.custom \
|
||||||
Color.custom \
|
Color.custom \
|
||||||
|
@ -63,45 +51,6 @@ customs = \
|
||||||
WindowAttr.custom \
|
WindowAttr.custom \
|
||||||
Window.custom
|
Window.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = makefile.win32
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
makefile.win32 \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(RAW_API) \
|
|
||||||
$(ADDITIONAL_API) \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources)
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) $(srcdir)/$(ADDITIONAL_API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) $(srcdir)/$(ADDITIONAL_API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
--gluelib-name=gdksharpglue --glue-filename=glue/generated.c \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
include ../Makefile.include
|
||||||
|
|
|
@ -45,12 +45,16 @@ namespace GtkSharp.Generation {
|
||||||
SymbolTable table = SymbolTable.Table;
|
SymbolTable table = SymbolTable.Table;
|
||||||
ArrayList gens = new ArrayList ();
|
ArrayList gens = new ArrayList ();
|
||||||
foreach (string arg in args) {
|
foreach (string arg in args) {
|
||||||
|
string filename = arg;
|
||||||
if (arg == "--generate") {
|
if (arg == "--generate") {
|
||||||
generate = true;
|
generate = true;
|
||||||
continue;
|
continue;
|
||||||
} else if (arg == "--include") {
|
} else if (arg == "--include") {
|
||||||
generate = false;
|
generate = false;
|
||||||
continue;
|
continue;
|
||||||
|
} else if (arg.StartsWith ("-I:")) {
|
||||||
|
generate = false;
|
||||||
|
filename = filename.Substring (3);
|
||||||
} else if (arg.StartsWith ("--outdir=")) {
|
} else if (arg.StartsWith ("--outdir=")) {
|
||||||
generate = false;
|
generate = false;
|
||||||
dir = arg.Substring (9);
|
dir = arg.Substring (9);
|
||||||
|
@ -74,7 +78,7 @@ namespace GtkSharp.Generation {
|
||||||
}
|
}
|
||||||
|
|
||||||
Parser p = new Parser ();
|
Parser p = new Parser ();
|
||||||
IGeneratable[] curr_gens = p.Parse (arg);
|
IGeneratable[] curr_gens = p.Parse (filename);
|
||||||
table.AddTypes (curr_gens);
|
table.AddTypes (curr_gens);
|
||||||
if (generate)
|
if (generate)
|
||||||
gens.AddRange (curr_gens);
|
gens.AddRange (curr_gens);
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,77 +1,25 @@
|
||||||
SUBDIRS = glue
|
SUBDIRS = glue
|
||||||
|
|
||||||
if ENABLE_GLADE
|
if ENABLE_GLADE
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = glade
|
||||||
APIS = $(API) $(ADDITIONAL_API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = glade-sharp-2.0.pc
|
pkgconfig_DATA = glade-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
|
||||||
endif
|
endif
|
||||||
API = glade-api.xml
|
|
||||||
RAW_API = glade-api.raw
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml
|
||||||
ADDITIONAL_API =
|
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml ../gtk/gtk-api.xml $(top_srcdir)/gtk/gtk-symbols.xml
|
|
||||||
METADATA = Glade.metadata
|
METADATA = Glade.metadata
|
||||||
ASSEMBLY_NAME = glade-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = glade-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
HandlerNotFoundExeception.cs \
|
HandlerNotFoundExeception.cs \
|
||||||
WidgetAttribute.cs
|
WidgetAttribute.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs = \
|
customs = \
|
||||||
XML.custom
|
XML.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = makefile.win32 glade-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
makefile.win32 \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(RAW_API) \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources) \
|
|
||||||
glade-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Glade#
|
Name: Glade#
|
||||||
Description: Glade# - Glade .NET Binding
|
Description: Glade# - Glade .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: gtk-sharp-2.0
|
Requires: gtk-sharp-2.0
|
||||||
|
Cflags: -I:${gapidir}/glade-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glade-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glade-sharp.dll
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -5,7 +5,7 @@ ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||||
ASSEMBLY_NAME = glib-sharp
|
ASSEMBLY_NAME = glib-sharp
|
||||||
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
|
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
|
||||||
CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
|
CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
|
||||||
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
DISTCLEANFILES = $(ASSEMBLY).config
|
||||||
|
|
||||||
references =
|
references =
|
||||||
|
|
||||||
|
@ -49,13 +49,12 @@ sources = \
|
||||||
ValueArray.cs \
|
ValueArray.cs \
|
||||||
Value.cs
|
Value.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
build_sources = $(addprefix $(srcdir)/, $(sources)) ../AssemblyInfo.cs
|
||||||
dist_sources = $(sources)
|
dist_sources = $(sources)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(dist_sources) \
|
$(dist_sources) \
|
||||||
$(ASSEMBLY).config.in \
|
$(ASSEMBLY).config.in \
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
makefile.win32
|
makefile.win32
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,31 +1,16 @@
|
||||||
SUBDIRS = glue
|
SUBDIRS = glue
|
||||||
|
|
||||||
if ENABLE_GNOME
|
if ENABLE_GNOME
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = gnome
|
||||||
APIS = $(API)
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gnome-sharp-2.0.pc
|
pkgconfig_DATA = gnome-sharp-2.0.pc
|
||||||
|
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
API = gnome-api.xml
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml ../art/art-api.xml
|
||||||
RAW_API = gnome-api.raw
|
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml ../gtk/gtk-api.xml $(top_srcdir)/gtk/gtk-symbols.xml ../art/art-api.xml
|
|
||||||
METADATA = Gnome.metadata
|
METADATA = Gnome.metadata
|
||||||
ASSEMBLY_NAME = gnome-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll ../art/art-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = gnome-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
BonoboUIVerb.cs \
|
BonoboUIVerb.cs \
|
||||||
|
@ -34,8 +19,6 @@ sources = \
|
||||||
Modules.cs \
|
Modules.cs \
|
||||||
PanelAppletFactory.cs
|
PanelAppletFactory.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs = \
|
customs = \
|
||||||
App.custom \
|
App.custom \
|
||||||
DateEdit.custom \
|
DateEdit.custom \
|
||||||
|
@ -70,43 +53,7 @@ customs = \
|
||||||
Program.custom \
|
Program.custom \
|
||||||
Scores.custom
|
Scores.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = gnome-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(RAW_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources) \
|
|
||||||
gnome-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Gnome#
|
Name: Gnome#
|
||||||
Description: Gnome# - GNOME .NET Binding
|
Description: Gnome# - GNOME .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: gtk-sharp-2.0 art-sharp-2.0
|
Requires: gtk-sharp-2.0 art-sharp-2.0
|
||||||
|
Cflags: -I:${gapidir}/gnome-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gnome-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gnome-sharp.dll
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,71 +1,21 @@
|
||||||
if ENABLE_GNOMEDB
|
if ENABLE_GNOMEDB
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = gnomedb
|
||||||
APIS = $(API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gnomedb-sharp-2.0.pc
|
pkgconfig_DATA = gnomedb-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
APIS =
|
||||||
endif
|
endif
|
||||||
API = gnomedb-api.xml
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml ../art/art-api.xml ../gnome/gnome-api.xml ../gda/gda-api.xml
|
||||||
RAW_API = gnomedb-api.raw
|
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml ../gtk/gtk-api.xml $(top_srcdir)/gtk/gtk-symbols.xml ../art/art-api.xml ../gnome/gnome-api.xml ../gda/gda-api.xml
|
|
||||||
METADATA = GnomeDb.metadata
|
METADATA = GnomeDb.metadata
|
||||||
ASSEMBLY_NAME = gnomedb-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll ../art/art-sharp.dll ../gnome/gnome-sharp.dll ../gda/gda-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = gnomedb-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
Application.cs
|
Application.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs =
|
customs =
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = gnomedb-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(RAW_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources) \
|
|
||||||
gnomedb-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: GnomeDB#
|
Name: GnomeDB#
|
||||||
Description: GnomeDB# - GNOMEDB .NET Binding
|
Description: GnomeDB# - GNOMEDB .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
|
Cflags: -I:${gapidir}/gnomedb-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gnomedb-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gnomedb-sharp.dll
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(true)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,29 +1,16 @@
|
||||||
SUBDIRS = .
|
SUBDIRS = .
|
||||||
|
|
||||||
if ENABLE_GNOMEVFS
|
if ENABLE_GNOMEVFS
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = gnome-vfs
|
||||||
APIS = $(API) $(ADDITIONAL_API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gnome-vfs-sharp-2.0.pc
|
pkgconfig_DATA = gnome-vfs-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET=
|
pkg=
|
||||||
APIS=
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
API = gnomevfs-api.xml
|
SYMBOLS = gnomevfs-symbols.xml
|
||||||
ADDITIONAL_API = gnomevfs-symbols.xml
|
|
||||||
RAW_API = gnomevfs-api.raw
|
|
||||||
INCLUDE_API =
|
|
||||||
METADATA = Gnomevfs.metadata
|
METADATA = Gnomevfs.metadata
|
||||||
ASSEMBLY_NAME = gnome-vfs-sharp
|
references = ../glib/glib-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c gtk-sharp.snk
|
|
||||||
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs gnome-vfs-sharp.pc
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
Async.cs \
|
Async.cs \
|
||||||
|
@ -55,50 +42,11 @@ sources = \
|
||||||
XferProgressCallback.cs \
|
XferProgressCallback.cs \
|
||||||
XferProgressCallbackNative.cs
|
XferProgressCallbackNative.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs = \
|
customs = \
|
||||||
Uri.custom \
|
Uri.custom \
|
||||||
VolumeMonitor.custom
|
VolumeMonitor.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = gnome-vfs-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(RAW_API) \
|
|
||||||
$(ADDITIONAL_API) \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources)
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) $(srcdir)/$(ADDITIONAL_API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) $(srcdir)/$(ADDITIONAL_API) \
|
|
||||||
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
--gluelib-name=gtksharpglue --glue-filename=glue/generated.c \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: GnomeVfs#
|
Name: GnomeVfs#
|
||||||
Description: GnomeVfs# - GNOME-VFS .NET Binding
|
Description: GnomeVfs# - GNOME-VFS .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
|
Cflags: -I:${gapidir}/gnome-vfs-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gnome-vfs-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gnome-vfs-sharp.dll
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,20 +1,13 @@
|
||||||
SUBDIRS = . glue
|
SUBDIRS = . glue
|
||||||
|
|
||||||
API = gtk-api.xml
|
pkg = gtk
|
||||||
RAW_API = gtk-api.raw
|
pkgconfigdir=$(libdir)/pkgconfig
|
||||||
ADDITIONAL_API = gtk-symbols.xml
|
pkgconfig_DATA=gtk-sharp-2.0.pc
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml
|
|
||||||
METADATA = Gtk.metadata
|
|
||||||
ASSEMBLY_NAME = gtk-sharp
|
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll
|
|
||||||
|
|
||||||
TARGET = $(ASSEMBLY)
|
SYMBOLS = gtk-symbols.xml
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml
|
||||||
gapidir = $(datadir)/gapi-2.0
|
METADATA = Gtk.metadata
|
||||||
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll
|
||||||
gapi_DATA = $(API) $(ADDITIONAL_API)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c gtk-sharp.snk
|
|
||||||
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
ActionEntry.cs \
|
ActionEntry.cs \
|
||||||
|
@ -33,8 +26,6 @@ sources = \
|
||||||
TreeNode.cs \
|
TreeNode.cs \
|
||||||
TreeNodeValueAttribute.cs
|
TreeNodeValueAttribute.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs = \
|
customs = \
|
||||||
Accel.custom \
|
Accel.custom \
|
||||||
AccelKey.custom \
|
AccelKey.custom \
|
||||||
|
@ -114,45 +105,7 @@ customs = \
|
||||||
Widget.custom \
|
Widget.custom \
|
||||||
Window.custom
|
Window.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = makefile.win32 gtk-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
makefile.win32 \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(RAW_API) \
|
|
||||||
$(ADDITIONAL_API) \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources)
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) $(srcdir)/$(ADDITIONAL_API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) $(srcdir)/$(ADDITIONAL_API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
--gluelib-name=gtksharpglue --glue-filename=glue/generated.c \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Gtk#
|
Name: Gtk#
|
||||||
Description: Gtk# - GNOME .NET Binding
|
Description: Gtk# - GNOME .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
|
Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml -I:${gapidir}/gdk-api.xml -I:${gapidir}/gtk-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glib-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glib-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,72 +1,21 @@
|
||||||
if ENABLE_GTKHTML
|
if ENABLE_GTKHTML
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = gtkhtml
|
||||||
APIS = $(API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gtkhtml-sharp-2.0.pc
|
pkgconfig_DATA = gtkhtml-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
|
||||||
endif
|
endif
|
||||||
API = gtkhtml-api.xml
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml ../art/art-api.xml ../gnome/gnome-api.xml
|
||||||
RAW_API = gtkhtml-api.raw
|
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml ../gtk/gtk-api.xml $(top_srcdir)/gtk/gtk-symbols.xml ../art/art-api.xml ../gnome/gnome-api.xml
|
|
||||||
METADATA = Gtk.metadata
|
METADATA = Gtk.metadata
|
||||||
ASSEMBLY_NAME = gtkhtml-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll ../art/art-sharp.dll ../gnome/gnome-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll /r:../gnome/gnome-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = gtkhtml-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources =
|
sources =
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs = \
|
customs = \
|
||||||
HTML.custom \
|
HTML.custom \
|
||||||
HTMLStream.custom
|
HTMLStream.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = gtkhtml-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(RAW_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources) \
|
|
||||||
gtkhtml-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Gtkhtml#
|
Name: Gtkhtml#
|
||||||
Description: Gtkhtml# - Gtkhtml .NET Binding
|
Description: Gtkhtml# - Gtkhtml .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: gnome-sharp-2.0
|
Requires: gnome-sharp-2.0
|
||||||
|
Cflags: -I:${gapidir}/gtkhtml-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gtkhtml-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gtkhtml-sharp.dll
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,25 +1,12 @@
|
||||||
SUBDIRS = . glue
|
SUBDIRS = . glue
|
||||||
|
|
||||||
API = pango-api.xml
|
pkg = pango
|
||||||
RAW_API = pango-api.raw
|
|
||||||
METADATA = Pango.metadata
|
METADATA = Pango.metadata
|
||||||
ASSEMBLY_NAME = pango-sharp
|
references = ../glib/glib-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll
|
|
||||||
|
|
||||||
TARGET = $(ASSEMBLY)
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
|
|
||||||
gapi_DATA = $(API)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
Scale.cs
|
Scale.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
dist_sources = $(sources)
|
|
||||||
|
|
||||||
customs = \
|
customs = \
|
||||||
AttrIterator.custom \
|
AttrIterator.custom \
|
||||||
Context.custom \
|
Context.custom \
|
||||||
|
@ -32,44 +19,7 @@ customs = \
|
||||||
LayoutLine.custom \
|
LayoutLine.custom \
|
||||||
TabArray.custom
|
TabArray.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = makefile.win32
|
||||||
dist_customs = $(customs)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
makefile.win32 \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(RAW_API) \
|
|
||||||
$(METADATA) \
|
|
||||||
$(dist_customs) \
|
|
||||||
$(dist_sources)
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(METADATA) $(srcdir)/$(RAW_API)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -29,14 +29,15 @@ namespace GtkSharp.Parsing {
|
||||||
|
|
||||||
public static int Main (string[] args)
|
public static int Main (string[] args)
|
||||||
{
|
{
|
||||||
if (args.Length != 2) {
|
if (args.Length < 2) {
|
||||||
Console.WriteLine ("Usage: gapi-fixup --metadata=<filename> --api=<filename>");
|
Console.WriteLine ("Usage: gapi-fixup --metadata=<filename> --api=<filename> --symbols=<filename>");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
string api_filename = "";
|
string api_filename = "";
|
||||||
XmlDocument api_doc = new XmlDocument ();
|
XmlDocument api_doc = new XmlDocument ();
|
||||||
XmlDocument meta_doc = new XmlDocument ();
|
XmlDocument meta_doc = new XmlDocument ();
|
||||||
|
XmlDocument symbol_doc = new XmlDocument ();
|
||||||
|
|
||||||
foreach (string arg in args) {
|
foreach (string arg in args) {
|
||||||
|
|
||||||
|
@ -68,6 +69,20 @@ namespace GtkSharp.Parsing {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} else if (arg.StartsWith ("--symbols=")) {
|
||||||
|
|
||||||
|
string symbol_filename = arg.Substring (10);
|
||||||
|
|
||||||
|
try {
|
||||||
|
Stream stream = File.OpenRead (symbol_filename);
|
||||||
|
symbol_doc.Load (stream);
|
||||||
|
stream.Close ();
|
||||||
|
} catch (XmlException e) {
|
||||||
|
Console.WriteLine ("Invalid api file.");
|
||||||
|
Console.WriteLine (e);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
Console.WriteLine ("Usage: gapi-fixup --metadata=<filename> --api=<filename>");
|
Console.WriteLine ("Usage: gapi-fixup --metadata=<filename> --api=<filename>");
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -116,6 +131,22 @@ namespace GtkSharp.Parsing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (symbol_doc != null) {
|
||||||
|
Console.WriteLine ("adding symbols to api file");
|
||||||
|
XPathNavigator symbol_nav = symbol_doc.CreateNavigator ();
|
||||||
|
XPathNodeIterator iter = symbol_nav.Select ("/api/*");
|
||||||
|
while (iter.MoveNext ()) {
|
||||||
|
Console.WriteLine ("adding symbol");
|
||||||
|
XmlNode sym_node = ((IHasXmlNode)iter.Current).GetNode ();
|
||||||
|
XPathNodeIterator parent_iter = api_nav.Select ("/api");
|
||||||
|
if (parent_iter.MoveNext ()) {
|
||||||
|
Console.WriteLine ("to parent node");
|
||||||
|
XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode ();
|
||||||
|
parent_node.AppendChild (api_doc.ImportNode (sym_node, true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
api_doc.Save (api_filename);
|
api_doc.Save (api_filename);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,72 +1,21 @@
|
||||||
if ENABLE_RSVG
|
if ENABLE_RSVG
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = rsvg
|
||||||
APIS = $(API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = rsvg-sharp-2.0.pc
|
pkgconfig_DATA = rsvg-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
API = rsvg-api.xml
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml ../art/art-api.xml
|
||||||
RAW_API = rsvg-api.raw
|
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml ../gtk/gtk-api.xml $(top_srcdir)/gtk/gtk-symbols.xml ../art/art-api.xml
|
|
||||||
METADATA = Rsvg.metadata
|
METADATA = Rsvg.metadata
|
||||||
ASSEMBLY_NAME = rsvg-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll ../art/art-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = rsvg-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
Tool.cs
|
Tool.cs
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs = Pixbuf.custom
|
customs = Pixbuf.custom
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = rsvg-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(RAW_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources) \
|
|
||||||
rsvg-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Rsvg#
|
Name: Rsvg#
|
||||||
Description: Rsvg# - librsvg .NET Binding
|
Description: Rsvg# - librsvg .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
|
Cflags: -I:${gapidir}/rsvg-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/rsvg-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/rsvg-sharp.dll
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
</namespace>
|
</namespace>
|
||||||
</library>
|
</library>
|
||||||
</api>
|
</api>
|
||||||
<api filename="../gnomevfs/gnomevfs-api.raw">
|
<api filename="../gnomevfs/gnome-vfs-api.raw">
|
||||||
<library name="gnomevfs-2">
|
<library name="gnomevfs-2">
|
||||||
<namespace name="Gnome.Vfs">
|
<namespace name="Gnome.Vfs">
|
||||||
<dir>gnome-vfs-2.6.0/libgnomevfs</dir>
|
<dir>gnome-vfs-2.6.0/libgnomevfs</dir>
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
||||||
[assembly:AssemblyDelaySign(false)]
|
|
||||||
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
|
@ -1,70 +1,19 @@
|
||||||
if ENABLE_VTE
|
if ENABLE_VTE
|
||||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
pkg = vte
|
||||||
APIS = $(API)
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = vte-sharp-2.0.pc
|
pkgconfig_DATA = vte-sharp-2.0.pc
|
||||||
else
|
else
|
||||||
TARGET =
|
pkg =
|
||||||
APIS =
|
|
||||||
endif
|
endif
|
||||||
API = vte-api.xml
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml
|
||||||
RAW_API = vte-api.raw
|
|
||||||
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml ../gtk/gtk-api.xml $(top_srcdir)/gtk/gtk-symbols.xml
|
|
||||||
METADATA = Vte.metadata
|
METADATA = Vte.metadata
|
||||||
ASSEMBLY_NAME = vte-sharp
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll
|
||||||
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll
|
|
||||||
|
|
||||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
||||||
gapidir = $(datadir)/gapi-2.0
|
|
||||||
noinst_DATA = $(TARGET)
|
|
||||||
gapi_DATA = $(APIS)
|
|
||||||
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.snk
|
|
||||||
|
|
||||||
DISTCLEANFILES = vte-sharp-2.0.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
||||||
|
|
||||||
sources =
|
sources =
|
||||||
|
|
||||||
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
||||||
|
|
||||||
customs =
|
customs =
|
||||||
|
|
||||||
build_customs = $(addprefix $(srcdir)/, $(customs))
|
add_dist = vte-sharp-2.0.pc.in
|
||||||
|
|
||||||
EXTRA_DIST = \
|
include ../Makefile.include
|
||||||
$(RAW_API) \
|
|
||||||
$(ASSEMBLY).config.in \
|
|
||||||
AssemblyInfo.cs.in \
|
|
||||||
$(METADATA) \
|
|
||||||
$(customs) \
|
|
||||||
$(sources) \
|
|
||||||
vte-sharp-2.0.pc.in
|
|
||||||
|
|
||||||
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|
||||||
cp $(srcdir)/$(RAW_API) $(API)
|
|
||||||
chmod u+w $(API)
|
|
||||||
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
|
|
||||||
|
|
||||||
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
|
|
||||||
rm -f generated/* && \
|
|
||||||
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \
|
|
||||||
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
||||||
&& touch generated-stamp
|
|
||||||
|
|
||||||
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
||||||
cp $(top_srcdir)/gtk-sharp.snk .
|
|
||||||
|
|
||||||
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.snk
|
|
||||||
$(CSC) /nowarn:0612 /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
@if test -n '$(TARGET)'; then \
|
|
||||||
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
||||||
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
|
gapidir=${prefix}/share/gapi-2.0
|
||||||
|
|
||||||
|
|
||||||
Name: Vte#
|
Name: Vte#
|
||||||
Description: Vte# - libvte .NET Binding
|
Description: Vte# - libvte .NET Binding
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: gnome-sharp-2.0
|
Requires: gnome-sharp-2.0
|
||||||
|
Cflags: -I:${gapidir}/vte-api.xml
|
||||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/vte-sharp.dll
|
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/vte-sharp.dll
|
||||||
|
|
Loading…
Reference in a new issue