# 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
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@



# System specific build commands and flags
DEFINES= -DKERNEL -DUKERNEL
AR = /usr/bin/ar
ARFLAGS = -r
RANLIB = /bin/ranlib
CC = xlc_r
DEF_LIBPATH=/usr/lib/threads:/usr/lib:/lib

TEST_CFLAGS=-DAFS_PTHREAD_ENV -Daix -DAFS_AIX_ENV $(XCFLAGS)
TEST_LDFLAGS=
TEST_LIBS=-lm -lpthreads

AFS_OS_CLEAN = \
	*.exp \
	export.h

# To get __file__ you need to specify the language level C99 to xlc_r
CFLAGS_afs_osi_pag.lo=-qlanglvl=stdc99

include Makefile.common
