1 kumpf 1.7 MAJOR_VERSION_NUMBER = 1
|
2 kumpf 1.1
3 OS = HPUX
4
5 ifdef ACC_COMPILER_COMMAND
6 CXX = $(ACC_COMPILER_COMMAND)
7 else
8 CXX = aCC
9 endif
10
|
11 denise.eckstein 1.26 CC = $(CXX) -Ae
12
|
13 kumpf 1.1 COMPILER = acc
14
15 PLATFORM_VERSION_SUPPORTED = yes
16
17 SYS_INCLUDES =
18
19 ifdef PEGASUS_CCOVER
20 SYS_INCLUDES += -I/opt/ccover11/include
21 endif
22
23 ifdef PEGASUS_PURIFY
24 SYS_INCLUDES += -I$(PURIFY_HOME)
25 endif
26
|
27 kumpf 1.18 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_PLATFORM_HPUX_ACC -DPEGASUS_LOCAL_DOMAIN_SOCKET
|
28 kumpf 1.1
|
29 david 1.10 DEFINES += -DPEGASUS_USE_SYSLOGS
30
|
31 kumpf 1.13 DEFINES += -DPEGASUS_HAS_SIGNALS
32
|
33 kumpf 1.17 ifdef PEGASUS_USE_EMANATE
|
34 kumpf 1.1 DEFINES += -DHPUX_EMANATE
35 endif
36
37 ifdef PEGASUS_CCOVER
38 DEFINES += -DPEGASUS_CCOVER
39 endif
40
41 ifdef PEGASUS_PURIFY
42 DEFINES += -DPEGASUS_PURIFY
43 endif
44
45 ##
46 ## The following flags need to be set or unset
47 ## to compile-in the code required for PAM authentication
48 ## and compile-out the code that uses the password file.
49 ##
50
51 ifdef PEGASUS_PAM_AUTHENTICATION
52 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
53 endif
54
|
55 kumpf 1.20 # l10n
56 ifdef PEGASUS_HAS_MESSAGES
57 DEFINES += -DPEGASUS_HAS_MESSAGES
58 ifdef ICU_ROOT
|
59 kumpf 1.23 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
|
60 kumpf 1.20 MSG_FLAGS =
61 MSG_SOURCE_EXT = .txt
62 MSG_COMPILE_EXT = .res
63 CNV_ROOT_CMD = cnv2rootbundle
64
65 ##################################
66 ##
67 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
68 ## resource bundle, default is to uppercase the root resource bundle^M
69 ##
70 ##################################
71
72 ifdef ICU_NO_UPPERCASE_ROOT
73 CNV_ROOT_FLAGS =
74 else
75 CNV_ROOT_FLAGS = -u
76 endif
77
78 ####################################
79 ##
80 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
81 kumpf 1.20 ## bundle will be generated from defaults to _en if not set. if set, for
82 ## any directory containing resource bundles, there must exist a file name:
83 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
84 ## target will fail
85 ##
86 ####################################
87
88 ifdef ICU_ROOT_BUNDLE_LANG
89 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
90 else
91 MSG_ROOT_SOURCE = _en
92 endif
93
94 SYS_INCLUDES += -I${ICU_ROOT}/source/common
95 SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
96 DEFINES += -DPEGASUS_HAS_ICU
97 ifdef ICU_INSTALL
98 EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
99 endif
100 endif
101 endif
102 kumpf 1.20
|
103 kumpf 1.6
|
104 kumpf 1.1 DEPEND_INCLUDES =
105
106
107 ## Flags:
108 ## +Z - produces position independent code (PIC).
109 ## +DAportable generates code for any HP9000 architecture
110 ## -Wl, passes the following option to the linker
111 ## +s causes the linked image or shared lib to be able to
112 ## search for any referenced shared libs dynamically in
113 ## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
114 ## +b enables dynamic search in the specified directory(ies)
115 ##
116
117 FLAGS =
118
|
119 denise.eckstein 1.24 PEGASUS_SUPPORTS_DYNLIB=yes
120
121 ifdef PEGASUS_USE_RELEASE_DIRS
|
122 denise.eckstein 1.27 FLAGS += -Wl,+b$(PEGASUS_DEST_LIB_DIR):/usr/lib
123 ifeq ($(PEGASUS_PLATFORM), HPUX_PARISC_ACC)
124 FLAGS += -Wl,+cdp,$(PEGASUS_PLATFORM_SDKROOT)/usr/lib:/usr/lib -Wl,+cdp,$(PEGASUS_HOME)/lib:$(PEGASUS_DEST_LIB_DIR)
125 endif
|
126 denise.eckstein 1.24 else
127 ifdef PEGASUS_HAS_MESSAGES
128 ifdef ICU_ROOT
129 ifdef ICU_INSTALL
|
130 denise.eckstein 1.27 FLAGS += -Wl,+b$(LIB_DIR):/usr/lib:${ICU_INSTALL}/lib
|
131 kumpf 1.20 endif
132 endif
|
133 denise.eckstein 1.24 else
|
134 denise.eckstein 1.27 FLAGS += -Wl,+b$(LIB_DIR):/usr/lib
|
135 kumpf 1.16 endif
|
136 kumpf 1.1 endif
137
|
138 denise.eckstein 1.28 FLAGS += -Wl,+s
139
|
140 kumpf 1.1 ifdef PEGASUS_DEBUG
141 FLAGS += -g
142 endif
143
|
144 w.otsuka 1.25 ifdef PEGASUS_USE_RELEASE_DIRS
145 PEGASUS_DEST_LIB_DIR=/opt/wbem/lib
146 endif
147
|
148 kumpf 1.21 #
149 # For future use on HP-UX
150 #
151 ifdef HPUX_LARGE_INTERFACES
|
152 h.sterling 1.36 FLAGS += -D_HPUX_API_LEVEL=20040821
|
153 kumpf 1.21 endif
154
|
155 kumpf 1.1 SYS_LIBS = -lpthread -lrt
156
157 SH = sh
158
159 YACC = bison
160
|
161 jim.wunderlich 1.32 RM = rm -f
162
163 DIFF = diff
164
165 SORT = sort
166
|
167 kumpf 1.1 COPY = cp
168
169 MOVE = mv
170
171 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|