2003-10-07 05:52:23 +00:00
|
|
|
INCLUDE_APIS = \
|
|
|
|
../api/atk-api.xml \
|
|
|
|
../api/pango-api.xml \
|
|
|
|
../api/gdk-api.xml \
|
|
|
|
../api/gdk-symbols.xml \
|
|
|
|
../api/gtk-symbols.xml \
|
2003-10-07 16:19:51 +00:00
|
|
|
../api/gtk-api.xml \
|
|
|
|
../api/gnome-api.xml
|
2003-09-03 11:00:03 +00:00
|
|
|
|
2003-10-07 05:52:23 +00:00
|
|
|
RUNTIME=mono
|
2003-09-03 11:00:03 +00:00
|
|
|
|
2003-10-07 05:52:23 +00:00
|
|
|
all: gtkhtml-sharp.dll
|
2003-09-03 11:00:03 +00:00
|
|
|
|
2003-10-07 05:52:23 +00:00
|
|
|
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
|
2003-09-03 11:00:03 +00:00
|
|
|
|
2003-10-07 05:52:23 +00:00
|
|
|
gtkhtml-sharp.dll: generated-stamp
|
2003-10-07 17:11:19 +00:00
|
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -L ../art -L ../gnome -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -r art-sharp.dll -r gnome-sharp.dll -o gtkhtml-sharp.dll --recurse '*.cs'
|
2003-09-03 11:00:03 +00:00
|
|
|
|
|
|
|
clean:
|
2003-10-07 05:52:23 +00:00
|
|
|
rm -f generated-stamp
|
|
|
|
rm -f gtkhtml-sharp.dll
|
2003-09-03 11:00:03 +00:00
|
|
|
rm -rf generated
|
|
|
|
|
2003-10-07 05:52:23 +00:00
|
|
|
prefix=@prefix@
|
|
|
|
DESTDIR=
|
|
|
|
apidir=$(DESTDIR)$(prefix)/share/gapi
|
|
|
|
libdir=$(DESTDIR)$(prefix)/lib
|
2003-09-03 11:00:03 +00:00
|
|
|
|
2003-10-07 05:52:23 +00:00
|
|
|
install: all
|
|
|
|
../mkinstalldirs $(apidir) && \
|
|
|
|
cp gtkhtml-api.xml $(apidir) && \
|
|
|
|
cp gtkhtml-sharp.dll $(libdir)
|