1 moonlight_gtkdir = $(prefix)/lib/mono/moonlight
2 pkgconfigdir = $(prefix)/lib/pkgconfig
3 monodocdir = $(prefix)/lib/monodoc/sources
5 moonlight_gtk_DATA = Moonlight.Gtk.dll
6 pkgconfig_DATA = moonlight-gtk.pc
12 moonlight_gtk_dll_CS = \
13 Moonlight.Gtk/MoonlightRuntime.cs \
14 Moonlight.Gtk/MoonlightHost.cs \
15 Moonlight.Gtk/Desklets.cs \
16 Moonlight.Gtk/ManagedDownloader.cs \
17 Moonlight.Gtk/AssemblyInfo.cs
20 $(moonlight_gtk_dll_CS) \
27 Moonlight.Gtk.dll.mdb \
33 -rm -rf $(builddir)/docs
35 moonlight_gtk_SNK = $(srcdir)/moonlight-gtk.snk
37 Moonlight.Gtk.dll: $(moonlight_gtk_dll_CS) $(top_builddir)/class/lib/moonlight/System.Windows.dll
38 gmcs -debug -out:$@ -target:library -unsafe -doc:moonlight-gtk.xml \
39 -keyfile:$(moonlight_gtk_SNK) -pkg:gtk-sharp-2.0 \
40 -r:$(top_builddir)/class/lib/moonlight/System.Windows.dll \
41 $(moonlight_gtk_dll_CS)
43 MONODOCER = MONO_PATH="../class/lib/moonlight:$$MONO_PATH" monodocer
44 moonlight-gtk.xml: Moonlight.Gtk.dll
45 moonlight-gtk.tree: moonlight-gtk.zip
46 moonlight-gtk.zip: Moonlight.Gtk.dll
47 rm -f $(top_builddir)/gtk/docs/ns-Moonlight.Gtk.xml
48 $(MONODOCER) -importslashdoc:moonlight-gtk.xml -path:$(top_builddir)/gtk/docs -assembly:Moonlight.Gtk.dll
49 mdassembler --ecma $(top_builddir)/gtk/docs/ --out moonlight-gtk
52 gacutil -gacdir $(DESTDIR)$(prefix) -i Moonlight.Gtk.dll
55 gacutil -gacdir $(DESTDIR)$(prefix) -u Moonlight.Gtk
57 #NAMESPACES=Moonlight.Gtk
59 # mkdir -p $(distdir)/docs
60 # cp -f $(srcdir)/docs/*.xml $(distdir)/docs/.
61 ## for i in $(NAMESPACES); do \
62 # mkdir -p $(distdir)/docs/$$i; \
63 # cp $(srcdir)/docs/$$i/*.xml $(distdir)/docs/$$i; \
68 scp -v moonlight-gtk.tree moonlight-gtk.zip moonlight-gtk.source root@www.go-mono.com:/usr/lib/monodoc/sources/