added support for:
[mono.git] / runtime / Makefile.am
1 #
2 # This is just used to copy and install the DLL files that are currently
3 # being compiled on windows.
4 #
5
6 assemblies_DATA =       \
7         corlib.dll      \
8         System.dll      \
9         System.Data.dll \
10         System.Xml.dll  \
11         System.Web.dll  \
12         System.Drawing.dll
13
14 monobins_DATA = mcs.exe
15
16 EXTRA_DIST = $(monobins_DATA) $(assemblies_DATA)
17
18 #
19 # Keep in sync with mono/mono/metadata/Makefile.am
20 #
21 assembliesdir = $(libdir)
22 monobinsdir = $(bindir)
23
24 $(assemblies_DATA):
25         cp $(top_srcdir)/../mcs/class/lib/$@ . || cp $(assembliesdir)/$@ . || touch $@
26
27 $(monobins_DATA):
28         cp $(top_srcdir)/../mcs/mcs/$@ . || cp $(monobinsdir)/$@ . || touch $@
29
30 dist-hook:
31         for i in $(monobins_DATA) $(assemblies_DATA); do        \
32                 if test ! -s $$i; then echo $$i is empty && exit 1; fi  \
33         done
34
35 copy_dlls:
36         cp /nt/mono/mcs/class/*/*.dll .
37
38 push_dlls:
39         scp -o "Protocol 1" *.dll snapshot@mono-cvs.ximian.com:dlls