mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
f999e1350d
by portable.h with NDEBUG undefined. This makes assert() is always available and automatically disables itself when LDAP_DEBUG is undefined. I've included a basic assert() for pre-STDC compilers. It relies on abort() which may not actually be available. (well replace abort() with whatever is appropriate if and when we're faced with a pre-STDC compiler that doesn't have assert()).
33 lines
789 B
Makefile
33 lines
789 B
Makefile
## Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
##
|
|
## LIBLBER
|
|
##
|
|
|
|
LIBRARY = liblber.la
|
|
XLIBRARY = ../liblber.a
|
|
|
|
SRCS= assert.c decode.c encode.c io.c bprint.c options.c sockbuf.c
|
|
OBJS= assert.lo decode.lo encode.lo io.lo bprint.lo options.lo sockbuf.lo
|
|
XSRCS= version.c
|
|
|
|
PROGRAMS= dtest etest idtest
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -llber
|
|
XXLIBS =
|
|
|
|
dtest: $(LIBRARY) dtest.o
|
|
$(LTLINK) $(LDFLAGS) -o $@ dtest.o $(LIBS)
|
|
etest: $(LIBRARY) etest.o
|
|
$(LTLINK) $(LDFLAGS) -o $@ etest.o $(LIBS)
|
|
idtest: $(LIBRARY) idtest.o
|
|
$(LTLINK) $(LDFLAGS) -o $@ idtest.o $(LIBS)
|
|
|
|
install-local: FORCE
|
|
-$(MKDIR) $(libdir)
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(libdir)
|
|
|