/[eiffelstudio]/trunk/Delivery/scripts/windows/install/content/eiffelstudio/makefile
ViewVC logotype

Contents of /trunk/Delivery/scripts/windows/install/content/eiffelstudio/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 69758 - (show annotations)
Wed Aug 1 00:34:48 2007 UTC (12 years, 6 months ago) by manus
File size: 3071 byte(s)
By default `gcc' will be in the EiffelStudio dir so that it is part of the zip package.

1 HALLOW = %INIT_DIR%\install\bin\hallow.exe
2 HALLOW_FLAGS = -nologo -de:"\.svn$$" -x64 -c:"EiffelStudio"
3 HALLOW_FLAGS_X86 = $(HALLOW_FLAGS) -c:"x86"
4 HALLOW_FLAGS_X64 = $(HALLOW_FLAGS) -c:"x64"
5 MSBUILD = msbuild.exe
6 MSBUILD_FLAGS = /nologo /verbosity:quiet
7
8 ###################################################################
9 #
10 # Package targets
11 #
12 ###################################################################
13
14 all:: build
15
16 ###################################################################
17 #
18 # Build targets
19 #
20 ###################################################################
21
22 WXS = \
23 studio_gcc.wxs \
24 studio_core.wxs \
25 studio_examples.wxs \
26 studio_libraries.wxs \
27 studio_gdiplus.wxs \
28 studio_ent_ec.wxs \
29 studio_gpl_ec.wxs
30
31
32 build: $(WXS)
33
34 studio_gcc.wxs:
35 $(HALLOW) $(HALLOW_FLAGS) "$(INSTALL_DIR)\EiffelStudio\gcc" -dr:"Dir.gcc" -g:"gcc" -r -n:"gcc." > $@.tmp
36 move $@.tmp $@
37
38 studio_core.wxs:
39 $(HALLOW) $(HALLOW_FLAGS) "$(INSTALL_DIR)\EiffelStudio" -dr:"INSTALLDIR" \
40 -de:"\\EiffelStudio\\library$$" -de:"\\EiffelStudio\\examples$$" \
41 -fe:"\\EiffelStudio\\studio\\spec\\w.*\\estudio.exe$$" \
42 -fe:"\\EiffelStudio\\esbuilder\\spec\\w.*\\esbuilder.exe$$" \
43 -g:"Core" -r -n:"Core." > $@.tmp
44 move $@.tmp $@
45
46 studio_examples.wxs:
47 $(HALLOW) $(HALLOW_FLAGS) "$(INSTALL_DIR)\EiffelStudio\examples" \
48 -dr:"Dir.Core.examples" -g:"Core.examples" -r -n:"Core.examples." > $@.tmp
49 move $@.tmp $@
50
51 studio_libraries.wxs:
52 $(HALLOW) $(HALLOW_FLAGS) "$(INSTALL_DIR)\EiffelStudio\library" \
53 -dr:"Dir.Core.library" -g:"Core.library" -r -n:"Core.library." > $@.tmp
54 move $@.tmp $@
55
56 studio_gdiplus.wxs:
57 $(HALLOW) $(HALLOW_FLAGS) "$(INSTALL_DIR)\releases" \
58 -dr:"Dir.Core.studio.spec.$$(var.IsePlatform).bin" -g:"gdiplus" -n:"gdiplus" \
59 -fi:gdiplus.dll -de:"\*" > $@.tmp
60 move $@.tmp $@
61
62 studio_ent_ec.wxs:
63 $(HALLOW) $(HALLOW_FLAGS) "$(INSTALL_DIR)\releases\enterprise_version" \
64 -dr:"Dir.Core.studio.spec.$$(var.IsePlatform).bin" -g:"enterprise_ec" -n:"Core." > $@.tmp
65 move $@.tmp $@
66
67 studio_gpl_ec.wxs:
68 $(HALLOW) $(HALLOW_FLAGS) "$(INSTALL_DIR)\releases\gpl_version" \
69 -dr:"Dir.Core.studio.spec.$$(var.IsePlatform).bin" -g:"gpl_ec" -n:"Core." > $@.tmp
70 move $@.tmp $@
71
72 ###################################################################
73 #
74 # MSIs
75 #
76 ###################################################################
77
78 enterprise_x86: $(WXS)
79 $(MSBUILD) $(MSBUILD_FLAGS) /p:Configuration=studio_ent_x86 ..\..\package.sln
80
81 gpl_x86: $(WXS)
82 $(MSBUILD) $(MSBUILD_FLAGS) /p:Configuration=studio_gpl_x86 ..\..\package.sln
83
84 enterprise_x64: $(WXS)
85 $(MSBUILD) $(MSBUILD_FLAGS) /p:Configuration=studio_ent_x64 ..\..\package.sln
86
87 gpl_x64: $(WXS)
88 $(MSBUILD) $(MSBUILD_FLAGS) /p:Configuration=studio_gpl_x64 ..\..\package.sln
89
90
91 ###################################################################
92 #
93 # Clean builds
94 #
95 ###################################################################
96
97 clean:
98 for %i in ($(WXS)) do if exist %i del %i
99 if exist *.msi del *.msi

  ViewVC Help
Powered by ViewVC 1.1.23