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


  71                 $(LDAPCLIENTPROG:%=$(ROOTUSRSBIN)/%)
  72 
  73 PROG=           $(LDAPPROG) $(LDAPLISTPROG)
  74 ROOTADD=        $(ROOTBIN)/$(LDAPADD)
  75 ROOTMOD=        $(ROOTBIN)/$(LDAPMOD)
  76 ALLPROG=        all $(ROOTADD)
  77 
  78 CLOBBERFILES += $(OBJS) $(PROG) $(LDAPCLIENTPROG) $(LDAPADDENTPROG) \
  79                 $(IDSCONFIGPROG) $(LINTOUT)
  80 
  81 # creating /var/ldap directory
  82 ROOTVAR_LDAP=   $(ROOT)/var/ldap
  83 
  84 LINTFLAGS += -erroff=E_INCONS_ARG_DECL2
  85 LINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
  86 
  87 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  88 CERRWARN +=     -_gcc=-Wno-parentheses
  89 CERRWARN +=     -_gcc=-Wno-unused-function
  90 CERRWARN +=     -_gcc=-Wno-unused-variable
  91 CERRWARN +=     -_gcc=-Wno-uninitialized
  92 
  93 # not linted
  94 SMATCH=off
  95 
  96 all:=           TARGET= all
  97 install:=       TARGET= install
  98 clean:=         TARGET= clean
  99 clobber:=       TARGET= clobber
 100 lint:=          TARGET= lint
 101 
 102 # C Pre-Processor flags used by C, CC & lint
 103 CPPFLAGS +=     -DSUN -DSVR4 -DSOLARIS_LDAP_CMD \
 104                 -I $(SRC)/lib/libldap5/include/ldap \
 105                 -I $(SRC)/lib/libsldap/common \
 106                 -I $(SRC)/lib/libnsl/include/rpcsvc \
 107                 -DNO_LIBLCACHE -DLDAP_REFERRALS -DNET_SSL -DLDAPSSLIO \
 108                 -DHAVE_SASL_OPTIONS -DSOLARIS_LDAP_CMD
 109 LDLIBS +=       $(COMPLIB)
 110 
 111 ldapmodrdn :=   LDLIBS += -lldap




  71                 $(LDAPCLIENTPROG:%=$(ROOTUSRSBIN)/%)
  72 
  73 PROG=           $(LDAPPROG) $(LDAPLISTPROG)
  74 ROOTADD=        $(ROOTBIN)/$(LDAPADD)
  75 ROOTMOD=        $(ROOTBIN)/$(LDAPMOD)
  76 ALLPROG=        all $(ROOTADD)
  77 
  78 CLOBBERFILES += $(OBJS) $(PROG) $(LDAPCLIENTPROG) $(LDAPADDENTPROG) \
  79                 $(IDSCONFIGPROG) $(LINTOUT)
  80 
  81 # creating /var/ldap directory
  82 ROOTVAR_LDAP=   $(ROOT)/var/ldap
  83 
  84 LINTFLAGS += -erroff=E_INCONS_ARG_DECL2
  85 LINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
  86 
  87 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  88 CERRWARN +=     -_gcc=-Wno-parentheses
  89 CERRWARN +=     -_gcc=-Wno-unused-function
  90 CERRWARN +=     -_gcc=-Wno-unused-variable
  91 CERRWARN +=     $(CNOWARN_UNINIT)
  92 
  93 # not linted
  94 SMATCH=off
  95 
  96 all:=           TARGET= all
  97 install:=       TARGET= install
  98 clean:=         TARGET= clean
  99 clobber:=       TARGET= clobber
 100 lint:=          TARGET= lint
 101 
 102 # C Pre-Processor flags used by C, CC & lint
 103 CPPFLAGS +=     -DSUN -DSVR4 -DSOLARIS_LDAP_CMD \
 104                 -I $(SRC)/lib/libldap5/include/ldap \
 105                 -I $(SRC)/lib/libsldap/common \
 106                 -I $(SRC)/lib/libnsl/include/rpcsvc \
 107                 -DNO_LIBLCACHE -DLDAP_REFERRALS -DNET_SSL -DLDAPSSLIO \
 108                 -DHAVE_SASL_OPTIONS -DSOLARIS_LDAP_CMD
 109 LDLIBS +=       $(COMPLIB)
 110 
 111 ldapmodrdn :=   LDLIBS += -lldap