* Makefile.am (mcs-do-full-build): Pass NO_SIGN_ASSEMBLIES=yes to
[mono.git] / runtime / Makefile.am
1 # This is just used to copy and install the DLL files that are currently
2 # being compiled on windows.
3 #
4
5 SUBDIRS = . net_1_1 net_2_0
6
7 mcs_topdir=$(top_srcdir)/../mcs
8
9 monobins_DATA = \
10         monoresgen.exe                          \
11         monoresgen.exe.mdb                      \
12         secutil.exe                             \
13         secutil.exe.mdb                 \
14         ilasm.exe                               \
15         ilasm.exe.mdb                           \
16         cilc.exe                                \
17         cilc.exe.mdb                            \
18         xsd.exe                                 \
19         xsd.exe.mdb                             \
20         wsdl.exe                                \
21         wsdl.exe.mdb                            \
22         wsdl2.exe                               \
23         wsdl2.exe.mdb                           \
24         genxs.exe                               \
25         genxs.exe.mdb                           \
26         al.exe                                  \
27         al.exe.mdb                              \
28         disco.exe                               \
29         disco.exe.mdb                           \
30         sqlsharp.exe                            \
31         sqlsharp.exe.mdb                        \
32         signcode.exe                            \
33         signcode.exe.mdb                        \
34         chktrust.exe                            \
35         chktrust.exe.mdb                        \
36         soapsuds.exe                            \
37         soapsuds.exe.mdb                        \
38         monop.exe                               \
39         monop.exe.mdb                           \
40         mono-find-provides.exe                  \
41         mono-find-provides.exe.mdb              \
42         mono-find-requires.exe          \
43         mono-find-requires.exe.mdb              \
44         setreg.exe                              \
45         setreg.exe.mdb                  \
46         cert2spc.exe                            \
47         cert2spc.exe.mdb                        \
48         certmgr.exe                             \
49         certmgr.exe.mdb                 \
50         MakeCert.exe                            \
51         MakeCert.exe.mdb                        \
52         gacutil.exe                             \
53         gacutil.exe.mdb                 \
54         sn.exe                                  \
55         sn.exe.mdb
56
57 monoone_DATA = \
58         mcs.exe                         \
59         mcs.exe.mdb                             \
60         mcs.exe.config                  \
61         mbas.exe
62
63 if ! PLATFORM_WIN32
64 gmcs_exe = gmcs.exe gmcs.exe.config gmcs.exe.mdb
65 endif
66 monotwo_DATA = $(gmcs_exe)
67
68 EXTRA_DIST= $(monobins_DATA) $(monoone_DATA) $(monotwo_DATA)
69
70 MAINTAINERCLEANFILES = $(EXTRA_DIST)
71
72 #
73 # Keep in sync with mono/mono/metadata/Makefile.am
74 #
75 if PLATFORM_WIN32
76 monobinsdir = $(libdir)
77 monoonedir = $(libdir)
78 monotwodir = $(libdir)
79 else
80 monobinsdir = $(bindir)
81 monoonedir = $(libdir)/mono/1.0/
82 monotwodir = $(libdir)/mono/2.0/
83 endif
84
85 $(monoone_DATA) $(monotwo_DATA) $(monobins_DATA):
86         @name=`echo "$@" | sed 's,\.exe.*$$,,'`; \
87         case $$name in \
88         mcs | mbas | monoresgen | gmcs | ilasm)         d=$$name                                         ;; \
89         cilc | genxs | al | disco | soapsuds | monop | browsercaps-updater | gacutil)   d=tools/$$name   ;; \
90         chktrust | signcode | MakeCert | cert2spc | certmgr | secutil | setreg | sn)    d=tools/security ;; \
91         mono-find-provides | mono-find-requires)        d=tools/mono-rpm-helpers/$$name                  ;; \
92         xsd)                                            d=tools/mono-xsd                                 ;; \
93         wsdl*)                                          d=tools/wsdl                                     ;; \
94         sqlsharp)                                       d=tools/SqlSharp                                 ;; \
95         esac; \
96         echo "test -f $(top_srcdir)/../mcs/$$d/$@" ; \
97         test -f $(top_srcdir)/../mcs/$$d/$@ || exit 1 ; \
98         echo "rm -f $(srcdir)/$@" ; \
99         rm -f $(srcdir)/$@ ; \
100         echo "cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@" ; \
101         cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@
102
103 copy_dlls:
104         cp /nt/mono/mcs/class/*/*.dll .
105
106 push_dlls:
107         scp -o "Protocol 1" *.dll *.exe snapshot@mono-cvs.ximian.com:dlls
108
109 cleanassemblies:
110         find -name \*.dll -exec rm -vf {} \;
111         find -name \*.exe -exec rm -vf {} \;