3 DIRS=jay nant mcs class nunit nunit20 monoresgen tools mbas
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/I18N.CJK.dll \
74 class/lib/I18N.MidEast.dll \
75 class/lib/I18N.Other.dll \
76 class/lib/I18N.Rare.dll \
77 class/lib/I18N.West.dll \
79 class/lib/Microsoft.VisualBasic.dll \
80 class/lib/Mono.Data.MySql.dll \
81 class/lib/Mono.Data.PostgreSqlClient.dll \
82 class/lib/Mono.Data.SqliteClient.dll \
83 class/lib/Mono.Data.SybaseClient.dll \
84 class/lib/Mono.Data.Tds.dll \
85 class/lib/Mono.Data.TdsClient.dll \
86 class/lib/Mono.PEToolkit.dll \
87 class/lib/System.Configuration.Install.dll \
88 class/lib/System.Data.dll \
89 class/lib/System.Drawing.dll \
90 class/lib/System.EnterpriseServices.dll \
91 class/lib/System.Runtime.Remoting.dll \
92 class/lib/System.Runtime.Serialization.Formatters.Soap.dll \
93 class/lib/System.Web.Services.dll \
94 class/lib/System.Web.dll \
95 class/lib/System.Xml.dll \
96 class/lib/System.dll \
97 class/lib/corlib.dll \
98 class/lib/corlib_cmp.dll \
100 nunit/NUnitCore.dll \
101 nunit/NUnitCore_mono.dll
103 MONO_WIN_INSTALL_BIN= \
107 nunit/NUnitConsole.exe \
108 nunit/NUnitConsole_mono.exe \
110 monoresgen/monoresgen.exe \
111 tools/EnumCheck.exe \
112 tools/IFaceDisco.exe \
114 tools/GenerateDelegate.exe \
115 tools/monostyle.exe \
116 tools/SqlSharp/sqlsharp.exe \
117 tools/corcompare/CorCompare.exe