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 COMPILER = acc
12
13 PLATFORM_VERSION_SUPPORTED = yes
14
15 SYS_INCLUDES =
16
17 ifdef PEGASUS_CCOVER
18 SYS_INCLUDES += -I/opt/ccover11/include
19 endif
20
21 ifdef PEGASUS_PURIFY
22 SYS_INCLUDES += -I$(PURIFY_HOME)
23 kumpf 1.1 endif
24
|
25 kumpf 1.2 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_PLATFORM_HPUX_ACC -DPEGASUS_REMOVE_DEPRECATED
|
26 kumpf 1.1
|
27 kumpf 1.8 DEFINES += -DPEGASUS_DISABLE_KILLING_HUNG_THREADS
28
|
29 kumpf 1.1 ifdef PEGASUS_AGENT
30 DEFINES += -DHPUX_EMANATE
31 endif
32
33 ifdef PEGASUS_CCOVER
34 DEFINES += -DPEGASUS_CCOVER
35 endif
36
37 ifdef PEGASUS_PURIFY
38 DEFINES += -DPEGASUS_PURIFY
39 endif
40
41 ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
42 DEFINES += -DPEGASUS_LOCAL_DOMAIN_SOCKET
43 endif
44
45 ifdef USE_CONNECTLOCAL
46 DEFINES += -DUSE_CONNECTLOCAL
47 endif
48
49 ifdef PEGASUS_NOASSERTS
50 kumpf 1.1 DEFINES += -DNDEBUG
51 endif
52
53 ##
54 ## The following flags need to be set or unset
55 ## to compile-in the code required for PAM authentication
56 ## and compile-out the code that uses the password file.
57 ##
58
59 ifdef PEGASUS_PAM_AUTHENTICATION
60 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
61 endif
62
|
63 kumpf 1.5 ##
64 ## The following flag needs to be set to compile in code for
65 ## not listing the trace configuration properties. This will cause
66 ## the trace configuration properties, traceComponents and traceLevel
67 ## not to be listed when using the cimconfig -l command.
68 ##
69 DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES
|
70 kumpf 1.1
|
71 kumpf 1.6 ##
72 ## The following flag needs to be set to compile in the configuration
73 ## properties set with fixed release settings.
74 ##
75 ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
76 DEFINES += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
77 endif
78
79 ##
80 ## The following flag needs to be set to compile in the configuration
81 ## properties involving directories set with fixed release settings.
82 ##
83 ifdef PEGASUS_USE_RELEASE_DIRS
84 DEFINES += -DPEGASUS_USE_RELEASE_DIRS
85 endif
86
|
87 kumpf 1.1 DEPEND_INCLUDES =
88
89
90 ## Flags:
91 ## +Z - produces position independent code (PIC).
92 ## +DAportable generates code for any HP9000 architecture
93 ## -Wl, passes the following option to the linker
94 ## +s causes the linked image or shared lib to be able to
95 ## search for any referenced shared libs dynamically in
96 ## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
97 ## +b enables dynamic search in the specified directory(ies)
98 ##
99
100 FLAGS =
101
102 ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
103 FLAGS += -Wl,+s -Wl,+b/opt/wbem/lib
104 endif
105
106 ifdef PEGASUS_DEBUG
107 FLAGS += -g
108 kumpf 1.1 endif
109
110 SYS_LIBS = -lpthread -lrt
111
112 SH = sh
113
114 YACC = bison
115
116 COPY = cp
117
118 MOVE = mv
119
120 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|