Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  37 # PLATFORM_OBJECTS is defined in ./desktop ./wgs ./sunfire Makefiles
  38 #
  39 OBJECTS= $(PLATFORM_OBJECTS)
  40 
  41 # include library definitions
  42 include $(SRC)/lib/Makefile.lib
  43 include $(SRC)/Makefile.psm
  44 
  45 SRCS=           $(OBJECTS:%.o=./common/%.c)
  46 
  47 LIBS = $(DYNLIB)
  48 
  49 # There should be a mapfile here
  50 MAPFILES =
  51 
  52 CFLAGS +=       $(CCVERBOSE)
  53 CERRWARN +=     -_gcc=-Wno-unused-variable
  54 CERRWARN +=     -_gcc=-Wno-parentheses
  55 CERRWARN +=     -_gcc=-Wno-unused-value
  56 CERRWARN +=     -_gcc=-Wno-unused-function
  57 CERRWARN +=     -_gcc=-Wno-uninitialized
  58 CERRWARN +=     -_gcc=-Wno-address
  59 IFLAGS +=       -I $(UTSBASE)/sun4u 
  60 IFLAGS +=       -I $(UTSCLOSED)/sun4u 
  61 IFLAGS +=       -I $(UTSCLOSED)/sun4u/sunfire -I $(UTSBASE)/sun4u/sunfire
  62 CPPFLAGS =      $(IFLAGS) $(CPPFLAGS.master)
  63 LDLIBS +=       -L $(ROOT)/usr/platform/$(PSR_MACH)/lib -lprtdiag -lc
  64 DYNFLAGS +=     -R /usr/platform/$(PSR_MACH)/lib
  65 INS.slink6=     $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libprtdiag_psr.so.1 $@
  66 
  67 .KEEP_STATE:
  68 
  69 all: $(LIBS)
  70 
  71 lint:   lintcheck
  72 
  73 # include library targets
  74 include $(SRC)/lib/Makefile.targ
  75 
  76 objs/%.o pics/%.o: ./common/%.c
  77         $(COMPILE.c) -o $@ $<


  37 # PLATFORM_OBJECTS is defined in ./desktop ./wgs ./sunfire Makefiles
  38 #
  39 OBJECTS= $(PLATFORM_OBJECTS)
  40 
  41 # include library definitions
  42 include $(SRC)/lib/Makefile.lib
  43 include $(SRC)/Makefile.psm
  44 
  45 SRCS=           $(OBJECTS:%.o=./common/%.c)
  46 
  47 LIBS = $(DYNLIB)
  48 
  49 # There should be a mapfile here
  50 MAPFILES =
  51 
  52 CFLAGS +=       $(CCVERBOSE)
  53 CERRWARN +=     -_gcc=-Wno-unused-variable
  54 CERRWARN +=     -_gcc=-Wno-parentheses
  55 CERRWARN +=     -_gcc=-Wno-unused-value
  56 CERRWARN +=     -_gcc=-Wno-unused-function
  57 CERRWARN +=     $(CNOWARN_UNINIT)
  58 CERRWARN +=     -_gcc=-Wno-address
  59 IFLAGS +=       -I $(UTSBASE)/sun4u 
  60 IFLAGS +=       -I $(UTSCLOSED)/sun4u 
  61 IFLAGS +=       -I $(UTSCLOSED)/sun4u/sunfire -I $(UTSBASE)/sun4u/sunfire
  62 CPPFLAGS =      $(IFLAGS) $(CPPFLAGS.master)
  63 LDLIBS +=       -L $(ROOT)/usr/platform/$(PSR_MACH)/lib -lprtdiag -lc
  64 DYNFLAGS +=     -R /usr/platform/$(PSR_MACH)/lib
  65 INS.slink6=     $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libprtdiag_psr.so.1 $@
  66 
  67 .KEEP_STATE:
  68 
  69 all: $(LIBS)
  70 
  71 lint:   lintcheck
  72 
  73 # include library targets
  74 include $(SRC)/lib/Makefile.targ
  75 
  76 objs/%.o pics/%.o: ./common/%.c
  77         $(COMPILE.c) -o $@ $<