Commit | Line | Data |
---|---|---|
805e021f CE |
1 | # Copyright 2000, International Business Machines Corporation and others. |
2 | # All Rights Reserved. | |
3 | # | |
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 | |
7 | ||
8 | srcdir=@srcdir@ | |
9 | include @TOP_OBJDIR@/src/config/Makefile.config | |
10 | INSTALL = @INSTALL@ | |
11 | INSTALL_DATA = @INSTALL_DATA@ | |
12 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
13 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
14 | ||
15 | ||
16 | ||
17 | # System specific build commands and flags | |
18 | DEFINES= -DKERNEL -DUKERNEL | |
19 | AR = /usr/bin/ar | |
20 | ARFLAGS = -r | |
21 | RANLIB = /bin/ranlib | |
22 | CC = xlc_r | |
23 | DEF_LIBPATH=/usr/lib/threads:/usr/lib:/lib | |
24 | ||
25 | TEST_CFLAGS=-DAFS_PTHREAD_ENV -Daix -DAFS_AIX_ENV $(XCFLAGS) | |
26 | TEST_LDFLAGS= | |
27 | TEST_LIBS=-lm -lpthreads | |
28 | ||
29 | AFS_OS_CLEAN = \ | |
30 | *.exp \ | |
31 | export.h | |
32 | ||
33 | # To get __file__ you need to specify the language level C99 to xlc_r | |
34 | CFLAGS_afs_osi_pag.lo=-qlanglvl=stdc99 | |
35 | ||
36 | include Makefile.common |