222 #
223 # Target Architecture
224 #
225 TARGETMACH= $(MACH)
226
227 #
228 # Allow people to define their own clobber rules. Normal makefiles
229 # shouldn't override this - they should override $(CLOBBERFILES) instead.
230 #
231 CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(CLOBBERFILES)
232
233 #
234 # Define the default ctfdiff invocation used to check a list of types
235 # supplied by a user of a library. The goal is to validate that a given
236 # series of types is the same in both a 32-bit and 64-bit artifact. This
237 # is only defined if we have a 64-bit build to do.
238 #
239 TYPECHECK_LIB32 = $(TYPECHECK_LIB:%=$(MACH)/%)
240 TYPECHECK_LIB64 = $(TYPECHECK_LIB:%=$(MACH64)/%)
241 TYPECHECK_LIST= $(TYPELIST:%=-T %)
242 $(BUILD64)TYPECHECK.lib = $(CTFDIFF) -t -I $(TYPECHECK_LIST) $(TYPECHECK_LIB32) $(TYPECHECK_LIB64)
243 TYPECHECK = $(TYPECHECK_LIB:%=%.typecheck)
|
222 #
223 # Target Architecture
224 #
225 TARGETMACH= $(MACH)
226
227 #
228 # Allow people to define their own clobber rules. Normal makefiles
229 # shouldn't override this - they should override $(CLOBBERFILES) instead.
230 #
231 CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(CLOBBERFILES)
232
233 #
234 # Define the default ctfdiff invocation used to check a list of types
235 # supplied by a user of a library. The goal is to validate that a given
236 # series of types is the same in both a 32-bit and 64-bit artifact. This
237 # is only defined if we have a 64-bit build to do.
238 #
239 TYPECHECK_LIB32 = $(TYPECHECK_LIB:%=$(MACH)/%)
240 TYPECHECK_LIB64 = $(TYPECHECK_LIB:%=$(MACH64)/%)
241 TYPECHECK_LIST= $(TYPELIST:%=-T %)
242 $(BUILD64)TYPECHECK.lib = $(CTFDIFF) -t -I $(TYPECHECK_LIST) \
243 $(TYPECHECK_LIB32) $(TYPECHECK_LIB64)
244 TYPECHECK = $(TYPECHECK_LIB:%=%.typecheck)
245
246 # Links we need to create for compatibility
247 COMPATLINKS=
248 COMPATLINKS64=
249 ROOTCOMPATLINKS=$(COMPATLINKS:%=$(ROOT)/%)
250 ROOTCOMPATLINKS64=$(COMPATLINKS64:%=$(ROOT)/%)
251
252 # So if someone doesn't set the target-specific variable they get a clue
253 COMPATLINKTARGET= /__you_didnt_use_COMPATLINKS_properly__
|