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