X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblber%2FMakefile.in;h=068a7aa02421e2cca6e7932348db46d990ca052b;hb=5f28673792d67dbd5b9636cf6cda4eb72432712a;hp=3c087ae1f568110eb4f02fae9349eba6941bfd03;hpb=3dc83998c0f4c58d4683dab316d72a2efcf0a58f;p=openldap diff --git a/libraries/liblber/Makefile.in b/libraries/liblber/Makefile.in index 3c087ae1f5..068a7aa024 100644 --- a/libraries/liblber/Makefile.in +++ b/libraries/liblber/Makefile.in @@ -1,5 +1,5 @@ # $OpenLDAP$ -## Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. +## Copyright 1998-2000 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)