diff --git a/src/libuafs/MakefileProto.OBSD.in b/src/libuafs/MakefileProto.OBSD.in new file mode 100644 index 0000000000..200d829b39 --- /dev/null +++ b/src/libuafs/MakefileProto.OBSD.in @@ -0,0 +1,44 @@ +# Copyright 2000, International Business Machines Corporation and others. +# All Rights Reserved. +# +# This software has been released under the terms of the IBM Public +# License. For details, see the LICENSE file in the top-level source +# directory or online at http://www.openafs.org/dl/license10.html +# +srcdir=@srcdir@ +include @TOP_OBJDIR@/src/config/Makefile.config + + +# System specific build commands and flags +CC = gcc +DEFINES= -DKERNEL -DUKERNEL +KOPTS= +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +OPTF=-O + +TEST_CFLAGS= -DAFS_OBSD_ENV +TEST_LDFLAGS= +TEST_LIBS= + +LIBUAFS = libuafs.a +LIBJUAFS = libjuafs.a +LIBAFSWEB = nsafs.so +LIBAFSWEBKRB = nsafs.krb.so + +include Makefile.common + +$(LIBUAFS): $(UAFSOBJ) + -$(RM) -f $(LIBUAFS) + $(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ) + +$(LIBJUAFS): $(JUAFSOBJ) + -$(RM) -f $(LIBJUAFS) + $(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ) + +$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a + -$(RM) -f $(LIBAFSWEB) + ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS) + +$(LIBAFSWEBKRB): $(AFSWEBOBJKRB) ${DES}/libdes.a + -$(RM) -f $(LIBAFSWEBKRB) + ld -b $(LIBAFSWEBKRB) $(AFSWEBOBJKRB) ${DES}/libdes.a $(WEBLIBS)