From a885327f74fc97244900eb2f59a29dca7e8ee120 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Wed, 19 Sep 2001 23:46:43 +0000 Subject: [PATCH] STABLE12-openbsd-nits-20010919 arrange for "make" to complete on openbsd (from devel branch) (cherry picked from commit bdfa7364be16746448d9149579de6b635ff1390e) --- Makefile.in | 2 +- src/config/Makefile.i386_obsd29.in | 39 ++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 src/config/Makefile.i386_obsd29.in diff --git a/Makefile.in b/Makefile.in index 8498c0339..37ddfb1bc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 index 000000000..1682fe4f5 --- /dev/null +++ b/src/config/Makefile.i386_obsd29.in @@ -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 -- 2.39.5