+# $OpenLDAP$
+## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
##
## Makefile for -lldbm
##
LIBRARY = libldbm.a
-XPROGRAMS = testldbm
SRCS = ldbm.c
OBJS = ldbm.o
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
-XLIBS = @LDBM_LIBS@ -lavl
+NT_DYN_LIB_DEFS = -DLDAP_DECL=dllimport
+CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
+
+XLIBS = -lldbm -lavl
+XXLIBS = $(LDBM_LIBS)
-testldbm: libldbm.a testldbm.o
- $(CC) $(LDFLAGS) -o $@ testldbm.o $(LIBS)