]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/Makefile.in
meaningful message in case max_incomingis hit
[openldap] / libraries / liblber / Makefile.in
index 3c087ae1f568110eb4f02fae9349eba6941bfd03..a5764cf78921d4175fa5d84bda2c56c5e6e69dd4 100644 (file)
@@ -1,5 +1,5 @@
 # $OpenLDAP$
-## Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
 ##
 ## LIBLBER
@@ -11,6 +11,8 @@ XLIBRARY = ../liblber.a
 NT_SRCS = nt_err.c
 NT_OBJS = nt_err.lo
 
+LIB_DEFS = -DLBER_LIBRARY
+
 SRCS= assert.c decode.c encode.c io.c bprint.c \
        memory.c options.c sockbuf.c $(@PLAT@_SRCS)
 OBJS= assert.lo decode.lo encode.lo io.lo bprint.lo \
@@ -24,24 +26,14 @@ LDAP_LIBDIR= ../../libraries
 
 XLIBS = -llber
 XXLIBS = 
-
-LINKAGE = @LT_LIB_LINKAGE@
-
-NT_DYN_TEST_DEFS = -DLIBLBER_DECL=dllimport
-
-# Extras for building the library
-EXTRA_DEFS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
-EXTRA_LIBS =
-
-# Only the test programs will pick up these defs.
-CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_TEST_DEFS)
+NT_LINK_LIBS = $(AC_LIBS)
 
 dtest:    $(LIBRARY) dtest.o
-       $(LTLINK) $(LDFLAGS) -o $@ dtest.o $(LIBS)
+       $(LTLINK) -o $@ dtest.o $(LIBS)
 etest:  $(LIBRARY) etest.o
-       $(LTLINK) $(LDFLAGS) -o $@ etest.o $(LIBS)
+       $(LTLINK) -o $@ etest.o $(LIBS)
 idtest:  $(LIBRARY) idtest.o
-       $(LTLINK) $(LDFLAGS) -o $@ idtest.o $(LIBS)
+       $(LTLINK) -o $@ idtest.o $(LIBS)
 
 install-local: FORCE
        -$(MKDIR) $(DESTDIR)$(libdir)