Print this page
9128 cw(1onbld) should be able to run multiple shadows
9129 file-locking tests shouldn't build multiple source files in one compiler invocation
9130 DTrace tst.gcc.d isn't useful
9132 cw(1onbld) shouldn't shadow pure preprocessing
Reviewed by: Andy Fiddaman <omnios@citrus-it.net>

@@ -25,18 +25,17 @@
 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
 #
 
 include         $(SRC)/Makefile.master
 
-FILES=  \
-                $(MACH)_cc_map.noexeglobs \
-                $(MACH)_gcc_map.noexeglobs
 
-$(BUILD64)FILES += \
-                $(MACH64)_cc_map.noexeglobs \
-                $(MACH64)_gcc_map.noexeglobs
+$(__GNUC)FILES= $(MACH)_gcc_map.noexeglobs
+$(__SUNC)FILES= $(MACH)_cc_map.noexeglobs
 
+$(__GNUC)$(BUILD64)FILES += $(MACH64)_gcc_map.noexeglobs
+$(__SUNC)$(BUILD64)FILES += $(MACH64)_cc_map.noexeglobs
+
 SYMS1=          syms.1
 SYMS2=          syms.2
 MAIN1=          main.1
 MAIN2=          main.2
 

@@ -71,14 +70,11 @@
 # mapfiles are not delivered into the $ROOT area, and therefore are not
 # delivered as packaged components of the OSNet.
 
 $(MACH)_cc_map.noexeglobs :=    LINK =  $(LINK.c)
 $(MACH64)_cc_map.noexeglobs :=  LINK =  $(LINK64.c)
-
-$(MACH)_gcc_map.noexeglobs :=   CC =    $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
 $(MACH)_gcc_map.noexeglobs :=   LINK =  $(LINK.c)
-$(MACH64)_gcc_map.noexeglobs := CC =    $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
 $(MACH64)_gcc_map.noexeglobs := LINK =  $(LINK64.c)
  
 # This generic target creates two dynamic executables from an empty "main"
 # program.  These objects are not executed, but are analyzed to determine the
 # global symbols each provides.