backport to buster
[hcoop/debian/openafs.git] / src / libuafs / MakefileProto.HPUX.in
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 # System specific build commands and flags
16 CC = /opt/ansic/bin/cc
17 DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
18 <hp_ux102 hp_ux110 hp_ux11i>
19 KOPTS=-Wp,-H200000 -Wl,-a,archive +DA1.0 +z
20 <ia64_hpux1122 ia64_hpux1123>
21 KOPTS=-Wp,-H200000 -Wl,-a,archive_shared
22 <hp_ux102 hp_ux110 hp_ux11i>
23 TEST_CFLAGS= -Wp,-H200000 +DA1.0 +z -D_POSIX_C_SOURCE=199506L -DAFS_PTHREAD_ENV -Dhpux -DAFS_HPUX_ENV $(XCFLAGS)
24 <ia64_hpux1122 ia64_hpux1123>
25 TEST_CFLAGS= -Wp,-H200000 -D_POSIX_C_SOURCE=199506L -DAFS_PTHREAD_ENV -Dhpux -DAFS_HPUX_ENV
26 <all>
27 TEST_LDFLAGS=
28 TEST_LIBS=-lnsl -lm -lpthread -ldld -lc
29
30 include Makefile.common