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


  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LIBRARY =       libinetsvc.a
  28 VERS =          .1
  29 OBJECTS =       inetsvc.o
  30 
  31 include ../../Makefile.lib
  32 
  33 LIBS =          $(DYNLIB) $(LINTLIB)
  34 LDLIBS +=       -lscf -lc -lsocket -lnsl -lmd -luutil
  35 
  36 SRCDIR =        ../common
  37 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  38 
  39 CFLAGS +=                       $(CCVERBOSE) -Wp,$(CSTD_GNU99)
  40 CPPFLAGS +=                     -I../common -D_REENTRANT
  41 $(RELEASE_BUILD)CPPFLAGS +=     -DNDEBUG
  42 
  43 CERRWARN +=     -_gcc=-Wno-parentheses
  44 CERRWARN +=     -_gcc=-Wno-switch
  45 CERRWARN +=     -_gcc=-Wno-uninitialized
  46 
  47 # not linted
  48 SMATCH=off
  49 
  50 .KEEP_STATE:
  51 
  52 all: $(LIBS)
  53 
  54 lint: lintcheck
  55 
  56 include ../../Makefile.targ


  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LIBRARY =       libinetsvc.a
  28 VERS =          .1
  29 OBJECTS =       inetsvc.o
  30 
  31 include ../../Makefile.lib
  32 
  33 LIBS =          $(DYNLIB) $(LINTLIB)
  34 LDLIBS +=       -lscf -lc -lsocket -lnsl -lmd -luutil
  35 
  36 SRCDIR =        ../common
  37 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  38 
  39 CFLAGS +=                       $(CCVERBOSE) -Wp,$(CSTD_GNU99)
  40 CPPFLAGS +=                     -I../common -D_REENTRANT
  41 $(RELEASE_BUILD)CPPFLAGS +=     -DNDEBUG
  42 
  43 CERRWARN +=     -_gcc=-Wno-parentheses
  44 CERRWARN +=     -_gcc=-Wno-switch
  45 CERRWARN +=     $(CNOWARN_UNINIT)
  46 
  47 # not linted
  48 SMATCH=off
  49 
  50 .KEEP_STATE:
  51 
  52 all: $(LIBS)
  53 
  54 lint: lintcheck
  55 
  56 include ../../Makefile.targ