GtkSharp/generator/Makefile.am
Dan Winship df41dcc177 * parser/gapi2xml.pl (parseInitFunc, addPropElem): handle
GtkContainer child properties

	* generator/Property.cs:
	* generator/ChildProperty.cs: make Property subclassable and add a
	"ChildProperty" subclass.

	* generator/Makefile.am (sources): add ChildProperty.cs

	* generator/ClassBase.cs: handle "childprop" nodes by creating
	ChildProperty objects.

	* glib/Value.cs (explicit operator EnumWrapper): use
	g_value_get_flags() rather than g_value_get_enum() when
	appropriate.

	* glib/glue/value.c (glibsharp_value_holds_flags): glue for that

	* gtk/gtk-api.raw: regen to pick up child properties

	* gtk/Gtk.metadata:
	* gtk/Container.custom: hide the auto-generated
	Gtk.Container.ChildGetProperty and implement a nicer one by hand.

	* gtk/glue/container.c (gtksharp_container_child_get_property):
	utility function to set up an appropriate GValue for us

svn path=/trunk/gtk-sharp/; revision=35702
2004-11-05 16:47:15 +00:00

60 lines
1.1 KiB
Makefile

assemblydir = $(libdir)/gtk-sharp-2.0
assembly_DATA = gapi_codegen.exe
bin_SCRIPTS = gapi2-codegen
CLEANFILES = gapi_codegen.exe
DISTCLEANFILES = gapi2-codegen
references =
sources = \
AliasGen.cs \
BoxedGen.cs \
ByRefGen.cs \
CallbackGen.cs \
ChildProperty.cs \
ClassBase.cs \
ClassGen.cs \
CodeGenerator.cs \
ConstStringGen.cs \
Ctor.cs \
CustomMarshalerGen.cs \
EnumGen.cs \
Field.cs \
GenBase.cs \
GenerationInfo.cs \
GObjectGen.cs \
GStringGen.cs \
IGeneratable.cs \
ImportSignature.cs \
InterfaceGen.cs \
ManagedCallString.cs \
ManualGen.cs \
MethodBody.cs \
Method.cs \
ObjectGen.cs \
OpaqueGen.cs \
Parameters.cs \
Parser.cs \
Property.cs \
Signal.cs \
SignalHandler.cs \
Signature.cs \
SimpleGen.cs \
Statistics.cs \
StringGen.cs \
StructBase.cs \
StructGen.cs \
SymbolTable.cs \
TimeTGen.cs \
VMSignature.cs
build_sources = $(addprefix $(srcdir)/, $(sources))
dist_sources = $(sources)
EXTRA_DIST = \
makefile.win32 \
$(dist_sources)
gapi_codegen.exe: $(build_sources)
$(CSC) /out:gapi_codegen.exe $(references) $(build_sources)