mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-15 08:37:48 -05:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
#
|
|
# LDAP FreeBSD GNU C Make-platform file
|
|
#
|
|
|
|
|
|
#
|
|
# add any platform-specific overrides below here
|
|
#
|
|
PREFIX?=/usr/local
|
|
INSTROOT=${PREFIX}
|
|
ETCDIR= $(INSTROOT)/etc/ldap
|
|
EXTRACFLAGS=-O -DLDAP_DEBUG
|
|
LDBMBACKEND=-DLDBM_USE_DBBTREE
|
|
LDBMINCLUDE=-I/usr/include
|
|
#
|
|
# LDAP has a problem with the idea of implicit vs. explicit yields
|
|
# in call conversion threading packages, like the MIT pthreads
|
|
# package. Rather than resolve this globally, I have marked the
|
|
# threading as "preeemptive", even though it is technically not.
|
|
#
|
|
# This means that the implicit-yield threading is topologically
|
|
# equivalent to preemptive threading.
|
|
#
|
|
THREADS= -D_THREAD_SAFE -DPOSIX_THREADS -DPTHREAD_PREEMPTIVE
|
|
THREADSLIB= -pthread
|
|
#THREADSLIB= -lc_r
|
|
|
|
# we need to link in the V3 library to get sigset()
|
|
PLATFORMLIBS= -lcrypt
|
|
|
|
#
|
|
# -------------------------------------------------------------------------
|
|
# you will probably not need to edit anything below this point
|
|
# -------------------------------------------------------------------------
|
|
CC = gcc
|
|
|
|
PLATFORMCFLAGS= -Dfreebsd
|
|
|