mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Mike Kestner](/assets/img/avatar_default.png)
* Makefile.in : add gtkhtml dir. * configure.in : expand gtkhtml/Makefile * api/Makefile.in : remove gtkhtml-api.xml * generator/CodeGenerator.cs : parse new --outdir, --customdir, and --assembly-name args. * generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor * gtkhtml/HTMLStream.custom : moved here from gtk dir * gtkhtml/gtkhtml-api.xml : moved here from api dir * gtkhtml/Makefile.in : gen source and build dll * sources/gtk-sharp-sources.xml : write gtkhtml api to new dir svn path=/trunk/gtk-sharp/; revision=18696
43 lines
1.1 KiB
Makefile
Executable File
43 lines
1.1 KiB
Makefile
Executable File
INCLUDE_APIS = \
|
|
../api/atk-api.xml \
|
|
../api/pango-api.xml \
|
|
../api/gdk-api.xml \
|
|
../api/gdk-symbols.xml \
|
|
../api/gtk-symbols.xml \
|
|
../api/gtk-api.xml
|
|
|
|
NONINCLUDE_APIS = \
|
|
glade-api.xml \
|
|
art-api.xml \
|
|
gnome-api.xml \
|
|
gda-api.xml \
|
|
gst-api.xml \
|
|
gnomedb-api.xml \
|
|
rsvg-api.xml \
|
|
|
|
|
|
RUNTIME=mono
|
|
|
|
all: gtkhtml-sharp.dll
|
|
|
|
generated-stamp: gtkhtml-api.xml *.custom ../generator/gapi_codegen.exe
|
|
$(RUNTIME) ../generator/gapi_codegen.exe --generate gtkhtml-api.xml --include $(INCLUDE_APIS) --outdir=generated --customdir=. --assembly-name=gtkhtml-sharp && touch generated-stamp
|
|
|
|
gtkhtml-sharp.dll: generated-stamp
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -o gtkhtml-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f generated-stamp
|
|
rm -f gtkhtml-sharp.dll
|
|
rm -rf generated
|
|
|
|
prefix=@prefix@
|
|
DESTDIR=
|
|
apidir=$(DESTDIR)$(prefix)/share/gapi
|
|
libdir=$(DESTDIR)$(prefix)/lib
|
|
|
|
install: all
|
|
../mkinstalldirs $(apidir) && \
|
|
cp gtkhtml-api.xml $(apidir) && \
|
|
cp gtkhtml-sharp.dll $(libdir)
|