mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02:00
![Mike Kestner](/assets/img/avatar_default.png)
* configure.in.in: don't hardcode CC when cross-compiling. * gapi-cdecl-insert: monodis support on mono. * Makefile.am: add a cross-compile bundling target. The goal is to build a .zip which can be extracted on win32 to run candle and light, avoiding cygwin to produce installers. Hopefully some day wix will run on linux. svn path=/trunk/gtk-sharp/; revision=123139
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
SUBDIRS = sources generator parser glib gio cairo pango atk gdk gtk glade gtkdotnet sample doc
|
|
|
|
EXTRA_DIST = \
|
|
mono.snk \
|
|
gtk-sharp.snk \
|
|
gapi-cdecl-insert \
|
|
makefile.win32 \
|
|
policy.config.in \
|
|
AssemblyInfo.cs.in \
|
|
ChangeLog \
|
|
HACKING \
|
|
README \
|
|
README.generator
|
|
|
|
configure.in: bootstrap.status configure.in.in
|
|
$(SHELL) $<
|
|
|
|
win32-installer: all
|
|
candle.exe gtk-sharp-2.0-lib.wxs
|
|
light.exe gtk-sharp-2.0-lib.wixobj
|
|
candle.exe gtk-sharp-2.0-dev.wxs
|
|
light.exe gtk-sharp-2.0-dev.wixobj
|
|
|
|
assembly_dirs = glib gio pango atk gdk gtk glade gtkdotnet
|
|
|
|
cross-bundle: all
|
|
mkdir -p gtk-sharp-cross-$(VERSION)
|
|
rm -rf gtk-sharp-cross-$(VERSION)/*
|
|
cp *.wxs gtk-sharp-cross-$(VERSION)
|
|
cp generator/gapi_codegen.exe gtk-sharp-cross-$(VERSION)
|
|
cp */glue/.libs/*.dll gtk-sharp-cross-$(VERSION)
|
|
@for a in $(assembly_dirs); do \
|
|
mkdir -p gtk-sharp-cross-$(VERSION)/$$a; \
|
|
cp $$a/*.dll gtk-sharp-cross-$(VERSION)/$$a; \
|
|
done
|
|
cp sample/GtkDemo/GtkDemo.exe gtk-sharp-cross-$(VERSION)
|
|
zip -9r gtk-sharp-cross-$(VERSION).zip gtk-sharp-cross-$(VERSION)
|
|
rm -rf gtk-sharp-cross-$(VERSION)
|
|
|