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


  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG =          zonestat
  27 SRCS =          zonestat.c
  28 OBJS =          $(SRCS:%.c=%.o)
  29 
  30 include ../../Makefile.cmd
  31 
  32 LDLIBS          += -lscf -lzonestat -lumem
  33 LINTFLAGS       += -u
  34 
  35 CERRWARN        += -_gcc=-Wno-uninitialized
  36 
  37 # not linted
  38 SMATCH=off
  39 
  40 .KEEP_STATE:
  41 
  42 .PARALLEL:
  43 
  44 all: $(PROG)
  45 
  46 install: all $(ROOTPROG)
  47 
  48 clean:
  49         $(RM) $(OBJS)
  50 
  51 lint: lint_PROG
  52 
  53 include ../../Makefile.targ


  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG =          zonestat
  27 SRCS =          zonestat.c
  28 OBJS =          $(SRCS:%.c=%.o)
  29 
  30 include ../../Makefile.cmd
  31 
  32 LDLIBS          += -lscf -lzonestat -lumem
  33 LINTFLAGS       += -u
  34 
  35 CERRWARN        += $(CNOWARN_UNINIT)
  36 
  37 # not linted
  38 SMATCH=off
  39 
  40 .KEEP_STATE:
  41 
  42 .PARALLEL:
  43 
  44 all: $(PROG)
  45 
  46 install: all $(ROOTPROG)
  47 
  48 clean:
  49         $(RM) $(OBJS)
  50 
  51 lint: lint_PROG
  52 
  53 include ../../Makefile.targ