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.9 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_PLATFORM_HPUX_ACC -DPEGASUS_REMOVE_DEPRECATED -DPEGASUS_LOCAL_DOMAIN_SOCKET
|
26 kumpf 1.1
|
27 kumpf 1.8 DEFINES += -DPEGASUS_DISABLE_KILLING_HUNG_THREADS
28
|
29 david 1.10 DEFINES += -DPEGASUS_USE_SYSLOGS
30
|
31 kumpf 1.13 DEFINES += -DPEGASUS_HAS_SIGNALS
32
|
33 kumpf 1.1 ifdef PEGASUS_AGENT
34 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 ifdef USE_CONNECTLOCAL
50 DEFINES += -DUSE_CONNECTLOCAL
51 endif
52
53 ifdef PEGASUS_NOASSERTS
54 kumpf 1.1 DEFINES += -DNDEBUG
55 endif
56
|
57 kumpf 1.14 ifdef PEGASUS_INDICATION_PERFINST
58 DEFINES += -DPEGASUS_INDICATION_PERFINST
59 endif
60
61 ifdef PEGASUS_INDICATION_HASHTRACE
62 DEFINES += -DPEGASUS_INDICATION_HASHTRACE
63 endif
64
|
65 kumpf 1.1 ##
66 ## The following flags need to be set or unset
67 ## to compile-in the code required for PAM authentication
68 ## and compile-out the code that uses the password file.
69 ##
70
71 ifdef PEGASUS_PAM_AUTHENTICATION
72 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
73 endif
74
|
75 kumpf 1.5 ##
|
76 kumpf 1.11 ## The following flag sets the Authentication to be PAM based authentication.
77 ##
78
79 ifdef PEGASUS_ALWAYS_USE_PAM
80 DEFINES += -DPEGASUS_ALWAYS_USE_PAM
81 endif
82
83 ##
|
84 kumpf 1.5 ## The following flag needs to be set to compile in code for
85 ## not listing the trace configuration properties. This will cause
86 ## the trace configuration properties, traceComponents and traceLevel
87 ## not to be listed when using the cimconfig -l command.
88 ##
89 DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES
|
90 kumpf 1.1
|
91 kumpf 1.6 ##
92 ## The following flag needs to be set to compile in the configuration
93 ## properties set with fixed release settings.
94 ##
95 ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
96 DEFINES += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
97 endif
98
99 ##
100 ## The following flag needs to be set to compile in the configuration
101 ## properties involving directories set with fixed release settings.
102 ##
103 ifdef PEGASUS_USE_RELEASE_DIRS
104 DEFINES += -DPEGASUS_USE_RELEASE_DIRS
105 endif
106
|
107 kumpf 1.1 DEPEND_INCLUDES =
108
109
110 ## Flags:
111 ## +Z - produces position independent code (PIC).
112 ## +DAportable generates code for any HP9000 architecture
113 ## -Wl, passes the following option to the linker
114 ## +s causes the linked image or shared lib to be able to
115 ## search for any referenced shared libs dynamically in
116 ## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
117 ## +b enables dynamic search in the specified directory(ies)
118 ##
119
120 FLAGS =
121
122 ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
|
123 kumpf 1.12 FLAGS += -Wl,+s -Wl,+b/opt/wbem/lib:/usr/lib
|
124 kumpf 1.1 endif
125
126 ifdef PEGASUS_DEBUG
127 FLAGS += -g
128 endif
129
130 SYS_LIBS = -lpthread -lrt
131
132 SH = sh
133
134 YACC = bison
135
136 COPY = cp
137
138 MOVE = mv
139
140 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|