1 martin 1.5 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.6 #//
|
3 martin 1.5 #// Licensed to The Open Group (TOG) under one or more contributor license
4 #// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 #// this work for additional information regarding copyright ownership.
6 #// Each contributor licenses this file to you under the OpenPegasus Open
7 #// Source License; you may not use this file except in compliance with the
8 #// License.
|
9 martin 1.6 #//
|
10 martin 1.5 #// Permission is hereby granted, free of charge, to any person obtaining a
11 #// copy of this software and associated documentation files (the "Software"),
12 #// to deal in the Software without restriction, including without limitation
13 #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 #// and/or sell copies of the Software, and to permit persons to whom the
15 #// Software is furnished to do so, subject to the following conditions:
|
16 martin 1.6 #//
|
17 martin 1.5 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.6 #//
|
20 martin 1.5 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.6 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.5 #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27 martin 1.6 #//
|
28 martin 1.5 #//////////////////////////////////////////////////////////////////////////
|
29 ouyang.jian 1.1 include $(ROOT)/mak/config-unix.mak
30
31 OS = PASE
32
33 ARCHITECTURE = iSeries
34
35 COMPILER = xlc
36
37 PLATFORM_VERSION_SUPPORTED = yes
38
39 SYS_INCLUDES = -I/QOpenSys/vac70/vacpp/include
40
41 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)
42
43 DEPEND_INCLUDES =
44
45 DEPEND_DEFINES = -D__IBMCPP__=500
46
|
47 kumpf 1.7 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
|
48 ouyang.jian 1.1 FLAGS = -g
49 else
50 FLAGS = -O3 -qstrict -s
51 endif
52
53 #FLAGS += -qrtti=dyna -qcpluscmt -qlanglvl=newexcp
54 FLAGS += -qldbl128 -qlonglong -qalign=natural -H16 -qrtti=dyna -qcpluscmt -qlanglvl=newexcp -lc128
55
|
56 kumpf 1.7 SYS_LIBS = -ldl
|
57 ouyang.jian 1.1
58 # SSL support
59 ifdef PEGASUS_HAS_SSL
60 ifndef OPENSSL_HOME
61 OPENSSL_HOME = /QOpenSys/QIBM/ProdData/SC1/OpenSSL/openssl-0.9.7d
62 endif
63 endif
64
65 CXX = xlC_r
66
67 SH = sh
68
69 YACC = bison
70
71 RM = rm -f
72
73 DIFF = diff
74
75 SORT = sort
76
77 COPY = cp
78 ouyang.jian 1.1
79 MOVE = mv
80
81 LIB_SUFFIX = .so
82
83 #share xlc options with AIX
84 AIX_LIB_PRIORITY = 0
85 AIX_LD_HALT = 8
86
87 ifndef PEGASUS_USE_MU_DEPEND
88 PEGASUS_HAS_MAKEDEPEND = yes
89 endif
90
91 PEGASUS_SUPPORTS_DYNLIB = yes
92
93 DEFINES += -DPEGASUS_HAS_SIGNALS
94
95 ifdef PEGASUS_USE_RELEASE_DIRS
96 PEGASUS_DEST_LIB_DIR =/QOpenSys/QIBM/ProdData/UME/Pegasus/lib
97 endif
98
|