]> git.sur5r.net Git - openldap/commitdiff
Add Make-platform for SunOS 5.6 to handle thread lib differences
authorKurt Zeilenga <kurt@openldap.org>
Fri, 14 Aug 1998 23:56:23 +0000 (23:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 14 Aug 1998 23:56:23 +0000 (23:56 +0000)
build/platforms/sunos56-cc/Make-platform [new file with mode: 0644]
build/platforms/sunos56-gcc/Make-platform [new file with mode: 0644]

diff --git a/build/platforms/sunos56-cc/Make-platform b/build/platforms/sunos56-cc/Make-platform
new file mode 100644 (file)
index 0000000..8e88e75
--- /dev/null
@@ -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 (file)
index 0000000..5f0d80a
--- /dev/null
@@ -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