1 ouyang.jian 1.1 #//%2006////////////////////////////////////////////////////////////////////////
2 #//
3 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 #// IBM Corp.; EMC Corporation, The Open Group.
7 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 #// EMC Corporation; VERITAS Software Corporation; The Open Group.
11 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
13 #//
14 #// Permission is hereby granted, free of charge, to any person obtaining a copy
15 #// of this software and associated documentation files (the "Software"), to
16 #// deal in the Software without restriction, including without limitation the
17 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 #// sell copies of the Software, and to permit persons to whom the Software is
19 #// furnished to do so, subject to the following conditions:
20 #//
21 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 ouyang.jian 1.1 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 #//
30 #//==============================================================================
31 include $(ROOT)/mak/config-unix.mak
32
33 OS = PASE
34
35 ARCHITECTURE = iSeries
36
37 COMPILER = xlc
38
39 PLATFORM_VERSION_SUPPORTED = yes
40
41 SYS_INCLUDES = -I/QOpenSys/vac70/vacpp/include
42
43 ouyang.jian 1.1 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)
44
45 DEPEND_INCLUDES =
46
47 DEPEND_DEFINES = -D__IBMCPP__=500
48
49 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
50 FLAGS = -g
51 else
52 FLAGS = -O3 -qstrict -s
53 endif
54
55 #FLAGS += -qrtti=dyna -qcpluscmt -qlanglvl=newexcp
56 FLAGS += -qldbl128 -qlonglong -qalign=natural -H16 -qrtti=dyna -qcpluscmt -qlanglvl=newexcp -lc128
57
58 SYS_LIBS = -ldl
59
60 # SSL support
61 ifdef PEGASUS_HAS_SSL
62 ifndef OPENSSL_HOME
63 OPENSSL_HOME = /QOpenSys/QIBM/ProdData/SC1/OpenSSL/openssl-0.9.7d
64 ouyang.jian 1.1 endif
65 endif
66
67 CXX = xlC_r
68
69 SH = sh
70
71 YACC = bison
72
73 RM = rm -f
74
75 DIFF = diff
76
77 SORT = sort
78
79 COPY = cp
80
81 MOVE = mv
82
83 LIB_SUFFIX = .so
84
85 ouyang.jian 1.1 #share xlc options with AIX
86 AIX_LIB_PRIORITY = 0
87 AIX_LD_HALT = 8
88
89 ifndef PEGASUS_USE_MU_DEPEND
90 PEGASUS_HAS_MAKEDEPEND = yes
91 endif
92
93 PEGASUS_SUPPORTS_DYNLIB = yes
94
95 DEFINES += -DPEGASUS_HAS_SIGNALS
96
97 # PAM support
98 ifdef PEGASUS_PAM_AUTHENTICATION
99 EXTRA_LIBRARIES += -lpam
100 endif
101 ##
102 ## The following flags need to be set or unset
103 ## to compile-in the code required for PAM authentication
104 ## and compile-out the code that uses the password file.
105 ##
106 ouyang.jian 1.1 ifdef PEGASUS_PAM_AUTHENTICATION
107 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
108 endif
109
110 ifdef PEGASUS_USE_RELEASE_DIRS
111 PEGASUS_DEST_LIB_DIR =/QOpenSys/QIBM/ProdData/UME/Pegasus/lib
112 endif
113
|