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


  37 # 2. add cachemgr_discovery.o to the OBJS line
  38 # 3. add -lslp in the LDLIBS line
  39 #
  40 
  41 ROOTLDAPLIB=    $(ROOT)/usr/lib/ldap
  42 ROOTLDAPPROG=   $(PROG:%=$(ROOTLDAPLIB)/%)
  43 
  44 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKLDAP)
  45 
  46 OBJS=   cachemgr.o cachemgr_getldap.o cachemgr_parse.o cachemgr_change.o
  47 
  48 SRCS=   ${OBJS:%.o=%.c}
  49 
  50 CPPFLAGS +=     -D_REENTRANT -DSUN_THREADS \
  51                 -I$(SRC)/lib/libsldap/common \
  52                 -I$(SRC)/lib/libldap5/include/ldap \
  53                 -I$(SRC)/lib/libc/port/gen
  54 
  55 CERRWARN +=     -_gcc=-Wno-parentheses
  56 CERRWARN +=     -_gcc=-Wno-switch
  57 CERRWARN +=     -_gcc=-Wno-uninitialized
  58 
  59 # not linted
  60 SMATCH=off
  61 
  62 # Message files
  63 POFILE=         ldap_cachemgr.po
  64 POFILES=        ${OBJS:%.o=%.po}
  65 
  66 LINTOUT=        lint.out
  67 
  68 # TCOV_FLAG=    -ql
  69 
  70 LDLIBS +=       -lumem -lsldap
  71 
  72 # install macros and rule
  73 #
  74 
  75 .KEEP_STATE:
  76 
  77 clean := TARGET= clean




  37 # 2. add cachemgr_discovery.o to the OBJS line
  38 # 3. add -lslp in the LDLIBS line
  39 #
  40 
  41 ROOTLDAPLIB=    $(ROOT)/usr/lib/ldap
  42 ROOTLDAPPROG=   $(PROG:%=$(ROOTLDAPLIB)/%)
  43 
  44 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKLDAP)
  45 
  46 OBJS=   cachemgr.o cachemgr_getldap.o cachemgr_parse.o cachemgr_change.o
  47 
  48 SRCS=   ${OBJS:%.o=%.c}
  49 
  50 CPPFLAGS +=     -D_REENTRANT -DSUN_THREADS \
  51                 -I$(SRC)/lib/libsldap/common \
  52                 -I$(SRC)/lib/libldap5/include/ldap \
  53                 -I$(SRC)/lib/libc/port/gen
  54 
  55 CERRWARN +=     -_gcc=-Wno-parentheses
  56 CERRWARN +=     -_gcc=-Wno-switch
  57 CERRWARN +=     $(CNOWARN_UNINIT)
  58 
  59 # not linted
  60 SMATCH=off
  61 
  62 # Message files
  63 POFILE=         ldap_cachemgr.po
  64 POFILES=        ${OBJS:%.o=%.po}
  65 
  66 LINTOUT=        lint.out
  67 
  68 # TCOV_FLAG=    -ql
  69 
  70 LDLIBS +=       -lumem -lsldap
  71 
  72 # install macros and rule
  73 #
  74 
  75 .KEEP_STATE:
  76 
  77 clean := TARGET= clean