/[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 59702 - (show annotations)
Tue Jun 13 16:53:42 2006 UTC (13 years, 7 months ago) by larryl
File size: 6515 byte(s)
Added link option: "GDIPLUS.lib".
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_CRT_SECURE_NO_DEPRECATE -DNONAMELESSUNION -D_UNICODE -DUNICODE $(ISE_CFLAGS)"
27 mtccflags: "-w -nologo -D_CRT_SECURE_NO_DEPRECATE -DNONAMELESSUNION -D_UNICODE -DUNICODE -DEIF_THREADS $(ISE_CFLAGS)"
28 cppflags: "-w -nologo -D_CRT_SECURE_NO_DEPRECATE -DNONAMELESSUNION -D_UNICODE -DUNICODE $(ISE_CFLAGS)"
29 mtcppflags: "-w -nologo -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"
44 mtldsharedflags: "-dll -incremental:no"
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 GDIPLUS.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$(MV) $(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\version.eif .%N%
86 %%T$(COMMAND_MAKEFILE)%N%
87 %%Tlink @$appl.lnk%N%
88 %%N%
89 %..\..\..\$appl.rc:%N%
90 %%Tif not exist ..\..\..\$appl.rc $(MV) $(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc ..\..\..\$appl.rc%N%
91 %%N%
92 %$appl.res: ..\..\..\$appl.rc Makefile%N%
93 %%Trc -r -fo$appl.res ..\..\..\$appl.rc%N%
94 %%N%
95 %$appl.lnk: $(OBJECTS) e1\emain.obj $appl.res $precompilelibs Makefile%N%
96 %%Tif exist $@ $(RM) $@%N%
97 %%T@echo $(LDFLAGS) $(CCLDFLAGS) -OUT:$appl.exe > $@%N%
98 %%T@echo e1\emain.obj >> $@%N%
99 %%T@echo $library $(EXTERNALS) >> $@%N%
100 %%T@echo $sharedlibs >> $@%N%
101 %$precompile_libs_command%
102 %%T@echo $appl.res >> $@%N%
103 %$objects_redirection%N%
104 %"
105
106 -- precompilation
107 precompile: "driver.exe: driver.lnk driver.rc precomp.lib%N%
108 %%Tif exist driver.exe $(RM) driver.exe%N%
109 %%Tlink @driver.lnk%N%
110 %%T$(MV) $(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\version.eif .%N%
111 %%Tif not exist $(ISE_C_COMPILER) mkdir $(ISE_C_COMPILER)%N%
112 %%T$(MV) driver.exe $(ISE_C_COMPILER)\driver.exe%N%
113 %%T$(MV) precomp.lib $(ISE_C_COMPILER)\precomp.lib%N%
114 %%Tif exist driver.exe $(RM) driver.exe%N%
115 %%Tif exist precomp.lib $(RM) precomp.lib%N%
116 %%N%
117 %driver.rc: $(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc%N%
118 %%T$(MV) $(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc driver.rc%N%
119 %%N%
120 %driver.res: driver.rc%N%
121 %%Trc -r driver.rc%N%
122 %%N%
123 %precomp.lib: $(C_OBJECTS)%N%
124 %%Tif exist $@ $(RM) $@%N%
125 %%Tlib -nologo -OUT:precomp.lib $(C_OBJECTS) $(EXTERNALS)%N%
126 %%N%
127 %driver.lnk: e1\emain.obj $(OBJECTS) driver.res $precompilelibs%N%
128 %%Techo $(LDFLAGS) $(CCLDFLAGS) -OUT:driver.exe > $@%N%
129 %%Techo e1\emain.obj >> $@%N%
130 %%Techo $sharedlibs >> $@%N%
131 %$precompile_libs_command%
132 %$objects_redirection%N%
133 %%Techo $(EXTERNALS) $(EIFLIB) >> $@%N%
134 %%Techo driver.res >> $@"
135
136 -- cecil
137 cecil_make: "$(STATIC_CECIL): $(OBJECTS) $(EIFLIB) $precompilelibs%N%
138 %%Tif exist $@ $(RM) $@%N%
139 %%Tlib -nologo -OUT:$(STATIC_CECIL) $(OBJECTS) $(EXTERNALS) $(EIFLIB) $precompilelibs"
140
141 cecil_def: "%
142 %DEF_FILE= c_$appl.def %N%
143 %c_$appl.def: %N%
144 %%Tif exist $@ $(RM) $@%N%
145 %%Techo LIBRARY c_$appl.dll > $@%N%
146 %%Techo DESCRIPTION %'c_$appl.dll%' >> $@%N%
147 %%Ttype $(ISE_EIFFEL)\studio\spec\$(ISE_PLATFORM)\templates\cecil.def >> $@"
148
149 cecil_dynlib: "%T/def:$(DEF_FILE) \%N%
150 %%T/OUT:$(SHARED_CECIL) /IMPLIB:c_dll_$appl.lib%N"
151
152 system_dynlib: "%T/def:$(DEF_FILE) \%N%
153 %%T/OUT:$(SYSTEM_IN_DYNAMIC_LIB) /IMPLIB:dll_$appl.lib $appl.res%N"
154
155 il_system_compilation_line: "%
156 %$(IL_SYSTEM): $(OBJECTS) $(IL_RESOURCE).res%N%
157 %%T$(FILE_EXIST) $(IL_SYSTEM) $(RM) $(IL_SYSTEM) %N%
158 %%T$(SHAREDLINK) $(LDSHAREDFLAGS) -NODEFAULTLIB:libc -out:$(IL_SYSTEM) $(OBJECTS) $(SHAREDLIBS) $(EXTERNALS) $(IL_RESOURCE).res %N%
159 %%T$(RM) $(OBJECTS)%N%
160 %%Techo Success > completed.eif%N%N%
161 %..\..\..\$(IL_RESOURCE).rc:%N%
162 %%Tif not exist ..\..\..\$(IL_RESOURCE).rc $(MV) $(ISE_EIFFEL)\studio\config\$(ISE_PLATFORM)\$(ISE_C_COMPILER)\eiffel.rc ..\..\..\$(IL_RESOURCE).rc%N%
163 %%N%
164 %$(IL_RESOURCE).res: ..\..\..\$(IL_RESOURCE).rc Makefile%N%
165 %%Trc -r -fo$(IL_RESOURCE).res ..\..\..\$(IL_RESOURCE).rc%N"
166
167 -- done
168 completed: "%Techo done > completed.eif"
169
170 all: "all:: "
171
172 intermediate_file_ext: "lib"
173
174 make_intermediate: "%Tif exist $@ $(RM) $@%N%
175 %%Tlib -nologo -OUT:$@ $obj%N%T$(CREATE_TEST)"
176
177 -- options below are for config internal use
178 -- mind the spaces!
179
180 no_subs: "!NO!SUBS!"
181
182 -- platform change directory command
183 cd: "cd"
184
185 -- text for remove command
186 rm_text: "RM ="
187
188 -- text for make command
189 make_text: "MAKE"
190
191 -- text for C-compiler command
192 cc_text: "$(CC) $(CFLAGS)"
193
194 cobj_text: ".c.obj:"
195 cppobj_text: ".cpp.obj:"
196 xobj_text: ".x.obj:"
197 xppobj_text: ".xpp.obj:"
198
199 obj_text: ".obj "
200
201 eobj_text: "$(OBJECTS"
202
203 objects__text: "$(OBJECTS)"
204
205 -- text for precompilation
206 precompile_text: "precompile $appl"
207
208 appl_text: "appl_make $appl"
209
210 cecil_text: "cecil_make $appl"
211
212 -- platform 'parent' directory
213 updir: ".."
214
215 emain_text: "emain"
216
217 emain_obj_text: "emain.obj"
218
219 objects_text: "OBJECTS = "
220 c_objects_text: "C_OBJECTS = "
221
222 eobjects_text: "EOBJECTS = "
223
224 obj_file_ext: "obj"
225
226 executable_file_ext: ".exe"
227
228 driver_text: "\driver"
229
230 driver_filename: "driver.exe"
231
232 externals_text: "EXTERNALS"
233
234 externals_continuation_text: "EXTERNALS = \"
235
236 precomp_lib_command_text: "@echo $precompiled_library >> $@%N%T"
237
238 start_test: "if not exist finished"
239
240 end_test: ""
241
242 create_test: "echo %"finished%" >> finished"

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23