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