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


  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 include ../../Makefile.cmd
  28 
  29 TARGETS         = library
  30 
  31 INCLUDES += -I../include
  32 
  33 CPPFLAGS += $(INCLUDES)
  34 
  35 CFLAGS += $(CCVERBOSE)
  36 CERRWARN += -_gcc=-Wno-uninitialized
  37 CERRWARN += -_gcc=-Wno-unused-variable
  38 CERRWARN += -_gcc=-Wno-parentheses
  39 
  40 # not linted
  41 SMATCH=off
  42 
  43 LINTFLAGS += -m -v -u
  44 
  45 AR=     /usr/ccs/bin/ar
  46 RANLIB= /usr/ccs/bin/ranlib
  47 RM=     /usr/bin/rm -f
  48 
  49 LIBCSRCS        = device_ctl.c \
  50                   filehdr.c \
  51                   hdr_misc.c \
  52                   g711.c \
  53                   g721.c \
  54                   g723.c \
  55                   g72x_tables.c \
  56                   zmalloc.c




  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 include ../../Makefile.cmd
  28 
  29 TARGETS         = library
  30 
  31 INCLUDES += -I../include
  32 
  33 CPPFLAGS += $(INCLUDES)
  34 
  35 CFLAGS += $(CCVERBOSE)
  36 CERRWARN += $(CNOWARN_UNINIT)
  37 CERRWARN += -_gcc=-Wno-unused-variable
  38 CERRWARN += -_gcc=-Wno-parentheses
  39 
  40 # not linted
  41 SMATCH=off
  42 
  43 LINTFLAGS += -m -v -u
  44 
  45 AR=     /usr/ccs/bin/ar
  46 RANLIB= /usr/ccs/bin/ranlib
  47 RM=     /usr/bin/rm -f
  48 
  49 LIBCSRCS        = device_ctl.c \
  50                   filehdr.c \
  51                   hdr_misc.c \
  52                   g711.c \
  53                   g721.c \
  54                   g723.c \
  55                   g72x_tables.c \
  56                   zmalloc.c