cosmetix in Jambase: use single-quoted string where appropriate
[k8jam.git] / defaults / Jambase.locs
blob0fa197066286d96dedef9be31ae969a7522691a1
1 # This program is free software: you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation, either version 3 of the License, or
4 # (at your option) any later version.
6 # This program is distributed in the hope that it will be useful,
7 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9 # GNU General Public License for more details.
11 # You should have received a copy of the GNU General Public License
12 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
14 # set default 'locate' vars -- .zbuild/, etc
15 rule set-default-subdir-locates {
16   local bdir ;
17   local d = $(TOP) ;
19   if ! $(d) { d = '.' ; }
21   if $(BUILD_DIR) {
22     bdir = [ RemoveTrailingSlashes $(BUILD_DIR) ] ;
23   } else {
24     if $(BUILD_DIR_BASE) {
25       bdir = [ RemoveTrailingSlashes $(BUILD_DIR_BASE) ] ;
26     } else {
27       if $(WINDOZE) { bdir = .wbuild ; } else { bdir = .zbuild ; }
28     }
29     if $(USE_CLANG) { bdir = "$(bdir)$(PATH_SEPARATOR)_CLANG" ; }
30     if $(VALGRIND) { bdir = "$(bdir)$(PATH_SEPARATOR)_VALGRIND" ; }
31     if $(DIET) { bdir = "$(bdir)$(PATH_SEPARATOR)_DIET" ; }
32     if $(OPT_PROFILE) { bdir = "$(bdir)$(PATH_SEPARATOR)_$(OPT_PROFILE)" ; }
33   }
35   ALL_LOCATE_BIN = $(d) ;
36   ALL_LOCATE_LIBSO = $(d) ;
37   ALL_LOCATE_TARGET = "$(d)$(PATH_SEPARATOR)$(bdir)" ;
38   ALL_LOCATE_LIB = "$(d)$(PATH_SEPARATOR)$(bdir)$(PATH_SEPARATOR)_libs" ;
39   HCACHEFILE = "$(d)$(PATH_SEPARATOR)$(bdir)$(PATH_SEPARATOR).jamhdr.cache" ;
41   Clean clean : $(HCACHEFILE) ;
45 rule set-default-target-locations {
46   set-default-subdir-locates ;
49 rule set-default-locations {
50   set-default-subdir-locates ;
53 rule set-target-locations {
54   set-default-subdir-locates ;