1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
9 include @TOP_OBJDIR@/src/config/Makefile.config
12 # System specific build commands and flags
14 DEFINES= -DKERNEL -DUKERNEL
16 CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG}
19 TEST_CFLAGS= -DAFS_NBSD_ENV
26 LIBAFSWEBKRB = nsafs.krb.so
28 include Makefile.common
30 $(LIBUAFS): $(UAFSOBJ)
32 $(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
34 $(LIBJUAFS): $(JUAFSOBJ)
36 $(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
38 $(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
39 -$(RM) -f $(LIBAFSWEB)
40 ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
42 $(LIBAFSWEBKRB): $(AFSWEBOBJKRB) ${DES}/libdes.a
43 -$(RM) -f $(LIBAFSWEBKRB)
44 ld -b $(LIBAFSWEBKRB) $(AFSWEBOBJKRB) ${DES}/libdes.a $(WEBLIBS)