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
11 INSTALL_DATA = @INSTALL_DATA@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
16 # System specific build commands and flags
18 DEFINES= -DKERNEL -DUKERNEL
20 CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} $(XCFLAGS)
23 TEST_CFLAGS= -DAFS_NBSD_ENV $(XCFLAGS)
30 LIBAFSWEBKRB = nsafs.krb.so
32 include Makefile.common
34 $(LIBUAFS): $(UAFSOBJ)
36 $(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
38 libuafs_pic.a: $(PICUAFSOBJ)
39 -$(RM) -f libuafs_pic.a
40 $(AR) $(ARFLAGS) libuafs_pic.a $(PICUAFSOBJ)
42 $(LIBJUAFS): $(JUAFSOBJ)
44 $(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
46 $(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
47 -$(RM) -f $(LIBAFSWEB)
48 ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
50 $(LIBAFSWEBKRB): $(AFSWEBOBJKRB) ${DES}/libdes.a
51 -$(RM) -f $(LIBAFSWEBKRB)
52 ld -b $(LIBAFSWEBKRB) $(AFSWEBOBJKRB) ${DES}/libdes.a $(WEBLIBS)