fixed bug in configure
[k8jam.git] / defaults / Jambase.locs
blob2e54569f8b4f6efa5193e4ee1b077c36e4cba99b
1 # set default 'locate' vars -- _build/, etc
2 rule set-default-subdir-locates {
3   local bdir ;
4   local d = $(TOP) ;
6   if ! $(d) { d = "." ; }
8   if $(BUILD_DIR) {
9     bdir = $(BUILD_DIR) ;
10   } else {
11     if $(WINDOZE) { bdir = _wbuild ; } else { bdir = _build ; }
12     if $(USE_CLANG) { bdir = "$(bdir)$(PATH_SEPARATOR)_CLANG" ; }
13     if $(DEBUG) { bdir = "$(bdir)$(PATH_SEPARATOR)_DEBUG" ; }
14   }
16   ALL_LOCATE_BIN = $(d) ;
17   ALL_LOCATE_LIBSO = $(d) ;
18   ALL_LOCATE_TARGET = "$(d)$(PATH_SEPARATOR)$(bdir)" ;
19   ALL_LOCATE_LIB = "$(d)$(PATH_SEPARATOR)$(bdir)$(PATH_SEPARATOR)_libs" ;
20   HCACHEFILE = "$(d)$(PATH_SEPARATOR)$(bdir)$(PATH_SEPARATOR).jamhdr.cache" ;
22   Clean clean : $(HCACHEFILE) ;
26 rule set-default-target-locations {
27   set-default-subdir-locates ;
30 rule set-default-locations {
31   set-default-subdir-locates ;
34 rule set-target-locations {
35   set-default-subdir-locates ;