2 ## Copyright 1998 The OpenLDAP Foundation
3 ## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
4 ## of this package for details.
12 top_builddir = @top_builddir@
15 top_srcdir = @top_srcdir@
18 exec_prefix = @exec_prefix@
20 ldap_subdir = @ldap_subdir@
22 datadir = @datadir@/$(ldap_subdir)
23 includedir = @includedir@
26 libexecdir = @libexecdir@
27 localstatedir = @localstatedir@
30 sharedstatedir = @sharedstatedir@
31 sysconfdir = @sysconfdir@/$(ldap_subdir)
34 INSTALL_PROGRAM = @INSTALL_PROGRAM@
35 INSTALL_DATA = @INSTALL_DATA@
36 INSTALL_SCRIPT = @INSTALL_SCRIPT@
48 MKDEP = $(top_srcdir)/build/mkdep $(MKDEPFLAG) -c "$(CC)"
52 LTLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LFLAGS)
53 LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
55 # Misc UNIX commands used in makefiles
65 # Misc UNIX commands used in programs
71 # MANCOMPRESS=@MANCOMPRESS@
72 # MANCOMPRESSSUFFIX=@MANCOMPRESSSUFFIX@
77 VERSIONFILE = $(top_srcdir)/build/version
79 INCLUDEDIR= $(top_srcdir)/include
80 LDAP_INCPATH= -I$(LDAP_INCDIR) -I$(INCLUDEDIR)
81 LDAP_LIBADIR= $(top_builddir)/libraries
82 LDAP_LIBPATH= -L$(LDAP_LIBADIR)
84 LDAP_LIBLBER = $(LDAP_LIBADIR)/liblber/liblber.la
85 LDAP_LIBLDAP = $(LDAP_LIBADIR)/libldap/libldap.la
87 LDAP_LIBLBER_DEPEND = $(LDAP_LIBDIR)/liblber/liblber.la
88 LDAP_LIBLDAP_DEPEND = $(LDAP_LIBDIR)/libldap/libldap.la
90 LDAP_LIBS = $(LDAP_LIBPATH) -lldif $(LDAP_LIBLDAP) $(LDAP_LIBLBER)
91 LDAP_LIBDEPEND = $(LDAP_LIBDIR)/libldif.a $(LDAP_LIBLDAP) $(LDAP_LIBLBER)
93 # AutoConfig generated
95 AC_DEFS = @CPPFLAGS@ @DEFS@
96 AC_LIBS = @LDFLAGS@ @LIBS@
100 KRB_LIBS = @KRB_LIBS@
101 TERMCAP_LIBS = @TERMCAP_LIBS@
105 DEFS = $(LDAP_INCPATH) $(XINCPATH) $(XDEFS) $(AC_DEFS)
106 LIBS = $(LDAP_LIBS) $(XLIBS) $(AC_LIBS)
108 CFLAGS = $(AC_CFLAGS) $(DEFS) $(DEFINES)
109 LDFLAGS = $(AC_LDFLAGS)
111 all: all-common all-local FORCE
112 install: install-common install-local FORCE
113 clean: clean-common clean-local FORCE
114 veryclean: veryclean-common veryclean-local FORCE
115 depend: depend-common depend-local FORCE
121 veryclean-common: clean-common FORCE
130 veryclean-local: clean-local FORCE
139 Makefile: Makefile.in $(top_srcdir)/build/top.mk
141 # empty rule for forcing rules
144 ##---------------------------------------------------------------------------