1 mike 1.2 include $(ROOT)/mak/config-unix.mak
2
3 OS = zos
4
5 ARCHITECTURE = zseries
6
7 COMPILER = ibm
8
|
9 sage 1.3 #SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/StandardIncludes/zOS
10 SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include
|
11 marek 1.6 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_OPEN_SOURCE=3
|
12 mike 1.2
|
13 marek 1.11 ifdef PEGASUS_KERBEROS_AUTHENTICATION
14 DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION
15 endif
16
17
|
18 sage 1.4 DEPEND_DEFINES = -D__IBMCPP__=400
19
|
20 mike 1.2 ifdef PEGASUS_DEBUG
|
21 marek 1.7 FLAGS = -+ -g -W "c,ASCII,XPLINK,dll,expo,rtti(dynamiccast),langlvl(extended),float(ieee)"
22 PR_FLAGS = -+ -g -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),FLOAT(IEEE)" -W "l,XPLINK,dll"
|
23 mike 1.2 else
|
24 marek 1.7 FLAGS = -+ -O2 -W "c,ASCII,XPLINK,dll,expo,rtti(dynamiccast),langlvl(extended),float(ieee)"
25 PR_FLAGS = -+ -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),FLOAT(IEEE)" -W "l,XPLINK,dll"
|
26 mike 1.2 endif
27
|
28 marek 1.10 ifdef PEGASUS_ZOS_SECURITY
29 DEFINES += -DPEGASUS_ZOS_SECURITY
|
30 marek 1.11 endif
31
32 ifdef PEGASUS_HAS_MY_KERBEROS
33 FLAGS+= -L/usr/local/lib
34 PR_FLAGS+= -L/usr/local/lib
35 endif
36
37 ifdef PEGASUS_ZOS_THREADLEVEL_SECURITY
38 DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY
|
39 marek 1.10 endif
40
|
41 mike 1.2 SYS_LIBS =
42
43 CXX = c++
44
45 SH = sh
46
47 YACC = bison
48
49 COPY = cp
50
51 MOVE = mv
52
53 LIB_SUFFIX = .so
54
55 PEGASUS_SUPPORTS_DYNLIB = yes
56
57 PEGASUS_HAS_MAKEDEPEND = yes
|
58 marek 1.13.2.1 # l10n
59 ifdef PEGASUS_HAS_MESSAGES
60 DEFINES += -DPEGASUS_HAS_MESSAGES
61 ifdef ICU_ROOT
62 ifdef ICU_INSTALL
63 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
64 else
65 MSG_COMPILE = ${ICU_ROOT}/bin/genrb
66 endif
67 MSG_FLAGS =
68 MSG_SOURCE_EXT = .txt
69 MSG_COMPILE_EXT = .res
70 CNV_ROOT_CMD = cnv2rootbundle
71
72 ##################################
73 ##
74 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
75 ## resource bundle, default is to uppercase the root resource bundle
76 ##
77 ##################################
78
79 marek 1.13.2.1 ifdef ICU_NO_UPPERCASE_ROOT
80 CNV_ROOT_FLAGS =
81 else
82 CNV_ROOT_FLAGS = -u
83 endif
84
85 ####################################
86 ##
87 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
88 ## bundle will be generated from defaults to _en if not set. if set, for
89 ## any directory containing resource bundles, there must exist a file name:
90 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
91 ## target will fail
92 ##
93 ####################################
94
95 ifdef ICU_ROOT_BUNDLE_LANG
96 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
97 else
98 MSG_ROOT_SOURCE = _en
99 endif
100 marek 1.13.2.1 SYS_INCLUDES += -I${ICU_INSTALL}/include
101 DEFINES += -DPEGASUS_HAS_ICU
102 ifdef ICU_INSTALL
103 FLAGS+ = -L${ICU_INSTALL}/lib
104 PR_FLAGS += -L${ICU_INSTALL}/lib
105 EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
106 endif
107 endif
108 endif
|