No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / openldap / dist / libraries / liblber / Makefile.in
blob5ac3de49e57ebb24834d1c2aaeb7ac8cca05778f
1 # LIBLBER
2 # $OpenLDAP: pkg/ldap/libraries/liblber/Makefile.in,v 1.37.2.4 2008/02/11 23:26:41 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 LIBRARY = liblber.la
18 NT_SRCS = nt_err.c
19 NT_OBJS = nt_err.lo
21 UNIX_SRCS = stdio.c
22 UNIX_OBJS = stdio.lo
24 LIB_DEFS = -DLBER_LIBRARY
26 SRCS= assert.c decode.c encode.c io.c bprint.c debug.c \
27 memory.c options.c sockbuf.c $(@PLAT@_SRCS)
28 OBJS= assert.lo decode.lo encode.lo io.lo bprint.lo debug.lo \
29 memory.lo options.lo sockbuf.lo $(@PLAT@_OBJS)
30 XSRCS= version.c
32 PROGRAMS= dtest etest idtest
34 LDAP_INCDIR= ../../include
35 LDAP_LIBDIR= ../../libraries
37 XLIBS = $(LIBRARY) $(LDAP_LIBLUTIL_A)
38 XXLIBS =
39 NT_LINK_LIBS = $(AC_LIBS)
40 UNIX_LINK_LIBS = $(AC_LIBS)
42 dtest: $(XLIBS) dtest.o
43 $(LTLINK) -o $@ dtest.o $(LIBS)
44 etest: $(XLIBS) etest.o
45 $(LTLINK) -o $@ etest.o $(LIBS)
46 idtest: $(XLIBS) idtest.o
47 $(LTLINK) -o $@ idtest.o $(LIBS)
49 install-local: FORCE
50 -$(MKDIR) $(DESTDIR)$(libdir)
51 $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir)
52 $(LTFINISH) $(DESTDIR)$(libdir)