Skip to content
Snippets Groups Projects
Forked from openldap / OpenLDAP
24402 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
top.mk 1.66 KiB
##
## Copyright 1998 Net Boolean Incorporated
##
@SET_MAKE@

SHELL = /bin/sh

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@

LN = ln
LN_S = @LN_S@
RM = rm -f
MAKEINFO = @MAKEINFO@
RANLIB = @RANLIB@
AR = ar

LINT = lint
5LINT = 5lint
MKDEP = mkdep

# Misc UNIX commands used in makefiles
SED = sed
DATE = date
HOSTNAME = uname -n
BASENAME = basename
PWD = pwd
CAT = cat
MKDIR = mkdir

VERSIONFILE = $(top_srcdir)/build/version

INCLUDEDIR = -I$(top_srcdir)/include $(XINCLUDEDIR)

LDAP_LIBDIR = $(top_srcdir)/libraries
LDAP_LIBS = -lldap -llber -lldif
LDAP_LIBDEPEND = $(LDAP_LIBDIR)/libldap.a

# AutoConfig generated 
AC_CC	= @CC@
AC_DEFS = @DEFS@ @LDAP_DEFS@
AC_LIBS = @LIBS@
AC_CFLAGS = @CFLAGS@
AC_LDFLAGS = @LDFLAGS@

LIBCRYPT = @LIBCRYPT@
LIBTERMCAP = @LIBTERMCAP@
LIBDB = @LIBDB@

# Our Defaults
CC = $(AC_CC)
DEFS = $(AC_DEFS) $(INCLUDEDIR) $(LDAP_DEFS)
LIBS = -L$(LDAP_LIBDIR) $(LDAP_LIBS) $(XLIBS) $(AC_LIBS)

CFLAGS = $(AC_CFLAGS) $(DEFS) $(DEFINES)
LDFLAGS = $(AC_LDFLAGS)

default:	all

Makefile: Makefile.in ${top_srcdir}/config.status
	@if [ $(top_srcdir) = $(srcdir) ]; then ; \
		./config.status	; \
	else ; \
		echo "Makefile out of date, run config.status from $top_srcdir" ; \
		exit 1 ; \
	fi

# empty rule for forcing rules
FORCE: