mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 08:23:35 -05:00
Updated to use libtool 1.2 (with FreeBSD3.0 a.out v. elf detection). Updated autoconf to 1.12 with sed patch (don't use stock 1.12). aclocal.m4 is built using automake's aclocal, v1.3. Updated mkdep to support libtool .lo files. Updated automake provided macros for TERMIOS, STRTOD, MKTIME, PTRDIFF_T Autoconf now checks to ensure C compiler supports ANSI C prototypes. Updated make files templates.
142 lines
3 KiB
Makefile
142 lines
3 KiB
Makefile
##
|
|
## Copyright 1998 The OpenLDAP Foundation
|
|
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
|
## of this package for details.
|
|
##
|
|
PACKAGE= @PACKAGE@
|
|
VERSION= @VERSION@
|
|
|
|
@SET_MAKE@
|
|
SHELL = /bin/sh
|
|
|
|
top_builddir = @top_builddir@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@/ldap
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
MV = mv
|
|
LN = ln
|
|
LN_S = @LN_S@
|
|
RM = rm -f
|
|
MAKEINFO = @MAKEINFO@
|
|
RANLIB = @RANLIB@
|
|
AR = ar
|
|
|
|
LINT = lint
|
|
5LINT = 5lint
|
|
MKDEP = $(top_srcdir)/build/mkdep $(MKDEPFLAG) -c "$(CC)"
|
|
|
|
LIBTOOL = @LIBTOOL@
|
|
LIBVERSION = 0:0:0
|
|
LTLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LFLAGS)
|
|
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
|
|
|
# Misc UNIX commands used in makefiles
|
|
SED = sed
|
|
DATE = date
|
|
HOSTNAME = uname -n
|
|
BASENAME = basename
|
|
PWD = pwd
|
|
CAT = cat
|
|
MKDIR = mkdir
|
|
CHMOD = chmod
|
|
|
|
# Misc UNIX commands used in programs
|
|
EDITOR = @EDITOR@
|
|
FINGER = @FINGER@
|
|
SENDMAIL = @SENDMAIL@
|
|
|
|
# For manual pages
|
|
# MANCOMPRESS=@MANCOMPRESS@
|
|
# MANCOMPRESSSUFFIX=@MANCOMPRESSSUFFIX@
|
|
MANCOMPRESS=$(CAT)
|
|
MANCOMPRESSSUFFIX=
|
|
|
|
# Version
|
|
VERSIONFILE = $(top_srcdir)/build/version
|
|
|
|
INCLUDEDIR= $(top_srcdir)/include
|
|
LDAP_INCPATH= -I$(LDAP_INCDIR) -I$(INCLUDEDIR)
|
|
LDAP_LIBADIR= $(top_builddir)/libraries
|
|
LDAP_LIBPATH= -L$(LDAP_LIBADIR)
|
|
|
|
LDAP_LIBLBER = $(LDAP_LIBADIR)/liblber/liblber.la
|
|
LDAP_LIBLDAP = $(LDAP_LIBADIR)/libldap/libldap.la
|
|
|
|
LDAP_LIBLBER_DEPEND = $(LDAP_LIBDIR)/liblber/liblber.la
|
|
LDAP_LIBLDAP_DEPEND = $(LDAP_LIBDIR)/libldap/libldap.la
|
|
|
|
LDAP_LIBS = $(LDAP_LIBPATH) -lldif $(LDAP_LIBLDAP) $(LDAP_LIBLBER)
|
|
LDAP_LIBDEPEND = $(LDAP_LIBDIR)/libldif.a $(LDAP_LIBLDAP) $(LDAP_LIBLBER)
|
|
|
|
# AutoConfig generated
|
|
AC_CC = @CC@
|
|
AC_DEFS = @CPPFLAGS@ @DEFS@
|
|
AC_LIBS = @LDFLAGS@ @LIBS@
|
|
AC_CFLAGS = @CFLAGS@
|
|
AC_LDFLAGS =
|
|
|
|
KRB_LIBS = @KRB_LIBS@
|
|
TERMCAP_LIBS = @TERMCAP_LIBS@
|
|
|
|
# Our Defaults
|
|
CC = $(AC_CC)
|
|
DEFS = $(LDAP_INCPATH) $(XINCPATH) $(XDEFS) $(AC_DEFS)
|
|
LIBS = $(LDAP_LIBS) $(XLIBS) $(AC_LIBS)
|
|
|
|
CFLAGS = $(AC_CFLAGS) $(DEFS) $(DEFINES)
|
|
LDFLAGS = $(AC_LDFLAGS)
|
|
|
|
all: all-common all-local FORCE
|
|
install: install-common install-local FORCE
|
|
clean: clean-common clean-local FORCE
|
|
veryclean: veryclean-common veryclean-local FORCE
|
|
depend: depend-common depend-local FORCE
|
|
|
|
# empty common rules
|
|
all-common:
|
|
install-common:
|
|
clean-common:
|
|
veryclean-common: clean-common FORCE
|
|
depend-common:
|
|
lint-common:
|
|
lint5-common:
|
|
|
|
# empty local rules
|
|
all-local:
|
|
install-local:
|
|
clean-local:
|
|
veryclean-local: clean-local FORCE
|
|
depend-local:
|
|
lint-local:
|
|
lint5-local:
|
|
|
|
veryclean: FORCE
|
|
$(RM) Makefile
|
|
|
|
Makefile: Makefile.in $(top_srcdir)/build/top.mk
|
|
|
|
# empty rule for forcing rules
|
|
FORCE:
|
|
|
|
##---------------------------------------------------------------------------
|