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


  43         nscd_dbimpl.o nscd_getentctx.o nscd_intaddr.o \
  44         nscd_log.o nscd_nswconfig.o nscd_nswstate.o nscd_nswcfgst.o \
  45         nscd_seqnum.o nscd_smfmonitor.o \
  46         nscd_switch.o nscd_nswparse.o nscd_initf.o nscd_selfcred.o \
  47         nscd_frontend.o nscd_admin.o nscd_door.o \
  48         gettnrhtp.o gettnrhdb.o
  49 
  50 CLOBBERFILES=   nscd
  51 
  52 SRCS=   ${OBJS:%.o=%.c}
  53 
  54 CFLAGS +=       $(CCVERBOSE)
  55 CPPFLAGS +=     -D_REENTRANT -DSUN_THREADS \
  56                 -I../../lib/libc/port/gen -I../../lib/libc/inc \
  57                 -I../../lib/libsldap/common
  58 LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  59 LINTFLAGS +=    -erroff=E_NAME_USED_NOT_DEF2
  60 LINTFLAGS +=    -erroff=E_NAME_DEF_NOT_USED2
  61 
  62 CERRWARN +=     -_gcc=-Wno-switch
  63 CERRWARN +=     -_gcc=-Wno-uninitialized
  64 CERRWARN +=     -_gcc=-Wno-parentheses
  65 CERRWARN +=     -_gcc=-Wno-type-limits
  66 
  67 # not linted
  68 SMATCH=off
  69 
  70 # nscd interposes on many symbols, and must export others for its own dlsym()
  71 # use, and dlsym() calls from libc.  Itemizing the interfaces within a mapfile
  72 # is error-prone, so establish the whole object as an interposer.
  73 LDFLAGS +=      $(ZINTERPOSE)
  74 
  75 # TCOV_FLAG=    -ql
  76 
  77 PROGLIBS=       $(LDLIBS) -lresolv -lnsl -lsocket -lumem -lscf -lavl
  78 
  79 # install macros and rule
  80 #
  81 ROOTPROG=       ${ROOTUSRSBIN}/nscd
  82 
  83 .KEEP_STATE:




  43         nscd_dbimpl.o nscd_getentctx.o nscd_intaddr.o \
  44         nscd_log.o nscd_nswconfig.o nscd_nswstate.o nscd_nswcfgst.o \
  45         nscd_seqnum.o nscd_smfmonitor.o \
  46         nscd_switch.o nscd_nswparse.o nscd_initf.o nscd_selfcred.o \
  47         nscd_frontend.o nscd_admin.o nscd_door.o \
  48         gettnrhtp.o gettnrhdb.o
  49 
  50 CLOBBERFILES=   nscd
  51 
  52 SRCS=   ${OBJS:%.o=%.c}
  53 
  54 CFLAGS +=       $(CCVERBOSE)
  55 CPPFLAGS +=     -D_REENTRANT -DSUN_THREADS \
  56                 -I../../lib/libc/port/gen -I../../lib/libc/inc \
  57                 -I../../lib/libsldap/common
  58 LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  59 LINTFLAGS +=    -erroff=E_NAME_USED_NOT_DEF2
  60 LINTFLAGS +=    -erroff=E_NAME_DEF_NOT_USED2
  61 
  62 CERRWARN +=     -_gcc=-Wno-switch
  63 CERRWARN +=     $(CNOWARN_UNINIT)
  64 CERRWARN +=     -_gcc=-Wno-parentheses
  65 CERRWARN +=     -_gcc=-Wno-type-limits
  66 
  67 # not linted
  68 SMATCH=off
  69 
  70 # nscd interposes on many symbols, and must export others for its own dlsym()
  71 # use, and dlsym() calls from libc.  Itemizing the interfaces within a mapfile
  72 # is error-prone, so establish the whole object as an interposer.
  73 LDFLAGS +=      $(ZINTERPOSE)
  74 
  75 # TCOV_FLAG=    -ql
  76 
  77 PROGLIBS=       $(LDLIBS) -lresolv -lnsl -lsocket -lumem -lscf -lavl
  78 
  79 # install macros and rule
  80 #
  81 ROOTPROG=       ${ROOTUSRSBIN}/nscd
  82 
  83 .KEEP_STATE: