mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 23:25:36 +00:00
b828f81d01
svn path=/trunk/gtk-sharp/; revision=19930
24 lines
901 B
Makefile
24 lines
901 B
Makefile
SOURCES = \
|
|
Settings.cs \
|
|
main.cs \
|
|
#
|
|
|
|
MCS = mcs
|
|
RUNTIME = mono
|
|
top_builddir=../..
|
|
GCONFDIR=$(top_builddir)/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_PATH} $(RUNTIME) $(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
|