in plugin/:
[moon.git] / gtk / Makefile.am
bloba7a7e582c120f2d519f3c903e7b141d70793ee1b
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 
7 monodoc_DATA = \
8         moonlight-gtk.zip \
9         moonlight-gtk.tree \
10         moonlight-gtk.source
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
19 EXTRA_DIST = \
20         $(moonlight_gtk_dll_CS) \
21         moonlight-gtk.pc.in \
22         moonlight-gtk.snk \
23         moonlight-gtk.source
25 CLEANFILES = \
26         Moonlight.Gtk.dll \
27         Moonlight.Gtk.dll.mdb \
28         moonlight-gtk.zip \
29         moonlight-gtk.xml \
30         moonlight-gtk.tree
32 clean-local:
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
51 install-data-local:
52         gacutil -gacdir $(DESTDIR)$(prefix) -i Moonlight.Gtk.dll
54 uninstall-local:
55         gacutil -gacdir $(DESTDIR)$(prefix) -u Moonlight.Gtk
57 #NAMESPACES=Moonlight.Gtk
58 #dist-hook:
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;        \
64 #       done
67 push:
68         scp -v moonlight-gtk.tree moonlight-gtk.zip moonlight-gtk.source root@www.go-mono.com:/usr/lib/monodoc/sources/