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>


  46 # Moved these up to the top level here, so they can be overridden
  47 #
  48 LDLIBS.cmd =    $(LDLIBS64)
  49 LDLIBS.lib =    $(LDLIBS64)
  50 
  51 #
  52 # Override Makefile.master's settings of GCCLIBDIR
  53 #
  54 GCCLIBDIR=      $(GCCLIBDIR64)
  55 
  56 #
  57 # Override Makefile.master's settings of CC, CCC, AS and LINT
  58 #
  59 CC=             $($(MACH64)_CC)
  60 CCC=            $($(MACH64)_CCC)
  61 CPP=            $($(MACH64)_CPP)
  62 AS=             $($(MACH64)_AS)
  63 LD=             $($(MACH64)_LD)
  64 LINT=           $($(MACH64)_LINT)
  65 
  66 REAL_CC=        $(CW_CC_CMD:sh)
  67 REAL_CCC=       $(CW_CCC_CMD:sh)
  68 
  69 BUILD.SO=       $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
  70                 $(PICS) $(EXTPICS) -L $(ROOTLIBDIR64) $(LDLIBS)
  71 
  72 #
  73 # ld(1) requires the -64 option to create a 64-bit filter solely from a mapfile
  74 #
  75 MAPFILECLASS=   -64
  76 
  77 CCNEEDED =              -lCrun
  78 $(__GNUC64)CCNEEDED =   -L$(GCCLIBDIR) -lstdc++
  79 $(__GNUC64)CCNEEDED +=  -lgcc_s
  80 
  81 BUILDCCC.SO=    $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
  82                 $(PICS) $(EXTPICS) $(LDLIBS) $(CCNEEDED)
  83 MAPFILE.NGB =   $(MAPFILE.NGB_$(MACH64))


  46 # Moved these up to the top level here, so they can be overridden
  47 #
  48 LDLIBS.cmd =    $(LDLIBS64)
  49 LDLIBS.lib =    $(LDLIBS64)
  50 
  51 #
  52 # Override Makefile.master's settings of GCCLIBDIR
  53 #
  54 GCCLIBDIR=      $(GCCLIBDIR64)
  55 
  56 #
  57 # Override Makefile.master's settings of CC, CCC, AS and LINT
  58 #
  59 CC=             $($(MACH64)_CC)
  60 CCC=            $($(MACH64)_CCC)
  61 CPP=            $($(MACH64)_CPP)
  62 AS=             $($(MACH64)_AS)
  63 LD=             $($(MACH64)_LD)
  64 LINT=           $($(MACH64)_LINT)
  65 



  66 BUILD.SO=       $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
  67                 $(PICS) $(EXTPICS) -L $(ROOTLIBDIR64) $(LDLIBS)
  68 
  69 #
  70 # ld(1) requires the -64 option to create a 64-bit filter solely from a mapfile
  71 #
  72 MAPFILECLASS=   -64
  73 
  74 CCNEEDED =              -lCrun
  75 $(__GNUC64)CCNEEDED =   -L$(GCCLIBDIR) -lstdc++
  76 $(__GNUC64)CCNEEDED +=  -lgcc_s
  77 
  78 BUILDCCC.SO=    $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
  79                 $(PICS) $(EXTPICS) $(LDLIBS) $(CCNEEDED)
  80 MAPFILE.NGB =   $(MAPFILE.NGB_$(MACH64))