74
75 # include library definitions
76 include $(SRC)/lib/krb5/Makefile.lib
77
78 SRCS= $(BTREE_OBJS:%.o=../btree/%.c) \
79 $(DB_OBJS:%.o=../db/%.c) \
80 $(HASH_OBJS:%.o=../hash/%.c) \
81 $(MPOOL_OBJS:%.o=../mpool/%.c) \
82 $(RECNO_OBJS:%.o=../recno/%.c)
83
84 LIBS= $(DYNLIB)
85
86 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
87
88 POFILE = $(LIBRARY:%.a=%.po)
89 POFILES = generic.po
90
91 #override liblink
92 INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
93
94 CPPFLAGS += -DHAVE_CONFIG_H \
95 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/mpool \
96 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/db \
97 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/hash \
98 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/btree \
99 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/recno \
100 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/include \
101 -I$(SRC)/lib/gss_mechs/mech_krb5/include #for db-ndbm.h
102
103 CFLAGS += $(CCVERBOSE) -I..
104 CERRWARN += -_gcc=-Wno-uninitialized
105 LDLIBS += -lc
106
107 # Identify that this library is an interposer (on dbm_ routines from libc.so.1).
108 # This identification insures runtime symbol lookup resolves to this library
109 # (before libc.so.1) regardless of dependency link order.
110 DYNFLAGS += $(ZINTERPOSE)
111
112 .KEEP_STATE:
113
114 all: $(LIBS)
|
74
75 # include library definitions
76 include $(SRC)/lib/krb5/Makefile.lib
77
78 SRCS= $(BTREE_OBJS:%.o=../btree/%.c) \
79 $(DB_OBJS:%.o=../db/%.c) \
80 $(HASH_OBJS:%.o=../hash/%.c) \
81 $(MPOOL_OBJS:%.o=../mpool/%.c) \
82 $(RECNO_OBJS:%.o=../recno/%.c)
83
84 LIBS= $(DYNLIB)
85
86 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
87
88 POFILE = $(LIBRARY:%.a=%.po)
89 POFILES = generic.po
90
91 #override liblink
92 INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
93
94 # We need to ensure we find our own libdb2, not any that happen to be on the system
95 CPPFLAGS.first += -DHAVE_CONFIG_H \
96 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/mpool \
97 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/db \
98 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/hash \
99 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/btree \
100 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/recno \
101 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/include \
102 -I$(SRC)/lib/gss_mechs/mech_krb5/include #for db-ndbm.h
103
104 CFLAGS += $(CCVERBOSE) -I..
105 CERRWARN += -_gcc=-Wno-uninitialized
106 LDLIBS += -lc
107
108 # Identify that this library is an interposer (on dbm_ routines from libc.so.1).
109 # This identification insures runtime symbol lookup resolves to this library
110 # (before libc.so.1) regardless of dependency link order.
111 DYNFLAGS += $(ZINTERPOSE)
112
113 .KEEP_STATE:
114
115 all: $(LIBS)
|