GtkSharp/generator/Makefile.am
Mike Kestner 0fc5126228 Implement Ownable Generatable type.
* cairo/Context.cs: add ctor (IntPtr, bool owned)
* cairo/cairo-api.xml: expose cairo_t as new ownable symbol type
* generator/HandleBase.cs: implement IOwnable
* generator/IOwnable.cs: new interface for wrapping ownable types
* generator/Makefile.am: add new files to build
* generator/OwnableGen.cs: SimpleBase subclass to expose IOwnable
* generator/Parameters.cs: use IOwnable.FromNative instead of HandleBase
* generator/Parser.cs: parse ownable symbol type
* generator/ReturnValue.cs: use IOwnable.FromNative instead of HandleBase
2011-04-21 18:04:47 -05:00

74 lines
1.4 KiB
Makefile

assemblydir = $(prefix)/lib/gapi-3.0
assembly_DATA = gapi_codegen.exe
bin_SCRIPTS = gapi3-codegen
CLEANFILES = gapi_codegen.exe
DISTCLEANFILES = gapi3-codegen
references =
sources = \
AliasGen.cs \
BoxedGen.cs \
ByRefGen.cs \
CallbackGen.cs \
ChildProperty.cs \
ClassBase.cs \
ClassField.cs \
ClassGen.cs \
CodeGenerator.cs \
ConstFilenameGen.cs \
ConstStringGen.cs \
Ctor.cs \
DefaultSignalHandler.cs \
EnumGen.cs \
FieldBase.cs \
GenBase.cs \
GenerationInfo.cs \
GObjectVM.cs \
HandleBase.cs \
IAccessor.cs \
IGeneratable.cs \
IManualMarshaler.cs \
InterfaceGen.cs \
InterfaceVM.cs \
IOwnable.cs \
LogWriter.cs \
LPGen.cs \
LPUGen.cs \
ManagedCallString.cs \
ManualGen.cs \
MarshalGen.cs \
MethodBase.cs \
MethodBody.cs \
Method.cs \
ObjectField.cs \
ObjectBase.cs \
ObjectGen.cs \
OpaqueGen.cs \
OwnableGen.cs \
Parameters.cs \
Parser.cs \
Property.cs \
PropertyBase.cs \
ReturnValue.cs \
Signal.cs \
Signature.cs \
SimpleBase.cs \
SimpleGen.cs \
Statistics.cs \
StructBase.cs \
StructField.cs \
StructGen.cs \
SymbolTable.cs \
VirtualMethod.cs \
VMSignature.cs
build_sources = $(addprefix $(srcdir)/, $(sources))
dist_sources = $(sources)
EXTRA_DIST = \
$(dist_sources)
gapi_codegen.exe: $(build_sources)
$(CSC) $(CSFLAGS) -out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources)