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


  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= priocntl
  27 
  28 PRIOCNTLOBJ=    $(PROG).o subr.o
  29 
  30 PRIOCNTLSRC= $(PRIOCNTLOBJ:%.o=%.c)
  31 OBJS= $(PRIOCNTLOBJ) rt$(PROG).o ts$(PROG).o ia$(PROG).o fss$(PROG).o \
  32         fx$(PROG).o sdc$(PROG).o
  33 SRCS= $(OBJ:%.o=%.c)
  34 
  35 include ../Makefile.cmd
  36 
  37 LDLIBS += -lcontract
  38 CERRWARN += -_gcc=-Wno-parentheses
  39 CERRWARN += -_gcc=-Wno-uninitialized
  40 
  41 CLASSD = $(ROOTLIB)/class
  42 RTD = $(CLASSD)/RT
  43 SDCD = $(CLASSD)/SDC
  44 TSD = $(CLASSD)/TS
  45 IAD = $(CLASSD)/IA
  46 FSSD = $(CLASSD)/FSS
  47 FXD = $(CLASSD)/FX
  48 DIRS = $(CLASSD) $(RTD) $(SDCD) $(TSD) $(IAD) $(FSSD) $(FXD)
  49 
  50 RTPROG = RT$(PROG)
  51 SDCPROG = SDC$(PROG)
  52 TSPROG = TS$(PROG)
  53 IAPROG = IA$(PROG)
  54 FSSPROG = FSS$(PROG)
  55 FXPROG = FX$(PROG)
  56 
  57 ROOTRTPROG = $(RTD)/$(RTPROG)
  58 ROOTSDCPROG = $(SDCD)/$(SDCPROG)
  59 ROOTTSPROG = $(TSD)/$(TSPROG)




  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= priocntl
  27 
  28 PRIOCNTLOBJ=    $(PROG).o subr.o
  29 
  30 PRIOCNTLSRC= $(PRIOCNTLOBJ:%.o=%.c)
  31 OBJS= $(PRIOCNTLOBJ) rt$(PROG).o ts$(PROG).o ia$(PROG).o fss$(PROG).o \
  32         fx$(PROG).o sdc$(PROG).o
  33 SRCS= $(OBJ:%.o=%.c)
  34 
  35 include ../Makefile.cmd
  36 
  37 LDLIBS += -lcontract
  38 CERRWARN += -_gcc=-Wno-parentheses
  39 CERRWARN += $(CNOWARN_UNINIT)
  40 
  41 CLASSD = $(ROOTLIB)/class
  42 RTD = $(CLASSD)/RT
  43 SDCD = $(CLASSD)/SDC
  44 TSD = $(CLASSD)/TS
  45 IAD = $(CLASSD)/IA
  46 FSSD = $(CLASSD)/FSS
  47 FXD = $(CLASSD)/FX
  48 DIRS = $(CLASSD) $(RTD) $(SDCD) $(TSD) $(IAD) $(FSSD) $(FXD)
  49 
  50 RTPROG = RT$(PROG)
  51 SDCPROG = SDC$(PROG)
  52 TSPROG = TS$(PROG)
  53 IAPROG = IA$(PROG)
  54 FSSPROG = FSS$(PROG)
  55 FXPROG = FX$(PROG)
  56 
  57 ROOTRTPROG = $(RTD)/$(RTPROG)
  58 ROOTSDCPROG = $(SDCD)/$(SDCPROG)
  59 ROOTTSPROG = $(TSD)/$(TSPROG)