]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-openbsd-nits-20010919
authorJim Rees <rees@umich.edu>
Wed, 19 Sep 2001 23:46:43 +0000 (23:46 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 19 Sep 2001 23:46:43 +0000 (23:46 +0000)
arrange for "make" to complete on openbsd (from devel branch)

(cherry picked from commit bdfa7364be16746448d9149579de6b635ff1390e)

Makefile.in
src/config/Makefile.i386_obsd29.in [new file with mode: 0644]

index 8498c0339b51cd478db8ff6281db78eba46255d1..37ddfb1bc3124569489f394cf836c13365371a22 100644 (file)
@@ -292,7 +292,7 @@ bozo: project ntp audit
 vfsck: vol
        set -x; \
        case ${SYS_NAME} in \
-       sgi_* | *linux* | rs_aix42 | ppc_darwin* | hp_ux* | *fbsd* ) \
+       sgi_* | *linux* | rs_aix42 | ppc_darwin* | hp_ux* | *fbsd* | *_obsd* ) \
                echo skip vfsck for ${SYS_NAME} ;; \
         * ) \
                ${COMPILE_PART1} vfsck ${COMPILE_PART2} ;; \
diff --git a/src/config/Makefile.i386_obsd29.in b/src/config/Makefile.i386_obsd29.in
new file mode 100644 (file)
index 0000000..1682fe4
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1998 Transarc Corporation 
+#
+# AFS_OSTYPE used to indicate suffixes and os specific subdirectories.
+AFS_OSTYPE = OBSD
+
+#
+# compilation and link editor flags
+DBG=-g
+OPTMZ=-O2
+PAM_CFLAGS = -O2 -pipe -fpic
+# Put -O2 here to _ensure_ all Makefiles pick it up.
+XCFLAGS= -O2
+MT_CFLAGS=-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}
+XLDFLAGS=
+SHARE_LDFLAGS = -shared -Xlinker -x
+SHLIB_SUFFIX=so
+SHLIB_CFLAGS= -fpic
+#
+# libraries
+MTLIBS=-pthread
+TXLIBS= /usr/lib/libcurses.a
+XLIBS=@LIB_AFSDB@ -lcompat
+
+#
+# programs
+AR=ar
+AS=as
+CP=cp
+INSTALL=${TOP_SRCDIR}/pinstall/pinstall
+LD=ld   
+MT_CC=cc
+MV=mv
+RANLIB=ranlib
+RM=rm
+#
+# Other OS specific requirements
+#
+YACC =yacc
+LEX =flex -l