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@
15 # System specific build commands and flags
16 DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
17 CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} $(XCFLAGS)
20 TEST_CFLAGS=-mt -DAFS_PTHREAD_ENV -Dsolaris -DAFS_SUN5_ENV $(XCFLAGS)
22 TEST_LIBS=-lsocket -lnsl -lthread -lm -ldl
27 include Makefile.common
29 $(LIBUAFS): $(UAFSOBJ)
31 $(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
33 libuafs_pic.a: $(PICUAFSOBJ)
34 -$(RM) -f libuafs_pic.a
35 $(AR) $(ARFLAGS) libuafs_pic.a $(PICUAFSOBJ)
37 $(LIBJUAFS): $(JUAFSOBJ)
39 $(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)