GtkSharp/generator/Makefile.am
Bertrand Lorentz 629a34aa4f generator: Improve handling of command-line parameters
Bundle Options.cs from the Mono source tree, and use it to parse the
command-line options for gapi-codegen. This gives us clearer code,
descriptions for each option, and a nice "--help" output.

This does not change the options syntax, except that -I|--include needs
to specified for each file to include. Two Makefiles in sample/ are
updated for that change.
2012-11-25 15:05:17 +01:00

78 lines
1.5 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 \
ArrayParameter.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 \
Options.cs \
OwnableGen.cs \
Parameter.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 \
XmlElementExtensions.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)