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 ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
46 DEFINES += -DPEGASUS_LOCAL_DOMAIN_SOCKET
47 endif
48
49 ##
50 ## The following flags need to be set or unset
51 ## to compile-in the code required for PAM authentication
52 ## and compile-out the code that uses the password file.
53 ##
54
55 kumpf 1.1 ifdef PEGASUS_PAM_AUTHENTICATION
56 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
57 endif
58
|
59 kumpf 1.20 # l10n
60 ifdef PEGASUS_HAS_MESSAGES
61 DEFINES += -DPEGASUS_HAS_MESSAGES
62 ifdef ICU_ROOT
|
63 kumpf 1.23 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
|
64 kumpf 1.20 MSG_FLAGS =
65 MSG_SOURCE_EXT = .txt
66 MSG_COMPILE_EXT = .res
67 CNV_ROOT_CMD = cnv2rootbundle
68
69 ##################################
70 ##
71 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
72 ## resource bundle, default is to uppercase the root resource bundle^M
73 ##
74 ##################################
75
76 ifdef ICU_NO_UPPERCASE_ROOT
77 CNV_ROOT_FLAGS =
78 else
79 CNV_ROOT_FLAGS = -u
80 endif
81
82 ####################################
83 ##
84 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
85 kumpf 1.20 ## bundle will be generated from defaults to _en if not set. if set, for
86 ## any directory containing resource bundles, there must exist a file name:
87 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
88 ## target will fail
89 ##
90 ####################################
91
92 ifdef ICU_ROOT_BUNDLE_LANG
93 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
94 else
95 MSG_ROOT_SOURCE = _en
96 endif
97
98 SYS_INCLUDES += -I${ICU_ROOT}/source/common
99 SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
100 DEFINES += -DPEGASUS_HAS_ICU
101 ifdef ICU_INSTALL
102 EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
103 endif
104 endif
105 endif
106 kumpf 1.20
|
107 kumpf 1.6
|
108 kumpf 1.1 DEPEND_INCLUDES =
109
110
111 ## Flags:
112 ## +Z - produces position independent code (PIC).
113 ## +DAportable generates code for any HP9000 architecture
114 ## -Wl, passes the following option to the linker
115 ## +s causes the linked image or shared lib to be able to
116 ## search for any referenced shared libs dynamically in
117 ## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
118 ## +b enables dynamic search in the specified directory(ies)
119 ##
120
121 FLAGS =
122
|
123 denise.eckstein 1.24 PEGASUS_SUPPORTS_DYNLIB=yes
124
125 ifdef PEGASUS_USE_RELEASE_DIRS
|
126 denise.eckstein 1.27 FLAGS += -Wl,+b$(PEGASUS_DEST_LIB_DIR):/usr/lib
127 ifeq ($(PEGASUS_PLATFORM), HPUX_PARISC_ACC)
128 FLAGS += -Wl,+cdp,$(PEGASUS_PLATFORM_SDKROOT)/usr/lib:/usr/lib -Wl,+cdp,$(PEGASUS_HOME)/lib:$(PEGASUS_DEST_LIB_DIR)
129 endif
|
130 denise.eckstein 1.24 else
131 ifdef PEGASUS_HAS_MESSAGES
132 ifdef ICU_ROOT
133 ifdef ICU_INSTALL
|
134 denise.eckstein 1.27 FLAGS += -Wl,+b$(LIB_DIR):/usr/lib:${ICU_INSTALL}/lib
|
135 kumpf 1.20 endif
136 endif
|
137 denise.eckstein 1.24 else
|
138 denise.eckstein 1.27 FLAGS += -Wl,+b$(LIB_DIR):/usr/lib
|
139 kumpf 1.16 endif
|
140 kumpf 1.1 endif
141
|
142 denise.eckstein 1.28 FLAGS += -Wl,+s
143
|
144 kumpf 1.1 ifdef PEGASUS_DEBUG
145 FLAGS += -g
146 endif
147
|
148 w.otsuka 1.25 ifdef PEGASUS_USE_RELEASE_DIRS
149 PEGASUS_DEST_LIB_DIR=/opt/wbem/lib
150 endif
151
|
152 kumpf 1.21 #
153 # For future use on HP-UX
154 #
155 ifdef HPUX_LARGE_INTERFACES
156 FLAGS += -D_HPUX_API_LEVEL=20040821
157 endif
158
|
159 kumpf 1.1 SYS_LIBS = -lpthread -lrt
160
161 SH = sh
162
163 YACC = bison
164
|
165 jim.wunderlich 1.32 RM = rm -f
166
167 DIFF = diff
168
169 SORT = sort
170
|
171 kumpf 1.1 COPY = cp
172
173 MOVE = mv
174
175 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|