1 kumpf 1.1 include $(ROOT)/mak/config-unix.mak
2
|
3 kumpf 1.9 MAJOR_VERSION_NUMBER = 1
4
|
5 kumpf 1.1 OS = linux
6
7 ARCHITECTURE = IA64
8
9 COMPILER = gnu
10
11 SYS_INCLUDES = -I/usr/include/g++-3
12
|
13 kumpf 1.9 PLATFORM_VERSION_SUPPORTED = yes
14
|
15 kumpf 1.12 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_REMOVE_DEPRECATED
|
16 kumpf 1.1
|
17 kumpf 1.10 DEFINES += -DPEGASUS_DISABLE_KILLING_HUNG_THREADS
18
|
19 kumpf 1.3 #
20 ## The following flags need to be set or unset
21 ## to compile-in the code required for PAM authentication
22 ## and compile-out the code that uses the password file.
23 ##
24
25 ifdef PEGASUS_PAM_AUTHENTICATION
26 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
27 endif
28
|
29 kumpf 1.7 ##
30 ## The following flag needs to be set to compile in code for
31 ## not listing the trace configuration properties. This will cause
32 ## the trace configuration properties, traceComponents and traceLevel
33 ## not to be listed when using the cimconfig -l command.
34 ##
35 DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES
36
|
37 kumpf 1.1 ifdef PEGASUS_DEBUG
38 FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
39 else
|
40 sage 1.2 FLAGS = -O2 -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
|
41 kumpf 1.1 endif
42
43 FLAGS += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU
44
|
45 kumpf 1.12 ifdef PEGASUS_NO_SLP
46 FLAGS += -DPEGASUS_NO_SLP
47 NO_SLP = true
48 endif
49
|
50 kumpf 1.1 SYS_LIBS = -ldl -lpthread -lcrypt
51
|
52 kumpf 1.12 ifdef PEGASUS_HAS_SSL
53 FLAGS += -DPEGASUS_HAS_SSL
54 SYS_LIBS += -lssl
55 endif
56
|
57 kumpf 1.8 # Build using fixed release settings
58 #
59 ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
60 FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
61 endif
62 ifdef PEGASUS_USE_RELEASE_DIRS
63 FLAGS += -DPEGASUS_USE_RELEASE_DIRS
64 endif
65
|
66 kumpf 1.3 # PAM support
67 ifdef PEGASUS_PAM_AUTHENTICATION
68 ifeq ($(HPUX_IA64_VERSION), yes)
69 SYS_LIBS += -L$(PAMLIB_HOME) -lpam
70 else
71 SYS_LIBS += -lpam
72 endif
|
73 kumpf 1.12 endif
74
75 ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
76 FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET
|
77 kumpf 1.3 endif
|
78 kumpf 1.1
79 CXX = g++
80
81 SH = sh
82
83 YACC = yacc
84
85 COPY = cp
86
87 MOVE = mv
88
89 LIB_SUFFIX = .so
90
91 PEGASUS_SUPPORTS_DYNLIB = yes
|
92 kumpf 1.9
93 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|
94 kumpf 1.1
|