X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Ftop.mk;h=14e291e7eabb436fb971d63b68daef8f66208f2b;hb=f2958fe7ef5185f879aab3fd057717733f9635b3;hp=154be9dd814e69d5b8c8350597fd6caf3f631d09;hpb=7e2fe5babe644212781786c1a1eb63cebef0169d;p=openldap diff --git a/build/top.mk b/build/top.mk index 154be9dd81..14e291e7ea 100644 --- a/build/top.mk +++ b/build/top.mk @@ -1,5 +1,7 @@ # $OpenLDAP$ -## Copyright 1998-2004 The OpenLDAP Foundation. +## This work is part of OpenLDAP Software . +## +## Copyright 1998-2012 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -30,6 +32,7 @@ exec_prefix = @exec_prefix@ ldap_subdir = @ldap_subdir@ bindir = @bindir@ +datarootdir = @datarootdir@ datadir = @datadir@$(ldap_subdir) includedir = @includedir@ infodir = @infodir@ @@ -56,6 +59,8 @@ INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) -m 644 INSTALL_SCRIPT = $(INSTALL) +STRIP = -s + LINT = lint 5LINT = 5lint @@ -77,9 +82,9 @@ LTONLY_LIB = $(@PLAT@_LTONLY_LIB) # libtool --only flag for modules: depends on linkage of module # The BUILD_MOD macro is defined in each backend Makefile.in file -LTONLY_yes = static -LTONLY_mod = shared -LTONLY_MOD = # --only-$(BUILD_MOD) +LTONLY_yes = --tag=disable-shared +LTONLY_mod = --tag=disable-static +LTONLY_MOD = $(LTONLY_$(BUILD_MOD)) # platform-specific libtool flags NT_LTFLAGS_LIB = -no-undefined -avoid-version -rpath $(libdir) @@ -137,6 +142,7 @@ PWD = pwd RANLIB = @RANLIB@ RM = rm -f SED = sed +SUBST = $(SHTOOL) subst # For manual pages # MANCOMPRESS=@MANCOMPRESS@ @@ -144,14 +150,18 @@ SED = sed MANCOMPRESS=$(CAT) MANCOMPRESSSUFFIX= +SOELIM=soelim + INCLUDEDIR= $(top_srcdir)/include LDAP_INCPATH= -I$(LDAP_INCDIR) -I$(INCLUDEDIR) LDAP_LIBDIR= $(top_builddir)/libraries LUTIL_LIBS = @LUTIL_LIBS@ -LDBM_LIBS = @LDBM_LIBS@ LTHREAD_LIBS = @LTHREAD_LIBS@ +BDB_LIBS = @BDB_LIBS@ +SLAPD_NDB_LIBS = @SLAPD_NDB_LIBS@ + LDAP_LIBLBER_LA = $(LDAP_LIBDIR)/liblber/liblber.la LDAP_LIBLDAP_LA = $(LDAP_LIBDIR)/libldap/libldap.la LDAP_LIBLDAP_R_LA = $(LDAP_LIBDIR)/libldap_r/libldap_r.la @@ -162,10 +172,8 @@ LDAP_LIBLUTIL_A = $(LDAP_LIBDIR)/liblutil/liblutil.a LDAP_L = $(LDAP_LIBLUTIL_A) \ $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) -SLURPD_L = $(LDAP_LIBLUTIL_A) \ - $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA) SLAPD_L = $(LDAP_LIBLUNICODE_A) $(LDAP_LIBREWRITE_A) \ - $(SLURPD_L) + $(LDAP_LIBLUTIL_A) $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA) WRAP_LIBS = @WRAP_LIBS@ # AutoConfig generated @@ -182,6 +190,7 @@ SASL_LIBS = @SASL_LIBS@ TLS_LIBS = @TLS_LIBS@ AUTH_LIBS = @AUTH_LIBS@ SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(TLS_LIBS) $(AUTH_LIBS) +ICU_LIBS = @ICU_LIBS@ MODULES_CPPFLAGS = @SLAPD_MODULES_CPPFLAGS@ MODULES_LDFLAGS = @SLAPD_MODULES_LDFLAGS@ @@ -192,8 +201,7 @@ SLAPD_SQL_LDFLAGS = @SLAPD_SQL_LDFLAGS@ SLAPD_SQL_INCLUDES = @SLAPD_SQL_INCLUDES@ SLAPD_SQL_LIBS = @SLAPD_SQL_LIBS@ -SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ -SLURPD_LIBS = @SLURPD_LIBS@ +SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@ $(ICU_LIBS) # Our Defaults CC = $(AC_CC)