Print this page
lib: move compat links from targetdirs to proper makefiles
*** 237,243 ****
# is only defined if we have a 64-bit build to do.
#
TYPECHECK_LIB32 = $(TYPECHECK_LIB:%=$(MACH)/%)
TYPECHECK_LIB64 = $(TYPECHECK_LIB:%=$(MACH64)/%)
TYPECHECK_LIST= $(TYPELIST:%=-T %)
! $(BUILD64)TYPECHECK.lib = $(CTFDIFF) -t -I $(TYPECHECK_LIST) $(TYPECHECK_LIB32) $(TYPECHECK_LIB64)
TYPECHECK = $(TYPECHECK_LIB:%=%.typecheck)
--- 237,253 ----
# is only defined if we have a 64-bit build to do.
#
TYPECHECK_LIB32 = $(TYPECHECK_LIB:%=$(MACH)/%)
TYPECHECK_LIB64 = $(TYPECHECK_LIB:%=$(MACH64)/%)
TYPECHECK_LIST= $(TYPELIST:%=-T %)
! $(BUILD64)TYPECHECK.lib = $(CTFDIFF) -t -I $(TYPECHECK_LIST) \
! $(TYPECHECK_LIB32) $(TYPECHECK_LIB64)
TYPECHECK = $(TYPECHECK_LIB:%=%.typecheck)
+
+ # Links we need to create for compatibility
+ COMPATLINKS=
+ COMPATLINKS64=
+ ROOTCOMPATLINKS=$(COMPATLINKS:%=$(ROOT)/%)
+ ROOTCOMPATLINKS64=$(COMPATLINKS64:%=$(ROOT)/%)
+
+ # So if someone doesn't set the target-specific variable they get a clue
+ COMPATLINKTARGET= /__you_didnt_use_COMPATLINKS_properly__