Print this page
NEX-5202 krb5 must make sure local db headers precede any possible system db headers
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>


  36         kdb_db2.o \
  37         kdb_xdr.o \
  38         pol_xdr.o
  39  
  40 OBJECTS= $(DB2_OBJS)
  41 
  42 # include library definitions
  43 include $(SRC)/lib/krb5/Makefile.lib
  44 
  45 LIBS=           $(DYNLIB)
  46 SRCS=   $(DB2_OBJS:%.o=../%.c)
  47 
  48 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  49 
  50 POFILE = $(LIBRARY:%.a=%.po)
  51 POFILES = generic.po
  52 
  53 #override liblink
  54 INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
  55 
  56 CPPFLAGS +=     -DHAVE_CONFIG_H -DHAVE_BT_RSEQ \

  57                 -I$(SRC)/cmd/krb5/iprop \
  58                 -I$(SRC)/lib/krb5 \
  59                 -I$(SRC)/lib/krb5/kdb \
  60                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  61                 -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
  62                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  63                 -I$(SRC)/uts/common/gssapi/include/ \
  64                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  65 
  66 CFLAGS +=       $(CCVERBOSE)
  67 CERRWARN +=     -_gcc=-Wno-unused-variable
  68 CERRWARN +=     -_gcc=-Wno-unused-function
  69 CERRWARN +=     -_gcc=-Wno-parentheses
  70 CERRWARN +=     -_gcc=-Wno-uninitialized
  71 
  72 DYNFLAGS +=     $(KRUNPATH) $(KERBRUNPATH) $(KMECHLIB)
  73 LDLIBS +=       -L $(ROOTLIBDIR) -ldb2 -lkdb -lkadm5srv -lc -lnsl
  74 
  75 .KEEP_STATE:
  76 


  36         kdb_db2.o \
  37         kdb_xdr.o \
  38         pol_xdr.o
  39  
  40 OBJECTS= $(DB2_OBJS)
  41 
  42 # include library definitions
  43 include $(SRC)/lib/krb5/Makefile.lib
  44 
  45 LIBS=           $(DYNLIB)
  46 SRCS=   $(DB2_OBJS:%.o=../%.c)
  47 
  48 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  49 
  50 POFILE = $(LIBRARY:%.a=%.po)
  51 POFILES = generic.po
  52 
  53 #override liblink
  54 INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
  55 
  56 # We need to ensure we find our own libdb2, not any that happen to be on the system
  57 CPPFLAGS.first += -DHAVE_CONFIG_H -DHAVE_BT_RSEQ \
  58                 -I$(SRC)/cmd/krb5/iprop \
  59                 -I$(SRC)/lib/krb5 \
  60                 -I$(SRC)/lib/krb5/kdb \
  61                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  62                 -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
  63                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  64                 -I$(SRC)/uts/common/gssapi/include/ \
  65                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  66 
  67 CFLAGS +=       $(CCVERBOSE)
  68 CERRWARN +=     -_gcc=-Wno-unused-variable
  69 CERRWARN +=     -_gcc=-Wno-unused-function
  70 CERRWARN +=     -_gcc=-Wno-parentheses
  71 CERRWARN +=     -_gcc=-Wno-uninitialized
  72 
  73 DYNFLAGS +=     $(KRUNPATH) $(KERBRUNPATH) $(KMECHLIB)
  74 LDLIBS +=       -L $(ROOTLIBDIR) -ldb2 -lkdb -lkadm5srv -lc -lnsl
  75 
  76 .KEEP_STATE:
  77