Add makefile.gnu
[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.Web.Services.dll \
13         System.Drawing.dll      \
14         System.EnterpriseServices.dll   \
15         System.Configuration.Install.dll        \
16         System.Runtime.Remoting.dll     \
17         System.Runtime.Serialization.Formatters.Soap.dll        \
18         Mono.CSharp.Debugger.dll        \
19         I18N.dll        \
20         I18N.West.dll   \
21         I18N.Rare.dll   \
22         I18N.Other.dll  \
23         I18N.MidEast.dll        \
24         I18N.CJK.dll
25
26 monobins_DATA = mcs.exe monoresgen.exe
27
28 EXTRA_DIST = $(monobins_DATA) $(assemblies_DATA)
29
30 #
31 # Keep in sync with mono/mono/metadata/Makefile.am
32 #
33 assembliesdir = $(libdir)
34 monobinsdir = $(bindir)
35
36 $(assemblies_DATA):
37         cp $(top_srcdir)/../mcs/class/lib/$@ . || cp $(assembliesdir)/$@ . || touch $@
38
39 $(monobins_DATA):
40         cp $(top_srcdir)/../mcs/mcs/$@ . || cp $(monobinsdir)/$@ . || touch $@
41
42 dist-hook:
43         for i in $(monobins_DATA) $(assemblies_DATA); do        \
44                 if test ! -s $(srcdir)/$$i; then echo $$i is empty && exit 1; fi        \
45         done
46
47 copy_dlls:
48         cp /nt/mono/mcs/class/*/*.dll .
49
50 push_dlls:
51         scp -o "Protocol 1" *.dll *.exe snapshot@mono-cvs.ximian.com:dlls