add hooks for ndbm_wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10988 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -16,6 +16,12 @@ lib_LTLIBRARIES = libotp.la
|
||||
libotp_la_LDFLAGS = -version-info 1:3:1
|
||||
libotp_la_LIBADD = $(LIB_des) $(LIB_roken) $(LIB_NDBM)
|
||||
|
||||
if HAVE_DB3
|
||||
ndbm_wrap = ndbm_wrap.c ndbm_wrap.h
|
||||
else
|
||||
ndbm_wrap =
|
||||
endif
|
||||
|
||||
libotp_la_SOURCES = \
|
||||
otp.c \
|
||||
otp_challenge.c \
|
||||
@@ -26,4 +32,13 @@ libotp_la_SOURCES = \
|
||||
otp_verify.c \
|
||||
otp_locl.h \
|
||||
otp_md.h \
|
||||
roken_rename.h
|
||||
roken_rename.h \
|
||||
$(ndbm_wrap)
|
||||
|
||||
$(libotp_la_OBJECTS): $(ndbm_wrap)
|
||||
|
||||
ndbm_wrap.c:
|
||||
$(LN_S) $(srcdir)/../roken/ndbm_wrap.c .
|
||||
ndbm_wrap.h:
|
||||
(echo '#define dbm_rename(X) __otp_ ## X'; cat $(srcdir)/../roken/ndbm_wrap.h) > ndbm_wrap.h
|
||||
|
||||
|
Reference in New Issue
Block a user