2003-02-04 Tim Haynes <thaynes@openlinksw.com>
[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         Accessibility.dll                                       \
8         corlib.dll                                              \
9         Cscompmgd.dll                                           \
10         I18N.CJK.dll                                            \
11         I18N.dll                                                \
12         I18N.MidEast.dll                                        \
13         I18N.Other.dll                                          \
14         I18N.Rare.dll                                           \
15         I18N.West.dll                                           \
16         Microsoft.VisualBasic.dll                               \
17         Mono.CSharp.Debugger.dll                                \
18         Mono.Data.MySql.dll                                     \
19         Mono.Data.PostgreSqlClient.dll                          \
20         Mono.Data.SqliteClient.dll                              \
21         Mono.Data.SybaseClient.dll                              \
22         Mono.Data.TdsClient.dll                                 \
23         Mono.Data.Tds.dll                                       \
24         Mono.Data.DB2Client.dll                                 \
25         Mono.GetOptions.dll                                     \
26         Mono.PEToolkit.dll                                      \
27         NUnitCore_mono.dll                                      \
28         System.Configuration.Install.dll                        \
29         System.Data.dll                                         \
30         System.dll                                              \
31         System.Drawing.dll                                      \
32         System.EnterpriseServices.dll                           \
33         System.Runtime.Remoting.dll                             \
34         System.Runtime.Serialization.Formatters.Soap.dll        \
35         System.Web.dll                                          \
36         System.Web.Services.dll                                 \
37         System.Windows.Forms.dll                                \
38         System.Xml.dll
39
40 monobins_DATA = mcs.exe mbas.exe monoresgen.exe secutil.exe sqlsharp.exe
41
42 EXTRA_DIST = $(monobins_DATA) $(assemblies_DATA)
43
44 #
45 # Keep in sync with mono/mono/metadata/Makefile.am
46 #
47 assembliesdir = $(libdir)
48 monobinsdir = $(bindir)
49
50 $(assemblies_DATA):
51         -cp $(top_srcdir)/../mcs/class/lib/$@ . || cp $(assembliesdir)/$@ . 
52
53 $(monobins_DATA):
54         -cp $(top_srcdir)/../mcs/mcs/mcs.exe . || cp $(monobinsdir)/$@ . 
55         -cp $(top_srcdir)/../mcs/mbas/mbas.exe . || cp $(monobinsdir)/$@ .
56         -cp $(top_srcdir)/../mcs/tools/secutil.exe . || cp $(monobinsdir)/$@ . 
57         -cp $(top_srcdir)/../mcs/tools/SqlSharp/sqlsharp.exe . || cp $(monobinsdir)/$@ . 
58         -cp $(top_srcdir)/../mcs/monoresgen/monoresgen.exe . || cp $(monobinsdir)/$@ . 
59
60 dist-hook:
61         for i in $(monobins_DATA) $(assemblies_DATA); do        \
62                 if test ! -s $(srcdir)/$$i; then echo $$i is empty && exit 1; fi        \
63         done
64
65 copy_dlls:
66         cp /nt/mono/mcs/class/*/*.dll .
67
68 push_dlls:
69         scp -o "Protocol 1" *.dll *.exe snapshot@mono-cvs.ximian.com:dlls