mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Add Make-platform for SunOS 5.6 to handle thread lib differences
This commit is contained in:
parent
3a431b77ef
commit
4b23e633b1
2 changed files with 57 additions and 0 deletions
29
build/platforms/sunos56-cc/Make-platform
Normal file
29
build/platforms/sunos56-cc/Make-platform
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#
|
||||||
|
# LDAP SunOS5 standard cc Make-platform file
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# add any platform-specific overrides below here
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# you will probably not need to edit anything below this point
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# ranlib not needed under SunOS5
|
||||||
|
RANLIB = ""
|
||||||
|
|
||||||
|
# be explicit about which CC to use
|
||||||
|
CC=cc
|
||||||
|
|
||||||
|
# give full path to hostname since it may not be in user's path
|
||||||
|
HOSTNAME=/bin/hostname
|
||||||
|
|
||||||
|
# don't count on /usr/ucb/install being present or first in path
|
||||||
|
INSTALL=$(LDAPSRC)/build/install.sh
|
||||||
|
|
||||||
|
PLATFORMCFLAGS= -Dsunos5 -D__SunOS_5_6 -D_REENTRANT
|
||||||
|
PLATFORMLIBS= -lsocket -lnsl -lgen
|
||||||
|
THREADS= -DTHREAD_SUNOS5_LWP
|
||||||
|
THREADSLIB=-lthread
|
||||||
28
build/platforms/sunos56-gcc/Make-platform
Normal file
28
build/platforms/sunos56-gcc/Make-platform
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
#
|
||||||
|
# LDAP SunOS5 GNU C Make-platform file
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# add any platform-specific overrides below here
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# you will probably not need to edit anything below this point
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
CC = gcc
|
||||||
|
|
||||||
|
# ranlib not needed under SunOS5
|
||||||
|
RANLIB = ""
|
||||||
|
|
||||||
|
# give full path to hostname since it may not be in user's path
|
||||||
|
HOSTNAME=/bin/hostname
|
||||||
|
|
||||||
|
# don't count on /usr/ucb/install being present or first in path
|
||||||
|
INSTALL=$(LDAPSRC)/build/install.sh
|
||||||
|
|
||||||
|
PLATFORMCFLAGS= -Dsunos5 -D__SunOS_5_6 -D_REENTRANT
|
||||||
|
PLATFORMLIBS= -lsocket -lnsl -lgen
|
||||||
|
THREADS= -DTHREAD_SUNOS5_LWP
|
||||||
|
THREADSLIB=-lthread
|
||||||
Loading…
Reference in a new issue