mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
9ef1a740c2
macros into our namespace and limit use to headers. A subsequent round will add macros to separately handle forward declarations of variables from declaration of function prototypes. The last round will add additional macros for declaring actual variables and functions.
25 lines
505 B
Makefile
25 lines
505 B
Makefile
# $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
|
|
|
|
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)
|
|
|