blob: 018c67e51e168ac08adfbec3a8231dae7b92e7d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
PRJ=.
PRJNAME=openldap
TARGET=so_openldap
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(SYSTEM_OPENLDAP)" == "YES"
all:
@echo "An already available installation of openldap should exist on your system."
@echo "Therefore the version provided here does not need to be built in addition."
.ENDIF
.IF "$(OS)"=="WNT"
all:
@echo "Openldap is not needed on Windows."
.ENDIF
# --- Files --------------------------------------------------------
TARFILE_NAME=openldap-2.4.31
TARFILE_MD5=804c6cb5698db30b75ad0ff1c25baefd
PATCH_FILES=\
$(TARFILE_NAME).patch
CONFIGURE_DIR=
CONFIGURE_ACTION=.$/configure
CONFIGURE_FLAGS=--disable-slapd --with-pic --with-tls=moznss --without-cyrus-sasl --disable-shared --enable-static
.IF "$(SYSTEM_NSS)" == "YES"
CONFIGURE_FLAGS+=CPPFLAGS="$(NSS_CFLAGS)" CFLAGS="$(NSS_CFLAGS)" LDFLAGS="$(NSS_LIBS)"
.ELSE
CONFIGURE_FLAGS+=CPPFLAGS="-I $(SOLARVER)$/$(INPATH)$/inc$/mozilla$/nss -I $(SOLARVER)$/$(INPATH)$/inc$/mozilla$/nspr"
CONFIGURE_FLAGS+=CFLAGS="-I $(SOLARVER)$/$(INPATH)$/inc$/mozilla$/nss -I $(SOLARVER)$/$(INPATH)$/inc$/mozilla$/nspr"
CONFIGURE_FLAGS+=LDFLAGS="-L$(SOLARVER)$/$(INPATH)$/lib"
.ENDIF
BUILD_FLAGS+= -j$(EXTMAXPROCESS)
BUILD_DIR=$(CONFIGURE_DIR)
BUILD_ACTION=$(GNUMAKE)
OUT2INC+=include$/slapi-plugin.h
OUT2INC+=include$/ldap_utf8.h
OUT2INC+=include$/ldap.h
OUT2INC+=include$/ldap_cdefs.h
OUT2INC+=include$/ldap_features.h
OUT2INC+=include$/ldap_schema.h
OUT2INC+=include$/ldif.h
OUT2INC+=include$/lber_types.h
OUT2INC+=include$/lber.h
OUT2LIB+=libraries$/libldap$/.libs$/libldap.a
OUT2LIB+=libraries$/libldap_r$/.libs$/libldap_r.a
OUT2LIB+=libraries$/liblber$/.libs$/liblber.a
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
.INCLUDE : target.mk
.INCLUDE : tg_ext.mk
|