3 DIRS=jay nant mcs class nunit nunit20 monoresgen ilasm 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
31 if test x$(OS) = xWindows_NT; then make cleanwindows; else make cleanlinux; fi
34 for i in $(DIRS); do \
35 (cd $$i; make clean) \
39 for i in $(DIRS); do \
40 (cd $$i; make -f makefile.gnu clean) \
44 (c=`pwd`; d=`basename $$c`; cd ..; cp -a $$d mcs-$(VERSION); cd mcs-$(VERSION); make clean; cd ..; \
45 tar czvf $$d/mcs-$(VERSION).tar.gz --exclude=CVS --exclude='.#*' --exclude=core --exclude='*~' --exclude='*.exe' mcs-$(VERSION); \
46 rm -rf mcs-$(VERSION))
49 if test x$$prefix = x; then \
50 echo Usage is: make install prefix=X:/cygwin/home/MyHome/mono/install; exit 1; \
52 mkdir -p $(prefix)/bin/
53 for iexe in $(MONO_WIN_INSTALL_BIN) ; do \
54 echo Installing exe $$iexe; \
55 ($(INSTALL) -m 755 $$iexe $(prefix)/bin/) || exit 1; \
56 sed -e 's^\@bindir\@^$(prefix)^g' -e "s^\\@thewindowexe\\@^`basename \"$$iexe\"`^g" < ./winexe.in > ./winexe.tmp; \
57 mv ./winexe.tmp ./$$iexe.sh; \
58 ($(INSTALL) -m 755 $$iexe.sh $(prefix)/bin/) || exit 1; \
60 mkdir -p $(prefix)/lib/
61 for idll in $(MONO_WIN_INSTALL_LIB) ; do \
62 echo Installing dll $$idll; \
63 ($(INSTALL) -m 755 $$idll $(prefix)/lib/) || exit 1; \
66 MONO_WIN_INSTALL_LIB= \
67 class/lib/I18N.CJK.dll \
68 class/lib/I18N.MidEast.dll \
69 class/lib/I18N.Other.dll \
70 class/lib/I18N.Rare.dll \
71 class/lib/I18N.West.dll \
73 class/lib/Microsoft.VisualBasic.dll \
74 class/lib/Mono.Data.MySql.dll \
75 class/lib/Mono.Data.PostgreSqlClient.dll \
76 class/lib/Mono.Data.SqliteClient.dll \
77 class/lib/Mono.Data.SybaseClient.dll \
78 class/lib/Mono.Data.Tds.dll \
79 class/lib/Mono.Data.TdsClient.dll \
80 class/lib/Mono.PEToolkit.dll \
81 class/lib/System.Configuration.Install.dll \
82 class/lib/System.Data.dll \
83 class/lib/System.Drawing.dll \
84 class/lib/System.EnterpriseServices.dll \
85 class/lib/System.Runtime.Remoting.dll \
86 class/lib/System.Runtime.Serialization.Formatters.Soap.dll \
87 class/lib/System.Web.Services.dll \
88 class/lib/System.Web.dll \
89 class/lib/System.Xml.dll \
90 class/lib/System.dll \
91 class/lib/corlib.dll \
92 class/lib/corlib_cmp.dll \
95 nunit/NUnitCore_mono.dll
97 MONO_WIN_INSTALL_BIN= \
101 nunit/NUnitConsole.exe \
102 nunit/NUnitConsole_mono.exe \
104 monoresgen/monoresgen.exe \
105 tools/EnumCheck.exe \
106 tools/IFaceDisco.exe \
108 tools/GenerateDelegate.exe \
109 tools/monostyle.exe \
110 tools/SqlSharp/sqlsharp.exe \
111 tools/corcompare/CorCompare.exe