From 4b23e633b15c909252f99b6f1f33f531d695424c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 14 Aug 1998 23:56:23 +0000 Subject: [PATCH] Add Make-platform for SunOS 5.6 to handle thread lib differences --- build/platforms/sunos56-cc/Make-platform | 29 +++++++++++++++++++++++ build/platforms/sunos56-gcc/Make-platform | 28 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 build/platforms/sunos56-cc/Make-platform create mode 100644 build/platforms/sunos56-gcc/Make-platform 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 -- 2.39.5