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


  53 SRCS    = $(OBJS:.o=.c)
  54 
  55 SED=    sed
  56 
  57 include ../Makefile.cmd
  58 
  59 IBINPROG=               $(BINPROG:%=$(ROOTBIN)/%)
  60 ISBINPROG=              $(SBINPROG:%=$(ROOTUSRSBIN)/%)
  61 
  62 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKRPC)
  63 
  64 $(ROOTBIN)/chkey :=                             FILEMODE=       4555
  65 
  66 $(ROOTKEYSERVDFLT) :=                           FILEMODE=       444
  67 
  68 CPPFLAGS += -I. -I$(SRC)/lib/libnsl/include -I$(SRC)/lib/libsldap/common \
  69                 -D_REENTRANT
  70 
  71 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  72 CERRWARN +=     -_gcc=-Wno-parentheses
  73 CERRWARN +=     -_gcc=-Wno-uninitialized
  74 CERRWARN +=     -_gcc=-Wno-unused-variable
  75 CERRWARN +=     -_gcc=-Wno-address
  76 CERRWARN +=     -_gcc=-Wno-unused-function
  77 
  78 # not linted
  79 SMATCH=off
  80 
  81 LDLIBS +=       -lnsl
  82 chkey :=        LDLIBS += -lsldap
  83 keyserv :=      LDLIBS += -lmp
  84 newkey  :=      LDLIBS += -lsldap -lsocket
  85 
  86 .KEEP_STATE:
  87 
  88 all: $(PROG)
  89 
  90 keyserv: $(K_OBJS)  $(KEYSERVOBJS)
  91         $(LINK.c) $(K_OBJS)  $(KEYSERVOBJS) -o $@ $(LDLIBS)
  92         $(POST_PROCESS)
  93 




  53 SRCS    = $(OBJS:.o=.c)
  54 
  55 SED=    sed
  56 
  57 include ../Makefile.cmd
  58 
  59 IBINPROG=               $(BINPROG:%=$(ROOTBIN)/%)
  60 ISBINPROG=              $(SBINPROG:%=$(ROOTUSRSBIN)/%)
  61 
  62 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKRPC)
  63 
  64 $(ROOTBIN)/chkey :=                             FILEMODE=       4555
  65 
  66 $(ROOTKEYSERVDFLT) :=                           FILEMODE=       444
  67 
  68 CPPFLAGS += -I. -I$(SRC)/lib/libnsl/include -I$(SRC)/lib/libsldap/common \
  69                 -D_REENTRANT
  70 
  71 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  72 CERRWARN +=     -_gcc=-Wno-parentheses
  73 CERRWARN +=     $(CNOWARN_UNINIT)
  74 CERRWARN +=     -_gcc=-Wno-unused-variable
  75 CERRWARN +=     -_gcc=-Wno-address
  76 CERRWARN +=     -_gcc=-Wno-unused-function
  77 
  78 # not linted
  79 SMATCH=off
  80 
  81 LDLIBS +=       -lnsl
  82 chkey :=        LDLIBS += -lsldap
  83 keyserv :=      LDLIBS += -lmp
  84 newkey  :=      LDLIBS += -lsldap -lsocket
  85 
  86 .KEEP_STATE:
  87 
  88 all: $(PROG)
  89 
  90 keyserv: $(K_OBJS)  $(KEYSERVOBJS)
  91         $(LINK.c) $(K_OBJS)  $(KEYSERVOBJS) -o $@ $(LDLIBS)
  92         $(POST_PROCESS)
  93