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 # MakefileProto for LINUX systems
17 # System specific build commands and flags
18 DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
20 SYS_NAME=@AFS_SYSNAME@
21 ifeq (${SYS_NAME}, ppc64_linux26)
26 CFLAGS+= -I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} $(XCFLAGS)
29 TEST_CFLAGS=-pthread -D_REENTRANT -DAFS_PTHREAD_ENV -DAFS_LINUX22_ENV $(XCFLAGS)
31 TEST_LIBS=-lpthread @LIB_crypt@
35 include Makefile.common
37 $(LIBUAFS): $(UAFSOBJ)
39 $(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
41 libuafs_pic.a: $(PICUAFSOBJ)
42 -$(RM) -f libuafs_pic.a
43 $(AR) $(ARFLAGS) libuafs_pic.a $(PICUAFSOBJ)