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