2e07bf7e87
* api/*.xml : get libgda and libgnomedb metadata setup * gconf/*/Makefile.in : patch from MauricioC for -L's and /r's * gnomedb/Makefile.in : patch from MauricioC for -L's and /r's * generator/ClassBase.cs (ctor): mangle hash names for sigs and props * generator/Parameters.cs (MangleName): handle params, null, and ref * generator/Parser.cs (ParseNamespace): ignore "hidden" types * generator/StructBase.cs (MangleName): handle params, null, and ref * glib/Object.cs (Equals): kill, also kill == and != * sources/Gda.metadata : new, make Gda behave without hand edits * sources/GnomeDb.metadata : ditto svn path=/trunk/gtk-sharp/; revision=8577
21 lines
838 B
Makefile
21 lines
838 B
Makefile
SOURCES = \
|
|
Settings.cs \
|
|
main.cs \
|
|
#
|
|
|
|
MCS = mcs
|
|
GCONFDIR=../../gconf
|
|
|
|
all: sample.exe
|
|
|
|
sample.exe: sample.schema sample.glade $(SOURCES)
|
|
$(MCS) /out:sample.exe $(SOURCES) /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:System.Drawing /resource:sample.glade
|
|
|
|
Settings.cs: sample.schema
|
|
MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll mono $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample sample.schema > Settings.cs
|
|
|
|
install: all
|
|
GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule sample.schema
|
|
|
|
clean:
|
|
rm -f sample.exe Settings.cs
|