/[eiffelstudio]/trunk/Delivery/studio/config/windows/msc/config.eif
ViewVC logotype

Contents of /trunk/Delivery/studio/config/windows/msc/config.eif

Parent Directory Parent Directory | Revision Log Revision Log


Revision 66961 - (show annotations)
Wed Feb 28 00:36:58 2007 UTC (12 years, 11 months ago) by manus
File size: 6800 byte(s)
Added " for path refering to ISE_EIFFEL so that we can use path with spaces in them.

1 --
2 -- Config.eif for Microsoft Visual C++ 5.0 or greater
3 --
4
5 -- Directory separator
6 directory_separator: "\"
7 subcommand_separator: "%N%T"
8 quick_compilation: True
9 smart_checking: True
10
11 -- include_path
12 include_path: "$(INCLUDE_PATH)"
13
14 -- C-compiler
15 cc: "cl"
16 cpp: "cl"
17
18 -- C-linker
19 sharedlink: "link"
20
21 -- optimization flags
22 wkoptimize: "-Od -Zi -MT"
23 optimize: "-Ox -MT"
24
25 -- compiler flags
26 ccflags: "-w -nologo -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_CRT_SECURE_NO_DEPRECATE -DNONAMELESSUNION -D_UNICODE -DUNICODE $(ISE_CFLAGS)"
27 mtccflags: "-w -nologo -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_CRT_SECURE_NO_DEPRECATE -DNONAMELESSUNION -D_UNICODE -DUNICODE -DEIF_THREADS $(ISE_CFLAGS)"
28 cppflags: "-w -nologo -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_CRT_SECURE_NO_DEPRECATE -DNONAMELESSUNION -D_UNICODE -DUNICODE $(ISE_CFLAGS)"
29 mtcppflags: "-w -nologo -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_CRT_SECURE_NO_DEPRECATE -DNONAMELESSUNION -D_UNICODE -DUNICODE -DEIF_THREADS $(ISE_CFLAGS)"
30 shared_flags: "-DEIF_USE_DLL"
31 il_flags: "-DEIF_IL_DLL"
32
33 large: ""
34
35 -- linker flags
36 ar: ""
37 ld: ""
38 ldflags: "-STACK:5000000 -NODEFAULTLIB:libc"
39 mtldflags: "-STACK:5000000 -NODEFAULTLIB:libc"
40 ccldflags: "-STACK:5000000 -NODEFAULTLIB:libc"
41 console_flags: "-SUBSYSTEM:CONSOLE"
42 windows_flags: "-SUBSYSTEM:WINDOWS"
43 ldsharedflags: "-dll -incremental:no -NODEFAULTLIB:libc"
44 mtldsharedflags: "-dll -incremental:no -NODEFAULTLIB:libc"
45
46 -- eiffel run-time specification
47 prefix: "$(ISE_C_COMPILER)\"
48 shared_prefix: "$(ISE_C_COMPILER)\dll_"
49 mt_prefix: "mt"
50 eiflib: "finalized"
51 wkeiflib: "wkbench"
52 boehmgclib: "gc"
53 suffix: ".lib"
54 shared_suffix: ".dll"
55 shared_rt_suffix: ".lib"
56
57 -- libraries
58 libs: ""
59 mtlibs: ""
60 sharedlibs: "USER32.lib WSOCK32.lib ADVAPI32.lib GDI32.lib SHELL32.lib MSIMG32.lib \%N%
61 %%TCOMDLG32.lib UUID.lib OLE32.lib OLEAUT32.lib COMCTL32.lib MPR.LIB $(ISE_SHAREDLIBS)"
62
63 mkdep: ""
64
65 -- platform $(MV) command
66 mv: "copy"
67 cp: "copy"
68
69 ranlib: "echo"
70
71 -- platform remove command
72 rm: "del"
73 file_exist: "if exist"
74 rmdir: "rd"
75
76 -- make program
77 make: "nmake -s -nologo"
78 command_makefile: "%"for %%i in ($(EXTERNAL_MAKEFILES)) do $(MAKE) -e ISE_EIFFEL=%"$(ISE_EIFFEL)%" -f %%i%""
79
80 dpflags: ""
81
82 continuation: "\"
83
84 appl_make: "$appl.exe: $appl.lnk $appl.res%N%
85 %%T$(COMMAND_MAKEFILE)%N%
86 %%Tlink @$appl.lnk%N%
87 %%N%
88 %..\..\..\$appl.rc:%N%
89 %%Tif not exist ..\..\..\$appl.rc $(MV) %"$(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc%" ..\..\..\$appl.rc%N%
90 %%N%
91 %$appl.res: ..\..\..\$appl.rc Makefile%N%
92 %%Trc -r -fo$appl.res ..\..\..\$appl.rc%N%
93 %%N%
94 %$appl.lnk: $(OBJECTS) e1\emain.obj $appl.res $precompilelibs Makefile%N%
95 %%Tif exist $@ $(RM) $@%N%
96 %%T@echo $(LDFLAGS) $(CCLDFLAGS) -OUT:$appl.exe > $@%N%
97 %%T@echo e1\emain.obj >> $@%N%
98 %%T@echo $library $(EXTERNALS) >> $@%N%
99 %%T@echo $sharedlibs >> $@%N%
100 %$precompile_libs_command%
101 %%T@echo $appl.res >> $@%N%
102 %$objects_redirection%N%
103 %"
104
105 -- precompilation
106 precompile: "driver.exe: driver.lnk driver.rc precomp.lib%N%
107 %%Tif exist driver.exe $(RM) driver.exe%N%
108 %%Tlink @driver.lnk%N%
109 %%Tif not exist $(ISE_C_COMPILER) mkdir $(ISE_C_COMPILER)%N%
110 %%T$(MV) driver.exe $(ISE_C_COMPILER)\driver.exe%N%
111 %%T$(MV) precomp.lib $(ISE_C_COMPILER)\precomp.lib%N%
112 %%Tif exist driver.exe $(RM) driver.exe%N%
113 %%Tif exist precomp.lib $(RM) precomp.lib%N%
114 %%N%
115 %driver.rc: %"$(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc%"%N%
116 %%T$(MV) %"$(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc%" driver.rc%N%
117 %%N%
118 %driver.res: driver.rc%N%
119 %%Trc -r driver.rc%N%
120 %%N%
121 %precomp.lib: $(C_OBJECTS)%N%
122 %%Tif exist $@ $(RM) $@%N%
123 %%Tlib -nologo -OUT:precomp.lib $(C_OBJECTS) $(EXTERNALS)%N%
124 %%N%
125 %driver.lnk: e1\emain.obj $(OBJECTS) driver.res $precompilelibs%N%
126 %%Techo $(LDFLAGS) $(CCLDFLAGS) -OUT:driver.exe > $@%N%
127 %%Techo e1\emain.obj >> $@%N%
128 %%Techo $sharedlibs >> $@%N%
129 %$precompile_libs_command%
130 %$objects_redirection%N%
131 %%Techo $(EXTERNALS) $(EIFLIB) >> $@%N%
132 %%Techo driver.res >> $@"
133
134 -- cecil
135 cecil_make: "$(STATIC_CECIL): $(OBJECTS) $(EIFLIB) $precompilelibs%N%
136 %%Tif exist $@ $(RM) $@%N%
137 %%Tlib -nologo -OUT:$(STATIC_CECIL) $(OBJECTS) $(EXTERNALS) $(EIFLIB) $precompilelibs"
138
139 cecil_def: "%
140 %DEF_FILE= c_$appl.def %N%
141 %c_$appl.def: %N%
142 %%Tif exist $@ $(RM) $@%N%
143 %%Techo LIBRARY c_$appl.dll > $@%N%
144 %%Techo DESCRIPTION %'c_$appl.dll%' >> $@%N%
145 %%Ttype %"$(ISE_EIFFEL)\studio\spec\$(ISE_PLATFORM)\templates\cecil.def%" >> $@"
146
147 cecil_dynlib: "%T/def:$(DEF_FILE) \%N%
148 %%T/OUT:$(SHARED_CECIL) /IMPLIB:c_dll_$appl.lib%N"
149
150 system_dynlib: "%T/def:$(DEF_FILE) \%N%
151 %%T/OUT:$(SYSTEM_IN_DYNAMIC_LIB) /IMPLIB:dll_$appl.lib $appl.res%N"
152
153 il_system_compilation_line: "%
154 %$(IL_SYSTEM): $(OBJECTS) $(IL_RESOURCE).res%N%
155 %%T$(FILE_EXIST) $(IL_SYSTEM) $(RM) $(IL_SYSTEM) %N%
156 %%T$(SHAREDLINK) $(LDSHAREDFLAGS) -NODEFAULTLIB:libc -out:$(IL_SYSTEM) $(OBJECTS) $(SHAREDLIBS) $(EXTERNALS) $(IL_RESOURCE).res %N%
157 %%T$(RM) $(OBJECTS)%N%
158 %%Techo Success > completed.eif%N%N%
159 %..\..\..\$(IL_RESOURCE).rc:%N%
160 %%Tif not exist ..\..\..\$(IL_RESOURCE).rc $(MV) %"$(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc%" ..\..\..\$(IL_RESOURCE).rc%N%
161 %%N%
162 %$(IL_RESOURCE).res: ..\..\..\$(IL_RESOURCE).rc Makefile%N%
163 %%Trc -r -fo$(IL_RESOURCE).res ..\..\..\$(IL_RESOURCE).rc%N"
164
165 -- done
166 completed: "%Techo done > completed.eif"
167
168 all: "all:: "
169
170 intermediate_file_ext: "lib"
171
172 make_intermediate: "%Tif exist $@ $(RM) $@%N%
173 %%Tlib -nologo -OUT:$@ $obj%N%T$(CREATE_TEST)"
174
175 -- options below are for config internal use
176 -- mind the spaces!
177
178 no_subs: "!NO!SUBS!"
179
180 -- platform change directory command
181 cd: "cd"
182
183 -- text for remove command
184 rm_text: "RM ="
185
186 -- text for make command
187 make_text: "MAKE"
188
189 -- text for C-compiler command
190 cc_text: "$(CC) $(CFLAGS)"
191
192 cobj_text: ".c.obj:"
193 cppobj_text: ".cpp.obj:"
194 xobj_text: ".x.obj:"
195 xppobj_text: ".xpp.obj:"
196
197 obj_text: ".obj "
198
199 eobj_text: "$(OBJECTS"
200
201 objects__text: "$(OBJECTS)"
202
203 -- text for precompilation
204 precompile_text: "precompile $appl"
205
206 appl_text: "appl_make $appl"
207
208 cecil_text: "cecil_make $appl"
209
210 -- platform 'parent' directory
211 updir: ".."
212
213 emain_text: "emain"
214
215 emain_obj_text: "emain.obj"
216
217 objects_text: "OBJECTS = "
218 c_objects_text: "C_OBJECTS = "
219
220 eobjects_text: "EOBJECTS = "
221
222 obj_file_ext: "obj"
223
224 executable_file_ext: ".exe"
225
226 driver_text: "\driver"
227
228 driver_filename: "driver.exe"
229
230 externals_text: "EXTERNALS"
231
232 externals_continuation_text: "EXTERNALS = \"
233
234 precomp_lib_command_text: "@echo $precompiled_library >> $@%N%T"
235
236 start_test: "if not exist finished"
237
238 end_test: ""
239
240 create_test: "echo %"finished%" >> finished"
241
242 -- Layout variables
243
244 rt_include: "$ISE_EIFFEL\studio\spec\$ISE_PLATFORM\include"
245 rt_lib: "$ISE_EIFFEL\studio\spec\$ISE_PLATFORM\lib"
246 rt_templates: "$ISE_EIFFEL\studio\config\$ISE_PLATFORM\templates"
247 x2c: "$ISE_EIFFEL\studio\spec\$ISE_PLATFORM\bin\x2c.exe"
248

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23