From: Kurt Zeilenga Date: Fri, 14 Aug 1998 23:56:23 +0000 (+0000) Subject: Add Make-platform for SunOS 5.6 to handle thread lib differences X-Git-Tag: LDAP_3_3+prerelease~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4b23e633b15c909252f99b6f1f33f531d695424c;p=openldap Add Make-platform for SunOS 5.6 to handle thread lib differences --- diff --git a/build/platforms/sunos56-cc/Make-platform b/build/platforms/sunos56-cc/Make-platform new file mode 100644 index 0000000000..8e88e751f3 --- /dev/null +++ b/build/platforms/sunos56-cc/Make-platform @@ -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 diff --git a/build/platforms/sunos56-gcc/Make-platform b/build/platforms/sunos56-gcc/Make-platform new file mode 100644 index 0000000000..5f0d80aa2a --- /dev/null +++ b/build/platforms/sunos56-gcc/Make-platform @@ -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