3 DIRS=jay nant mcs class nunit nunit20 monoresgen tools mbas ilasm
4 INSTALL= /usr/bin/install
7 if test x$(OS) = xWindows_NT; then make linux; else make -f makefile.gnu; fi
10 if test x$(OS) = xWindows_NT; then make windowsinstall; else make -f makefile.gnu install; fi
13 for i in $(DIRS); do \
14 (cd $$i; make linux) || exit 1; \
18 for i in $(DIRS); do \
19 (cd $$i; make linux) || exit 1; \
23 if test x$(OS) = xWindows_NT; then make testwindows; else make -f makefile.gnu test; fi
26 if test x$(OS) = xWindows_NT; then make testcorlibwindows; else make -f makefile.gnu testcorlib; fi
34 $(MAKE) -C class testcorlib
37 if test x$(OS) = xWindows_NT; then make cleanwindows; else make cleanlinux; fi
40 for i in $(DIRS); do \
41 (cd $$i; make clean) \
45 for i in $(DIRS); do \
46 (cd $$i; make -f makefile.gnu clean) \
50 (c=`pwd`; d=`basename $$c`; cd ..; cp -a $$d mcs-$(VERSION); cd mcs-$(VERSION); make clean; cd ..; \
51 tar czvf $$d/mcs-$(VERSION).tar.gz --exclude=CVS --exclude='.#*' --exclude=core --exclude='*~' --exclude='*.exe' mcs-$(VERSION); \
52 rm -rf mcs-$(VERSION))
55 if test x$$prefix = x; then \
56 echo Usage is: make install prefix=X:/cygwin/home/MyHome/mono/install; exit 1; \
58 mkdir -p $(prefix)/bin/
59 for iexe in $(MONO_WIN_INSTALL_BIN) ; do \
60 echo Installing exe $$iexe; \
61 ($(INSTALL) -m 755 $$iexe $(prefix)/bin/) || exit 1; \
62 sed -e 's^\@bindir\@^$(prefix)^g' -e "s^\\@thewindowexe\\@^`basename \"$$iexe\"`^g" < ./winexe.in > ./winexe.tmp; \
63 mv ./winexe.tmp ./$$iexe.sh; \
64 ($(INSTALL) -m 755 $$iexe.sh $(prefix)/bin/) || exit 1; \
66 mkdir -p $(prefix)/lib/
67 for idll in $(MONO_WIN_INSTALL_LIB) ; do \
68 echo Installing dll $$idll; \
69 ($(INSTALL) -m 755 $$idll $(prefix)/lib/) || exit 1; \
72 MONO_WIN_INSTALL_LIB= \
73 class/lib/Accessibility.dll \
74 class/lib/ICSharpCode.SharpZipLib.dll \
75 class/lib/ByteFX.Data.dll \
76 class/lib/I18N.CJK.dll \
77 class/lib/I18N.MidEast.dll \
78 class/lib/I18N.Other.dll \
79 class/lib/I18N.Rare.dll \
80 class/lib/I18N.West.dll \
82 class/lib/Microsoft.VisualBasic.dll \
83 class/lib/Microsoft.VisualC.dll \
84 class/lib/Mono.Data.dll \
85 class/lib/Mono.Data.DB2Client.dll \
86 class/lib/Mono.Data.MySql.dll \
87 class/lib/Mono.Data.PostgreSqlClient.dll \
88 class/lib/Mono.Data.SqliteClient.dll \
89 class/lib/Mono.Data.SybaseClient.dll \
90 class/lib/Mono.Data.Tds.dll \
91 class/lib/Mono.Data.TdsClient.dll \
92 class/lib/Mono.Directory.LDAP.dll \
93 class/lib/Mono.GetOptions.dll \
94 class/lib/Mono.PEToolkit.dll \
95 class/lib/Mono.Posix.dll \
96 class/lib/Mono.Security.dll \
97 class/lib/Mono.Security.Win32.dll \
98 class/lib/Npgsql.dll \
100 class/lib/System.Configuration.Install.dll \
101 class/lib/System.Data.dll \
102 class/lib/System.Data.OracleClient.dll \
103 class/lib/System.Design.dll \
104 class/lib/System.Drawing.dll \
105 class/lib/System.EnterpriseServices.dll \
106 class/lib/System.Management.dll \
107 class/lib/System.Runtime.Remoting.dll \
108 class/lib/System.Runtime.Serialization.Formatters.Soap.dll \
109 class/lib/System.Security.dll \
110 class/lib/System.ServiceProcess.dll \
111 class/lib/System.Web.Services.dll \
112 class/lib/System.Web.dll \
113 class/lib/System.Windows.Forms.dll \
114 class/lib/System.Xml.dll \
115 class/lib/System.dll \
116 class/lib/corlib.dll \
117 nunit/NUnitBase.dll \
118 nunit/NUnitCore.dll \
119 nunit/NUnitCore_mono.dll
121 MONO_WIN_INSTALL_BIN= \
125 nunit/NUnitConsole.exe \
126 nunit/NUnitConsole_mono.exe \
128 monoresgen/monoresgen.exe \
129 tools/EnumCheck.exe \
130 tools/IFaceDisco.exe \
132 tools/GenerateDelegate.exe \
133 tools/monostyle.exe \
134 tools/SqlSharp/sqlsharp.exe \