xref: /trunk/main/solenv/inc/tg_wntx64.mk (revision 7871dc3e)
1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir###############################################
24cdf0e10cSrcweir#        Windows 64 bit special
25cdf0e10cSrcweir#	only used for 64 bit shell extension
26cdf0e10cSrcweir#          ( Windows Vista )
27cdf0e10cSrcweir# ---------------------------------------------
28cdf0e10cSrcweir# THIS FILE WILL BE DELETED when a fully ported
29cdf0e10cSrcweir# Windows 64 bit version is available
30cdf0e10cSrcweir###############################################
31cdf0e10cSrcweir
32cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
33cdf0e10cSrcweir
34cdf0e10cSrcweir.IF "$(SLOTARGET_X64)"!=""
35cdf0e10cSrcweir$(SLOTARGET_X64): $(SLOFILES_X64) $(IDLSLOFILES_X64)
36cdf0e10cSrcweir.IF "$(MDB)" != ""
37cdf0e10cSrcweir	@echo $(SLOTARGET_X64)
38cdf0e10cSrcweir	@echo $(&:+"\n")
39cdf0e10cSrcweir.ENDIF
40cdf0e10cSrcweir	@echo ------------------------------
41cdf0e10cSrcweir	@echo Making: $@
42cdf0e10cSrcweir	@-$(MKDIR) $(SLB_X64)
43cdf0e10cSrcweir.IF "$(LIBTARGET)"!="NO"
44cdf0e10cSrcweir	@-$(TYPE) $(mktmp $(&:+"\n")) > $(@:s/.lib/.lin/)
45cdf0e10cSrcweir.ENDIF          # "$(LIBTARGET)"!="NO"
46cdf0e10cSrcweir	$(LIBMGR_X64) $(LIBFLAGS_X64) /OUT:$@ @$(mktmp $(&:+"\n"))
47cdf0e10cSrcweir.ENDIF			# "$(SLOTARGET_X64)"!=""
48cdf0e10cSrcweir
49cdf0e10cSrcweir
50cdf0e10cSrcweir# decide how to link
51cdf0e10cSrcweir.IF "$(SHL1CODETYPE)"=="C"
52cdf0e10cSrcweirSHL1LINKFLAGS_X64+=$(LINKCFLAGS_X64)
53cdf0e10cSrcweir.ELSE			# "$(SHL1CODETYPE)"=="C"
54cdf0e10cSrcweirSHL1LINKFLAGS_X64+=$(LINKFLAGS_X64)
55cdf0e10cSrcweir.ENDIF			# "$(SHL1CODETYPE)"=="C"
56cdf0e10cSrcweir
57cdf0e10cSrcweir.IF "$(SHL2CODETYPE)"=="C"
58cdf0e10cSrcweirSHL2LINKFLAGS_X64+=$(LINKCFLAGS_X64)
59cdf0e10cSrcweir.ELSE			# "$(SHL2CODETYPE)"=="C"
60cdf0e10cSrcweirSHL2LINKFLAGS_X64+=$(LINKFLAGS_X64)
61cdf0e10cSrcweir.ENDIF			# "$(SHL2CODETYPE)"=="C"
62cdf0e10cSrcweir
63cdf0e10cSrcweir.IF "$(SHL1IMPLIB_X64)" == ""
64cdf0e10cSrcweirSHL1IMPLIB_X64=i$(TARGET)_t1
65cdf0e10cSrcweir.ENDIF			# "$(SHL1IMPLIB_X64)" == ""
66cdf0e10cSrcweirUSE_1IMPLIB_X64=-implib:$(LB_X64)/$(SHL1IMPLIB_X64).lib
67cdf0e10cSrcweir.IF "$(SHL1TARGET_X64)"!=""
68cdf0e10cSrcweirSHL1IMPLIBN_X64=$(LB_X64)/$(SHL1IMPLIB_X64).lib
69cdf0e10cSrcweir.ENDIF # "$(SLOFILES_X64)$(OBJFILES_X64)"!=""
70cdf0e10cSrcweir
71cdf0e10cSrcweirmake_x64_dirs :
72cdf0e10cSrcweir	-$(MKDIR) $(BIN_X64)
73cdf0e10cSrcweir	-$(MKDIR) $(MISC_X64)
74cdf0e10cSrcweir	-$(MKDIR) $(LB_X64)
75cdf0e10cSrcweir	-$(MKDIR) $(SLB_X64)
76cdf0e10cSrcweir
77cdf0e10cSrcweir
78cdf0e10cSrcweir.IF "$(LIBTARGET)" == ""
79cdf0e10cSrcweirALLTAR : $(SHL1IMPLIBN_X64)
80cdf0e10cSrcweir.ENDIF "$(LIBTARGET)" == ""
81cdf0e10cSrcweir
82cdf0e10cSrcweir# ----------------------------- lib ------------------------------------------
83cdf0e10cSrcweir.IF "$(LIB1TARGET_X64)" != ""
84cdf0e10cSrcweir$(LIB1TARGET_X64) :	$(LIB1FILES_X64) \
85cdf0e10cSrcweir						$(LIB1OBJFILES_X64) \
86cdf0e10cSrcweir						$(LIB1DEPN_X64)
87cdf0e10cSrcweir	@echo using: $(LIB1FILES_X64)
88cdf0e10cSrcweir	@echo using: $(LIB1TARGET_X64)
89cdf0e10cSrcweir	@echo ------------------------------
90cdf0e10cSrcweir	@echo Making: $@
91cdf0e10cSrcweir	-$(MKDIR) $(SLB_X64)
92cdf0e10cSrcweir	@@-$(RM) $@
93cdf0e10cSrcweir	$(LIBMGR_X64) $(LIBFLAGS_X64) /OUT:$@ @$(mktmp $(LIB1FILES_X64) $(LIB1OBJFILES_X64))
94cdf0e10cSrcweir    @-$(RM) $(@:s/.lib/.lin/)
95cdf0e10cSrcweir.IF "$(LIB1OBJFILES_X64)"!=""
96cdf0e10cSrcweir	@$(TYPE) $(mktmp $(LIB1OBJFILES_X64)) > $(null,$(LIB1OBJFILES_X64) $(NULLDEV) $(@:s/.lib/.lin/))
97cdf0e10cSrcweir.ENDIF          # "$(LIB1OBJFILES_X64)"!=""
98cdf0e10cSrcweir.IF "$(LIB1FILES_X64)"!=""
99cdf0e10cSrcweir	@-$(TYPE) $(foreach,i,$(LIB1FILES_X64) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
100cdf0e10cSrcweir.ENDIF          # "$(LIB1FILES_X64)"!=""
101cdf0e10cSrcweir	@$(ECHONL)
102cdf0e10cSrcweir.ENDIF          # "$(LIB1TARGET_X64)" != ""
103cdf0e10cSrcweir
104cdf0e10cSrcweir.IF "$(LIB2TARGET_X64)" != ""
105cdf0e10cSrcweir$(LIB2TARGET_X64) :	$(LIB2FILES_X64) \
106cdf0e10cSrcweir						$(LIB2OBJFILES_X64) \
107cdf0e10cSrcweir						$(LIB2DEPN_X64)
108cdf0e10cSrcweir	@echo using: $(LIB2FILES_X64)
109cdf0e10cSrcweir	@echo using: $(LIB2TARGET_X64)
110cdf0e10cSrcweir	@echo ------------------------------
111cdf0e10cSrcweir	@echo Making: $@
112cdf0e10cSrcweir	-$(MKDIR) $(SLB_X64)
113cdf0e10cSrcweir	@@-$(RM) $@
114cdf0e10cSrcweir	$(LIBMGR_X64) $(LIBFLAGS_X64) /OUT:$@ @$(mktmp $(LIB2FILES_X64) $(LIB2OBJFILES_X64))
115cdf0e10cSrcweir    @-$(RM) $(@:s/.lib/.lin/)
116cdf0e10cSrcweir.IF "$(LIB2OBJFILES_X64)"!=""
117cdf0e10cSrcweir	@$(TYPE) $(mktmp $(LIB2OBJFILES_X64)) > $(null,$(LIB2OBJFILES_X64) $(NULLDEV) $(@:s/.lib/.lin/))
118cdf0e10cSrcweir.ENDIF          # "$(LIB2OBJFILES_X64)"!=""
119cdf0e10cSrcweir.IF "$(LIB2FILES_X64)"!=""
120cdf0e10cSrcweir	@-$(TYPE) $(foreach,i,$(LIB2FILES_X64) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
121cdf0e10cSrcweir.ENDIF          # "$(LIB2FILES_X64)"!=""
122cdf0e10cSrcweir	@$(ECHONL)
123cdf0e10cSrcweir.ENDIF          # "$(LIB2TARGET_X64)" != ""
124cdf0e10cSrcweir
125cdf0e10cSrcweir# -------------- def ----------------------
126cdf0e10cSrcweir.IF	"$(DEF1TARGETN_X64)"!=""
127cdf0e10cSrcweir$(DEF1TARGETN_X64) : \
128cdf0e10cSrcweir		$(DEF1DEPN_X64) \
129cdf0e10cSrcweir		$(DEF1EXPORTFILE_X64)
130cdf0e10cSrcweir        @-$(MKDIR) $(MISC_X64)
131cdf0e10cSrcweir	@-$(RM) $@.tmpfile
132cdf0e10cSrcweir	@echo ------------------------------
133cdf0e10cSrcweir	@echo Making Module-Definitionfile : $@
134cdf0e10cSrcweir	@echo LIBRARY	  $(EMQ)"$(SHL1TARGETN:f)$(EMQ)" 								 >$@.tmpfile
135cdf0e10cSrcweir	@echo HEAPSIZE	  0 											>>$@.tmpfile
136cdf0e10cSrcweir	@echo EXPORTS													>>$@.tmpfile
137cdf0e10cSrcweir#	getversioninfo fuer alle!!
138cdf0e10cSrcweir	@echo GetVersionInfo		>>$@.tmpfile
139cdf0e10cSrcweir.IF "$(DEFLIB1NAME_X64)"!=""
140cdf0e10cSrcweir.IF "$(SHL1USE_EXPORTS_X64)"==""
141cdf0e10cSrcweir	@-$(EXPORT1_PROTECT) $(RMHACK1) $(MISC_X64)/$(SHL1TARGET_X64).exp
142cdf0e10cSrcweir	@$(EXPORT1_PROTECT) $(LIBMGR_X64) -EXTRACT:/ /OUT:$(MISC_X64)/$(SHL1TARGET_X64).exp $(SLB_X64)/$(DEFLIB1NAME_X64).lib
143cdf0e10cSrcweir	@$(EXPORT1_PROTECT) $(LDUMP2) -E 20 -F $(MISC_X64)/$(SHL1TARGET_X64).flt $(MISC_X64)/$(SHL1TARGET_X64).exp			   >>$@.tmpfile
144cdf0e10cSrcweir	$(EXPORT1_PROTECT) $(RMHACK1) $(MISC_X64)/$(SHL1TARGET_X64).exp
145cdf0e10cSrcweir.ELSE			# "$(SHL1USE_EXPORTS_X64)"==""
146cdf0e10cSrcweir	@$(EXPORT1_PROTECT) $(DUMPBIN) -DIRECTIVES  $(foreach,i,$(DEFLIB1NAME_X64) $(SLB_X64)/$(i).lib) | $(GREP) EXPORT: > $(MISC_X64)/$(SHL1TARGET_X64).direct
147cdf0e10cSrcweir.IF "$(SHL1USE_EXPORTS_X64)"!="name"
148cdf0e10cSrcweir	@$(EXPORT1_PROTECT) $(LDUMP2) -D -E 20 -F $(DEF1FILTER_X64) $(MISC_X64)/$(SHL1TARGET_X64).direct >>$@.tmpfile
149cdf0e10cSrcweir.ELSE			# "$(SHL1USE_EXPORTS_X64)"!="name"
150cdf0e10cSrcweir	@$(EXPORT1_PROTECT) $(LDUMP2) -N -D -E 20 -F $(DEF1FILTER_X64) $(MISC_X64)/$(SHL1TARGET_X64).direct >>$@.tmpfile
151cdf0e10cSrcweir.ENDIF			# "$(SHL1USE_EXPORTS_X64)"!="name"
152cdf0e10cSrcweir.ENDIF			# "$(SHL1USE_EXPORTS)"==""
153cdf0e10cSrcweir.ENDIF				# "$(DEFLIB1NAME)"!=""
154cdf0e10cSrcweir.IF "$(DEF1EXPORT1_X64)"!=""
155cdf0e10cSrcweir	@echo $(DEF1EXPORT1_X64)										>>$@.tmpfile
156cdf0e10cSrcweir.ENDIF
157cdf0e10cSrcweir.IF "$(DEF1EXPORTFILE_X64)"!=""
158cdf0e10cSrcweir	$(COMMAND_ECHO)$(TYPE) $(DEF1EXPORTFILE_X64) >> $@.tmpfile
159cdf0e10cSrcweir.ENDIF
160cdf0e10cSrcweir	@-$(RM) $@
161cdf0e10cSrcweir	@$(RENAME) $@.tmpfile $@
162cdf0e10cSrcweir.ENDIF 		# "$(DEF1TARGETN_X64)"!=""
163cdf0e10cSrcweir
164cdf0e10cSrcweir.IF	"$(DEF2TARGETN_X64)"!=""
165cdf0e10cSrcweir$(DEF2TARGETN_X64) : \
166cdf0e10cSrcweir		$(DEF2DEPN_X64) \
167cdf0e10cSrcweir		$(DEF2EXPORTFILE_X64)
168cdf0e10cSrcweir	@-$(MKDIR) $(MISC_X64)
169cdf0e10cSrcweir	@-$(RM) $@.tmpfile
170cdf0e10cSrcweir	@echo Making Module-Definitionfile : $@
171cdf0e10cSrcweir	@echo LIBRARY	  $(EMQ)"$(SHL2TARGETN:f)$(EMQ)" 								 >$@.tmpfile
172cdf0e10cSrcweir	@echo HEAPSIZE	  0 											>>$@.tmpfile
173cdf0e10cSrcweir	@echo EXPORTS													>>$@.tmpfile
174cdf0e10cSrcweir#	getversioninfo fuer alle!!
175cdf0e10cSrcweir	@echo GetVersionInfo		>>$@.tmpfile
176cdf0e10cSrcweir.IF "$(DEFLIB2NAME_X64)"!=""
177cdf0e10cSrcweir.IF "$(SHL2USE_EXPORTS_X64)"==""
178cdf0e10cSrcweir	@-$(EXPORT2_PROTECT) $(RMHACK1) $(MISC_X64)/$(SHL2TARGET_X64).exp
179cdf0e10cSrcweir	@$(EXPORT2_PROTECT) $(LIBMGR_X64) -EXTRACT:/ /OUT:$(MISC_X64)/$(SHL2TARGET_X64).exp $(SLB_X64)/$(DEFLIB2NAME_X64).lib
180cdf0e10cSrcweir	@$(EXPORT2_PROTECT) $(LDUMP2) -E 20 -F $(MISC_X64)/$(SHL2TARGET_X64).flt $(MISC_X64)/$(SHL2TARGET_X64).exp			   >>$@.tmpfile
181cdf0e10cSrcweir	$(EXPORT2_PROTECT) $(RMHACK1) $(MISC_X64)/$(SHL2TARGET_X64).exp
182cdf0e10cSrcweir.ELSE			# "$(SHL2USE_EXPORTS_X64)"==""
183cdf0e10cSrcweir	@$(EXPORT2_PROTECT) $(DUMPBIN) -DIRECTIVES  $(foreach,i,$(DEFLIB2NAME_X64) $(SLB_X64)/$(i).lib) | $(GREP) EXPORT: > $(MISC_X64)/$(SHL2TARGET_X64).direct
184cdf0e10cSrcweir.IF "$(SHL2USE_EXPORTS_X64)"!="name"
185cdf0e10cSrcweir	@$(EXPORT2_PROTECT) $(LDUMP2) -D -E 20 -F $(DEF2FILTER_X64) $(MISC_X64)/$(SHL2TARGET_X64).direct >>$@.tmpfile
186cdf0e10cSrcweir.ELSE			# "$(SHL2USE_EXPORTS_X64)"!="name"
187cdf0e10cSrcweir	@$(EXPORT2_PROTECT) $(LDUMP2) -N -D -E 20 -F $(DEF2FILTER_X64) $(MISC_X64)/$(SHL2TARGET_X64).direct >>$@.tmpfile
188cdf0e10cSrcweir.ENDIF			# "$(SHL2USE_EXPORTS_X64)"!="name"
189cdf0e10cSrcweir.ENDIF			# "$(SHL2USE_EXPORTS)"==""
190cdf0e10cSrcweir.ENDIF				# "$(DEFLIB1NAME)"!=""
191cdf0e10cSrcweir.IF "$(DEF2EXPORT2_X64)"!=""
192cdf0e10cSrcweir	@echo $(DEF2EXPORT2_X64)										>>$@.tmpfile
193cdf0e10cSrcweir.ENDIF
194cdf0e10cSrcweir.IF "$(DEF2EXPORTFILE_X64)"!=""
195cdf0e10cSrcweir	$(COMMAND_ECHO)$(TYPE) $(DEF2EXPORTFILE_X64) >> $@.tmpfile
196cdf0e10cSrcweir.ENDIF
197cdf0e10cSrcweir	@-$(RM) $@
198cdf0e10cSrcweir	@$(RENAME) $@.tmpfile $@
199cdf0e10cSrcweir.ENDIF 		# "$(DEF2TARGETN_X64)"!=""
200cdf0e10cSrcweir#-----------------------------------------------------------------------------
201cdf0e10cSrcweir
202cdf0e10cSrcweir# -------------------------------- shl -----------------------------------------
203cdf0e10cSrcweir
204cdf0e10cSrcweir.IF "$(SHL1TARGET_X64)"!=""
205cdf0e10cSrcweir.IF "$(VERSIONOBJ_X64)"!=""
206cdf0e10cSrcweirSHL1VERSIONOBJ_X64:=$(VERSIONOBJ_X64:d){$(subst,$(UPD)$(DLLPOSTFIX),_dflt $(SHL1TARGET_X64))}$(VERSIONOBJ_X64:f)
207cdf0e10cSrcweirUSE_VERSIONH_X64:=$(INCCOM)/$(SHL1VERSIONOBJ_X64:b).h
208cdf0e10cSrcweirSHL1VERSIONOBJDEP_X64:=$(VERSIONOBJ_X64:d){$(subst,$(UPD)$(DLLPOSTFIX),_dflt $(SHL1TARGET_X64))}$(VERSIONOBJ_X64:f)
209cdf0e10cSrcweir$(MISC_X64)/$(SHL1VERSIONOBJ_X64:b).c : make_x64_dirs $(SOLARENV)/src/version.c $(INCCOM)/$(SHL1VERSIONOBJ_X64:b).h
210cdf0e10cSrcweir	$(COMMAND_ECHO)$(TYPE) $(SOLARENV)/src/version.c | $(SED) s/_version.h/$(SHL1VERSIONOBJ_X64:b).h/ > $@
211cdf0e10cSrcweir.INIT : $(SHL1VERSIONOBJDEP_X64)
212cdf0e10cSrcweir.ENDIF
213cdf0e10cSrcweir
214cdf0e10cSrcweir.IF "$(USE_DEFFILE_X64)"==""
215cdf0e10cSrcweirUSE_1IMPLIB_DEPS_X64=$(LB_X64)/$(SHL1IMPLIB_X64).lib
216cdf0e10cSrcweir.ENDIF			# "$(USE_DEFFILE_X64)"==""
217cdf0e10cSrcweir
218cdf0e10cSrcweir.IF "$(SHL1RES_X64)"!=""
219cdf0e10cSrcweirSHL1ALLRES_X64+=$(SHL1RES_X64)
220cdf0e10cSrcweirSHL1LINKRES_X64*=$(MISC_X64)/$(SHL1TARGET_X64).res
221cdf0e10cSrcweirSHL1LINKRESO_X64*=$(MISC_X64)/$(SHL1TARGET_X64)_res.o
222cdf0e10cSrcweir.ENDIF			# "$(SHL1RES_X64)"!=""
223cdf0e10cSrcweir
224cdf0e10cSrcweir.IF "$(SHL1DEFAULTRES_X64)$(use_shl_versions)"!=""
225cdf0e10cSrcweirSHL1DEFAULTRES_X64*=$(MISC_X64)/$(SHL1TARGET_X64)_def.res
226cdf0e10cSrcweirSHL1ALLRES_X64+=$(SHL1DEFAULTRES_X64)
227cdf0e10cSrcweirSHL1LINKRES_X64*=$(MISC_X64)/$(SHL1TARGET_X64).res
228cdf0e10cSrcweirSHL1LINKRESO_X64*=$(MISC_X64)/$(SHL1TARGET_X64)_res.o
229cdf0e10cSrcweir.ENDIF			# "$(SHL1DEFAULTRES)$(use_shl_versions)"!=""
230cdf0e10cSrcweir.ENDIF # "$(SHL1TARGET_X64)"=!""
231cdf0e10cSrcweir
232cdf0e10cSrcweir.IF "$(SHL1TARGETN_X64)"!=""
233cdf0e10cSrcweir$(SHL1TARGETN_X64) : \
234cdf0e10cSrcweir					make_x64_dirs \
235cdf0e10cSrcweir					$(SHL1OBJS_X64)\
236cdf0e10cSrcweir					$(SHL1LIBS_X64)\
237cdf0e10cSrcweir					$(USE_1IMPLIB_DEPS_X64)\
238cdf0e10cSrcweir					$(USE_SHL1DEF_X64)\
239cdf0e10cSrcweir					$(USE_SHL1VERSIONMAP_X64)\
240cdf0e10cSrcweir					$(SHL1RES)\
241cdf0e10cSrcweir					$(SHL1DEPN_X64) \
242cdf0e10cSrcweir					$(SHL1LINKLIST_X64)
243cdf0e10cSrcweir	@echo Making: $(SHL1TARGETN_X64)
244cdf0e10cSrcweir.IF "$(SHL1DEFAULTRES_X64)"!=""
245cdf0e10cSrcweir	@@-$(RM) $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
246cdf0e10cSrcweir.IF "$(use_shl_versions)" != ""
247cdf0e10cSrcweir.IF "$(SHL1ADD_VERINFO_X64)"!=""
248cdf0e10cSrcweir	@echo $(EMQ)#include $(EMQ)"$(SHL1ADD_VERINFO)$(EMQ)" >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
249cdf0e10cSrcweir.ELSE			# "$(SHL1ADD_VERINFO_X64)"!=""
250cdf0e10cSrcweir	@echo $(EMQ)#define ADDITIONAL_VERINFO1 >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
251cdf0e10cSrcweir	@echo $(EMQ)#define ADDITIONAL_VERINFO2 >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
252cdf0e10cSrcweir	@echo $(EMQ)#define ADDITIONAL_VERINFO3 >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
253cdf0e10cSrcweir.ENDIF			# "$(SHL1ADD_VERINFO_X64)"!=""
254cdf0e10cSrcweir	@echo $(EMQ)#define VERVARIANT	$(BUILD) >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
255cdf0e10cSrcweir	@echo $(EMQ)#define ORG_NAME	$(SHL1TARGET_X64)$(DLLPOST) >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
256cdf0e10cSrcweir	@echo $(EMQ)#define INTERNAL_NAME $(SHL1TARGET_X64:b) >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
257cdf0e10cSrcweir	@echo $(EMQ)#include $(EMQ)"shlinfo.rc$(EMQ)" >> $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
258cdf0e10cSrcweir.ENDIF			# "$(use_shl_versions)" != ""
259cdf0e10cSrcweir	$(COMMAND_ECHO)$(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS_X64) $(MISC_X64)/$(SHL1DEFAULTRES_X64:b).rc
260cdf0e10cSrcweir.ENDIF # "$(SHL1DEFAULTRES_X64)"!=""
261cdf0e10cSrcweir.IF "$(SHL1ALLRES_X64)"!=""
262cdf0e10cSrcweir	$(COMMAND_ECHO)$(TYPE) $(SHL1ALLRES_X64) > $(SHL1LINKRES_X64)
263cdf0e10cSrcweir.ENDIF			# "$(SHL1ALLRES)"!=""
264cdf0e10cSrcweir.IF "$(USE_DEFFILE_X64)"!=""
265cdf0e10cSrcweir	$(LINK_X64) @$(mktmp \
266cdf0e10cSrcweir		$(SHL1LINKFLAGS_X64) \
267cdf0e10cSrcweir		$(LINKFLAGSSHL_X64) \
268cdf0e10cSrcweir		$(SHL1STACK_X64) $(SHL1BASEX_X64)	\
269cdf0e10cSrcweir		-out:$@ \
270cdf0e10cSrcweir		-map:$(MISC_X64)/$(@:b).map \
271cdf0e10cSrcweir		-def:$(SHL1DEF_X64) \
272cdf0e10cSrcweir		$(USE_1IMPLIB_X64) \
273cdf0e10cSrcweir		$(STDOBJ_X64) \
274cdf0e10cSrcweir		$(SHL1VERSIONOBJ_X64) $(SHL1OBJS_X64) \
275cdf0e10cSrcweir		$(SHL1LIBS_X64) \
276cdf0e10cSrcweir		$(SHL1STDLIBS_X64) \
277cdf0e10cSrcweir		$(SHL1STDSHL_X64) $(STDSHL1_X64) \
278cdf0e10cSrcweir		$(SHL1LINKRES_X64) \
279cdf0e10cSrcweir	) $(LINKOUTPUTFILTER_X64)
280cdf0e10cSrcweir# double check if target was really written... still making sense?
281cdf0e10cSrcweir    @@$(LS) $@
282cdf0e10cSrcweir	@echo linking $@.manifest ...
283cdf0e10cSrcweir.IF "$(VISTA_MANIFEST)"!=""
284cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -manifest $(TRUSTED_MANIFEST_LOCATION)/trustedinfo.manifest -out:$@.tmanifest$(EMQ) $(FI)
285cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.tmanifest -outputresource:$@$(EMQ);2 $(FI)
286cdf0e10cSrcweir.ELSE
287cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -outputresource:$@$(EMQ);2 $(FI)
288cdf0e10cSrcweir.ENDIF # "$(VISTA_MANIFEST)"!=""
289cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(RM:s/+//) $@.manifest $(FI)
290cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.tmanifest $(THEN) $(RM:s/+//) $@.tmanifest $(FI)
291cdf0e10cSrcweir.ELSE			# "$(USE_DEFFILE)"!=""
292cdf0e10cSrcweir	$(LINK_X64) @$(mktmp	$(SHL1LINKFLAGS_X64)			\
293cdf0e10cSrcweir		$(LINKFLAGSSHL_X64) $(SHL1BASEX_X64)		\
294cdf0e10cSrcweir		$(SHL1STACK_X64) -out:$(SHL1TARGETN_X64)	\
295cdf0e10cSrcweir		-map:$(MISC_X64)/$(@:B).map				\
296cdf0e10cSrcweir		$(LB_X64)/$(SHL1IMPLIB_X64).exp				\
297cdf0e10cSrcweir		$(STDOBJ_X64)							\
298cdf0e10cSrcweir		$(SHL1OBJS_X64) $(SHL1VERSIONOBJ_X64) \
299cdf0e10cSrcweir		$(SHL1LIBS_X64)                         \
300cdf0e10cSrcweir		$(SHL1STDLIBS_X64)                      \
301cdf0e10cSrcweir		$(SHL1STDSHL_X64) $(STDSHL1_X64)                           \
302cdf0e10cSrcweir		$(SHL1LINKRES_X64) \
303cdf0e10cSrcweir	) $(LINKOUTPUTFILTER_X64)
304cdf0e10cSrcweir# double check if target was really written... still making sense?
305cdf0e10cSrcweir    @@$(LS) $@
306cdf0e10cSrcweir	@echo linking $@.manifest ...
307cdf0e10cSrcweir.IF "$(VISTA_MANIFEST)"!=""
308cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -manifest $(TRUSTED_MANIFEST_LOCATION)/trustedinfo.manifest -out:$@.tmanifest$(EMQ) $(FI)
309cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.tmanifest -outputresource:$@$(EMQ);2 $(FI)
310cdf0e10cSrcweir.ELSE
311cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -outputresource:$@$(EMQ);2 $(FI)
312cdf0e10cSrcweir.ENDIF # "$(VISTA_MANIFEST)"!=""
313cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(RM:s/+//) $@.manifest $(FI)
314cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.tmanifest $(THEN) $(RM:s/+//) $@.tmanifest $(FI)
315cdf0e10cSrcweir.ENDIF			# "$(USE_DEFFILE)"!=""
316cdf0e10cSrcweir# ------------------------------------------------------------------------------
317cdf0e10cSrcweir$(SHL1IMPLIBN_X64):	\
318cdf0e10cSrcweir					$(SHL1DEF_X64) \
319cdf0e10cSrcweir					$(USE_SHL1TARGET_X64) \
320cdf0e10cSrcweir					$(USELIB1DEPN_X64) \
321cdf0e10cSrcweir					$(USELIBDEPN_X64)
322cdf0e10cSrcweir	@echo Making: $(SHL1IMPLIBN_X64)
323cdf0e10cSrcweir# bei use_deffile implib von linker erstellt
324cdf0e10cSrcweir	@-mkdir $(LB_X64)
325cdf0e10cSrcweir.IF "$(USE_DEFFILE_X64)"==""
326cdf0e10cSrcweir	$(IMPLIB_X64) $(IMPLIBFLAGS_X64) @$(mktmp -out:$(SHL1IMPLIBN_X64) \
327cdf0e10cSrcweir	-def:$(SHL1DEF_X64) )
328cdf0e10cSrcweir.ELSE			# "$(USE_DEFFILE_X64)==""
329cdf0e10cSrcweir	@echo build of $(SHL1TARGETN_X64) creates $@
330cdf0e10cSrcweir.ENDIF			# "$(USE_DEFFILE_X64)==""
331cdf0e10cSrcweir
332cdf0e10cSrcweir.ENDIF 			# "$(SHL1TARGETN_X64)"!=""
333cdf0e10cSrcweir
334cdf0e10cSrcweir.IF "$(SHL2IMPLIB_X64)" == ""
335cdf0e10cSrcweirSHL2IMPLIB_X64=i$(TARGET)_t2
336cdf0e10cSrcweir.ENDIF			# "$(SHL2IMPLIB_X64)" == ""
337cdf0e10cSrcweir.IF "$(COM)" != "GCC"
338cdf0e10cSrcweirUSE_2IMPLIB_X64=-implib:$(LB_X64)/$(SHL2IMPLIB_X64).lib
339cdf0e10cSrcweir.ENDIF			# "$(COM)" != "GCC"
340cdf0e10cSrcweir.IF "$(SHL2TARGET_X64)"!=""
341cdf0e10cSrcweirSHL2IMPLIBN_X64=$(LB_X64)/$(SHL2IMPLIB_X64).lib
342cdf0e10cSrcweir.ENDIF # "$(SLOFILES_X64)$(OBJFILES_X64)"!=""
343cdf0e10cSrcweir
344cdf0e10cSrcweir.IF "$(LIBTARGET)" == ""
345cdf0e10cSrcweirALLTAR : $(SHL2IMPLIBN_X64)
346cdf0e10cSrcweir.ENDIF # "$(LIBTARGET)" == ""
347cdf0e10cSrcweir
348cdf0e10cSrcweir.IF "$(SHL2TARGET_X64)"!=""
349cdf0e10cSrcweir.IF "$(VERSIONOBJ_X64)"!=""
350cdf0e10cSrcweirSHL2VERSIONOBJ_X64:=$(VERSIONOBJ_X64:d){$(subst,$(UPD)$(DLLPOSTFIX),_dflt $(SHL2TARGET_X64))}$(VERSIONOBJ_X64:f)
351cdf0e10cSrcweirUSE_VERSIONH_X64:=$(INCCOM)/$(SHL2VERSIONOBJ_X64:b).h
352cdf0e10cSrcweirSHL2VERSIONOBJDEP_X64:=$(VERSIONOBJ_X64:d){$(subst,$(UPD)$(DLLPOSTFIX),_dflt $(SHL2TARGET_X64))}$(VERSIONOBJ_X64:f)
353cdf0e10cSrcweir$(MISC_X64)/$(SHL2VERSIONOBJ_X64:b).c : make_x64_dirs $(SOLARENV)/src/version.c $(INCCOM)/$(SHL2VERSIONOBJ_X64:b).h
354cdf0e10cSrcweir	$(COMMAND_ECHO)$(TYPE) $(SOLARENV)/src/version.c | $(SED) s/_version.h/$(SHL2VERSIONOBJ_X64:b).h/ > $@
355cdf0e10cSrcweir.INIT : $(SHL2VERSIONOBJDEP_X64)
356cdf0e10cSrcweir.ENDIF
357cdf0e10cSrcweir
358cdf0e10cSrcweir.IF "$(USE_DEFFILE_X64)"==""
359cdf0e10cSrcweirUSE_2IMPLIB_DEPS_X64=$(LB_X64)/$(SHL2IMPLIB_X64).lib
360cdf0e10cSrcweir.ENDIF			# "$(USE_DEFFILE_X64)"==""
361cdf0e10cSrcweir
362cdf0e10cSrcweir.IF "$(SHL2RES_X64)"!=""
363cdf0e10cSrcweirSHL2ALLRES_X64+=$(SHL2RES_X64)
364cdf0e10cSrcweirSHL2LINKRES_X64*=$(MISC_X64)/$(SHL2TARGET_X64).res
365cdf0e10cSrcweirSHL2LINKRESO_X64*=$(MISC_X64)/$(SHL2TARGET_X64)_res.o
366cdf0e10cSrcweir.ENDIF			# "$(SHL2RES_X64)"!=""
367cdf0e10cSrcweir
368cdf0e10cSrcweir.IF "$(SHL2DEFAULTRES_X64)$(use_shl_versions)"!=""
369cdf0e10cSrcweirSHL2DEFAULTRES_X64*=$(MISC_X64)/$(SHL2TARGET_X64)_def.res
370cdf0e10cSrcweirSHL2ALLRES_X64+=$(SHL2DEFAULTRES_X64)
371cdf0e10cSrcweirSHL2LINKRES_X64*=$(MISC_X64)/$(SHL2TARGET_X64).res
372cdf0e10cSrcweirSHL2LINKRESO_X64*=$(MISC_X64)/$(SHL2TARGET_X64)_res.o
373cdf0e10cSrcweir.ENDIF			# "$(SHL2DEFAULTRES)$(use_shl_versions)"!=""
374cdf0e10cSrcweir.ENDIF # "$(SHL2TARGET_X64)"=!""
375cdf0e10cSrcweir
376cdf0e10cSrcweir.IF "$(SHL2TARGETN_X64)"!=""
377cdf0e10cSrcweir$(SHL2TARGETN_X64) : \
378cdf0e10cSrcweir					make_x64_dirs \
379cdf0e10cSrcweir					$(SHL2OBJS_X64)\
380cdf0e10cSrcweir					$(SHL2LIBS_X64)\
381cdf0e10cSrcweir					$(USE_2IMPLIB_DEPS_X64)\
382cdf0e10cSrcweir					$(USE_SHL2DEF_X64)\
383cdf0e10cSrcweir					$(USE_SHL2VERSIONMAP_X64)\
384cdf0e10cSrcweir					$(SHL2RES)\
385cdf0e10cSrcweir					$(SHL2DEPN_X64) \
386cdf0e10cSrcweir					$(SHL2LINKLIST_X64)
387cdf0e10cSrcweir	@echo Making: $(SHL2TARGETN_X64)
388cdf0e10cSrcweir.IF "$(SHL2DEFAULTRES_X64)"!=""
389cdf0e10cSrcweir	@@-$(RM) $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
390cdf0e10cSrcweir.IF "$(use_shl_versions)" != ""
391cdf0e10cSrcweir.IF "$(SHL2ADD_VERINFO_X64)"!=""
392cdf0e10cSrcweir	@echo $(EMQ)#include $(EMQ)"$(SHL2ADD_VERINFO)$(EMQ)" >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
393cdf0e10cSrcweir.ELSE			# "$(SHL2ADD_VERINFO_X64)"!=""
394cdf0e10cSrcweir	@echo $(EMQ)#define ADDITIONAL_VERINFO1 >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
395cdf0e10cSrcweir	@echo $(EMQ)#define ADDITIONAL_VERINFO2 >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
396cdf0e10cSrcweir	@echo $(EMQ)#define ADDITIONAL_VERINFO3 >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
397cdf0e10cSrcweir.ENDIF			# "$(SHL1ADD_VERINFO_X64)"!=""
398cdf0e10cSrcweir	@echo $(EMQ)#define VERVARIANT	$(BUILD) >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
399cdf0e10cSrcweir	@echo $(EMQ)#define ORG_NAME	$(SHL2TARGET_X64)$(DLLPOST) >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
400cdf0e10cSrcweir	@echo $(EMQ)#define INTERNAL_NAME $(SHL1TARGET_X64:b) >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
401cdf0e10cSrcweir	@echo $(EMQ)#include $(EMQ)"shlinfo.rc$(EMQ)" >> $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
402cdf0e10cSrcweir.ENDIF			# "$(use_shl_versions)" != ""
403cdf0e10cSrcweir	$(COMMAND_ECHO)$(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS_X64) $(MISC_X64)/$(SHL2DEFAULTRES_X64:b).rc
404cdf0e10cSrcweir.ENDIF # "$(SHL2DEFAULTRES_X64)"!=""
405cdf0e10cSrcweir.IF "$(SHL2ALLRES_X64)"!=""
406cdf0e10cSrcweir	$(COMMAND_ECHO)$(TYPE) $(SHL2ALLRES_X64) > $(SHL2LINKRES_X64)
407cdf0e10cSrcweir.ENDIF			# "$(SHL2ALLRES)"!=""
408cdf0e10cSrcweir.IF "$(USE_DEFFILE_X64)"!=""
409cdf0e10cSrcweir	$(LINK_X64) @$(mktmp \
410cdf0e10cSrcweir		$(SHL2LINKFLAGS_X64) \
411cdf0e10cSrcweir		$(LINKFLAGSSHL_X64) \
412cdf0e10cSrcweir		$(SHL2STACK_X64) $(SHL2BASEX_X64)	\
413cdf0e10cSrcweir		-out:$@ \
414cdf0e10cSrcweir		-map:$(MISC_X64)/$(@:b).map \
415cdf0e10cSrcweir		-def:$(SHL2DEF_X64) \
416cdf0e10cSrcweir		$(USE_2IMPLIB_X64) \
417cdf0e10cSrcweir		$(STDOBJ_X64) \
418cdf0e10cSrcweir		$(SHL2VERSIONOBJ_X64) $(SHL2OBJS_X64) \
419cdf0e10cSrcweir		$(SHL2LIBS_X64) \
420cdf0e10cSrcweir		$(SHL2STDLIBS_X64) \
421cdf0e10cSrcweir		$(SHL2STDSHL_X64) $(STDSHL2_X64) \
422cdf0e10cSrcweir		$(SHL2LINKRES_X64) \
423cdf0e10cSrcweir	) $(LINKOUTPUTFILTER_X64)
424cdf0e10cSrcweir# double check if target was really written... still making sense?
425cdf0e10cSrcweir    @@$(LS) $@
426cdf0e10cSrcweir	@echo linking $@.manifest ...
427cdf0e10cSrcweir.IF "$(VISTA_MANIFEST)"!=""
428cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -manifest $(TRUSTED_MANIFEST_LOCATION)/trustedinfo.manifest -out:$@.tmanifest$(EMQ) $(FI)
429cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.tmanifest -outputresource:$@$(EMQ);2 $(FI)
430cdf0e10cSrcweir.ELSE
431cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -outputresource:$@$(EMQ);2 $(FI)
432cdf0e10cSrcweir.ENDIF # "$(VISTA_MANIFEST)"!=""
433cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(RM:s/+//) $@.manifest $(FI)
434cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.tmanifest $(THEN) $(RM:s/+//) $@.tmanifest $(FI)
435cdf0e10cSrcweir.ELSE			# "$(USE_DEFFILE)"!=""
436cdf0e10cSrcweir	$(LINK_X64) @$(mktmp	$(SHL2LINKFLAGS_X64)			\
437cdf0e10cSrcweir		$(LINKFLAGSSHL_X64) $(SHL2BASEX_X64)		\
438cdf0e10cSrcweir		$(SHL2STACK_X64) -out:$(SHL2TARGETN_X64)	\
439cdf0e10cSrcweir		-map:$(MISC_X64)/$(@:B).map				\
440cdf0e10cSrcweir		$(LB_X64)/$(SHL2IMPLIB_X64).exp				\
441cdf0e10cSrcweir		$(STDOBJ_X64)							\
442cdf0e10cSrcweir		$(SHL2OBJS_X64) $(SHL2VERSIONOBJ_X64) \
443cdf0e10cSrcweir		$(SHL2LIBS_X64)                         \
444cdf0e10cSrcweir		$(SHL2STDLIBS_X64)                      \
445cdf0e10cSrcweir		$(SHL2STDSHL_X64) $(STDSHL2_X64)                           \
446cdf0e10cSrcweir		$(SHL2LINKRES_X64) \
447cdf0e10cSrcweir	) $(LINKOUTPUTFILTER_X64)
448cdf0e10cSrcweir# double check if target was really written... still making sense?
449cdf0e10cSrcweir    @@$(LS) $@
450cdf0e10cSrcweir	@echo linking $@.manifest ...
451cdf0e10cSrcweir.IF "$(VISTA_MANIFEST)"!=""
452cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -manifest $(TRUSTED_MANIFEST_LOCATION)/trustedinfo.manifest -out:$@.tmanifest$(EMQ) $(FI)
453cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.tmanifest -outputresource:$@$(EMQ);2 $(FI)
454cdf0e10cSrcweir.ELSE
455cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(MT) $(MTFLAGS) -manifest $@.manifest -outputresource:$@$(EMQ);2 $(FI)
456cdf0e10cSrcweir.ENDIF # "$(VISTA_MANIFEST)"!=""
457cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.manifest $(THEN) $(RM:s/+//) $@.manifest $(FI)
458cdf0e10cSrcweir	$(COMMAND_ECHO)$(IFEXIST) $@.tmanifest $(THEN) $(RM:s/+//) $@.tmanifest $(FI)
459cdf0e10cSrcweir.ENDIF			# "$(USE_DEFFILE)"!=""
460cdf0e10cSrcweir
461cdf0e10cSrcweir$(SHL2IMPLIBN_X64):	\
462cdf0e10cSrcweir					$(SHL2DEF_X64) \
463cdf0e10cSrcweir					$(USE_SHL2TARGET_X64) \
464cdf0e10cSrcweir					$(USELIB2DEPN_X64) \
465cdf0e10cSrcweir					$(USELIBDEPN_X64)
466cdf0e10cSrcweir	@echo Making: $(SHL2IMPLIBN_X64)
467cdf0e10cSrcweir# bei use_deffile implib von linker erstellt
468cdf0e10cSrcweir	@-mkdir $(LB_X64)
469cdf0e10cSrcweir.IF "$(USE_DEFFILE_X64)"==""
470cdf0e10cSrcweir	$(IMPLIB_X64) $(IMPLIBFLAGS_X64) @$(mktmp -out:$(SHL2IMPLIBN_X64) \
471cdf0e10cSrcweir	-def:$(SHL2DEF_X64) )
472cdf0e10cSrcweir.ELSE			# "$(USE_DEFFILE_X64)==""
473cdf0e10cSrcweir	@echo build of $(SHL2TARGETN_X64) creates $@
474cdf0e10cSrcweir.ENDIF			# "$(USE_DEFFILE_X64)==""
475cdf0e10cSrcweir
476cdf0e10cSrcweir.ENDIF 			# "$(SHL2TARGETN_X64)"!=""
477cdf0e10cSrcweir
478cdf0e10cSrcweir
479cdf0e10cSrcweir$(SLO_X64)/%.obj : %.cpp
480cdf0e10cSrcweir    @echo ------------------------------
481cdf0e10cSrcweir    @echo Making: $@
482cdf0e10cSrcweir    @@-$(RM) $@ >& $(NULLDEV)
483cdf0e10cSrcweir    -$(MKDIR) $(@:d)
484cdf0e10cSrcweir    @-$(MKDIR) $(MISC_X64)
485cdf0e10cSrcweir    $(CAPTURE_COMMAND) $(CXX_X64) $(USE_CFLAGS_X64) $(INCLUDE_X64) $(CFLAGSCXX_X64) $(CFLAGSSLO_X64) $(USE_CDEFS_X64) $(CDEFSSLO_X64) $(CDEFSMT_X64) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO_X64)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp $(CAPTURE_OUTPUT)
486cdf0e10cSrcweir
487cdf0e10cSrcweir$(SLO_X64)/%.obj : %.cxx
488cdf0e10cSrcweir    @echo Making: $@
489cdf0e10cSrcweir    @@-$(RM) $@ >& $(NULLDEV)
490cdf0e10cSrcweir    $(COMMAND_ECHO)-$(MKDIR) $(@:d)
491cdf0e10cSrcweir    $(COMMAND_ECHO)@-$(MKDIR) $(MISC_X64)
492cdf0e10cSrcweir    $(COMMAND_ECHO)$(CAPTURE_COMMAND) $(CXX_X64) $(USE_CFLAGS_X64) $(INCLUDE_X64) $(CFLAGSCXX_X64) $(CFLAGSSLO_X64) $(USE_CDEFS_X64) $(CDEFSSLO_X64) $(CDEFSMT_X64) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO_X64)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx $(CAPTURE_OUTPUT)
493cdf0e10cSrcweir
494cdf0e10cSrcweir$(SLO_X64)/%.obj : $(MISC)/%.c
495cdf0e10cSrcweir    @echo Making: $@
496cdf0e10cSrcweir    $(COMMAND_ECHO)-$(MKDIR) $(@:d)
497cdf0e10cSrcweir    $(COMMAND_ECHO)@-$(MKDIR) $(MISC_X64)
498cdf0e10cSrcweir    @@-$(RM) $@
499cdf0e10cSrcweir    @$(TYPE) $(mktmp $(CC_X64) $(USE_CFLAGS_X64) $(INCLUDE_C) $(CFLAGSCC_X64) $(CFLAGSSLO_X64) $(USE_CDEFS_X64) $(CDEFSSLO_X64) $(CFLAGSAPPEND_X64) $(CFLAGSOUTOBJ)$(SLO_X64)/$*.obj $(MISC)/$*.c )
500cdf0e10cSrcweir    @$(ECHONL)
501cdf0e10cSrcweir    $(COMMAND_ECHO)$(CC_X64) @$(mktmp $(USE_CFLAGS_X64) $(INCLUDE_C) $(CFLAGSCC_X64) $(CFLAGSSLO_X64) $(USE_CDEFS_X64) $(CDEFSSLO_X64) $(CFLAGSAPPEND_X64) $(CFLAGSOUTOBJ)$(SLO_X64)/$*.obj $(MISC)/$*.c )
502cdf0e10cSrcweir
503cdf0e10cSrcweir$(SLO_X64)/%.obj : %.c
504cdf0e10cSrcweir    @echo Making: $@
505cdf0e10cSrcweir    $(COMMAND_ECHO)-$(MKDIR) $(@:d)
506cdf0e10cSrcweir    $(COMMAND_ECHO)@-$(MKDIR) $(MISC_X64)
507cdf0e10cSrcweir    @@-$(RM) $@
508cdf0e10cSrcweir    $(COMMAND_ECHO)$(CC_X64) @$(mktmp $(USE_CFLAGS_X64) $(INCLUDE_C) $(CFLAGSCC_X64) $(CFLAGSSLO_X64) $(USE_CDEFS_X64) $(CDEFSSLO_X64) $(CDEFSMT_X64) $(CFLAGSAPPEND_X64) $(CFLAGSOUTOBJ)$(SLO_X64)/$*.obj $*.c )
509cdf0e10cSrcweir
510cdf0e10cSrcweir.ENDIF			# "$(BUILD_X64)"!=""
511