Print this page
cw: give cw(1onbld) a new interface allowing for multiple arbitrary shadows

@@ -25,17 +25,16 @@
 # 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
+
+$(__GNU)$(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.