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


  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 LIBRARY=        libzonestat.a
  27 VERS=           .1
  28 OBJECTS=        libzonestat.o
  29 
  30 include ../../Makefile.lib
  31 
  32 LIBS =          $(DYNLIB) $(LINTLIB)
  33 LDLIBS +=       -lcmdutils -lumem -lc
  34 
  35 SRCDIR =        ../common
  36 CPPFLAGS +=     -I../common -mt -D_POSIX_PTHREAD_SEMANTICS
  37 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  38 
  39 CERRWARN +=     -_gcc=-Wno-uninitialized
  40 
  41 # not linted
  42 SMATCH=off
  43 
  44 .KEEP_STATE:
  45 
  46 all:    $(LIBS)
  47 
  48 lint:   lintcheck
  49 
  50 include ../../Makefile.targ


  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 LIBRARY=        libzonestat.a
  27 VERS=           .1
  28 OBJECTS=        libzonestat.o
  29 
  30 include ../../Makefile.lib
  31 
  32 LIBS =          $(DYNLIB) $(LINTLIB)
  33 LDLIBS +=       -lcmdutils -lumem -lc
  34 
  35 SRCDIR =        ../common
  36 CPPFLAGS +=     -I../common -mt -D_POSIX_PTHREAD_SEMANTICS
  37 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  38 
  39 CERRWARN +=     $(CNOWARN_UNINIT)
  40 
  41 # not linted
  42 SMATCH=off
  43 
  44 .KEEP_STATE:
  45 
  46 all:    $(LIBS)
  47 
  48 lint:   lintcheck
  49 
  50 include ../../Makefile.targ