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 david 1.13 DEFINES += -DPEGASUS_USE_SYSLOGS
20
|
21 kumpf 1.3 #
22 ## The following flags need to be set or unset
23 ## to compile-in the code required for PAM authentication
24 ## and compile-out the code that uses the password file.
25 ##
26
27 ifdef PEGASUS_PAM_AUTHENTICATION
28 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
29 endif
30
|
31 kumpf 1.7 ##
|
32 kumpf 1.14 ## The following flag sets the Authentication to be PAM based authentication.
33 ##
34
35 ifdef PEGASUS_ALWAYS_USE_PAM
36 DEFINES += -DPEGASUS_ALWAYS_USE_PAM
37 endif
38
39 ##
|
40 kumpf 1.7 ## The following flag needs to be set to compile in code for
41 ## not listing the trace configuration properties. This will cause
42 ## the trace configuration properties, traceComponents and traceLevel
43 ## not to be listed when using the cimconfig -l command.
44 ##
45 DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES
46
|
47 kumpf 1.1 ifdef PEGASUS_DEBUG
48 FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
49 else
|
50 sage 1.2 FLAGS = -O2 -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
|
51 kumpf 1.1 endif
52
53 FLAGS += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU
54
|
55 kumpf 1.12 ifdef PEGASUS_NO_SLP
56 FLAGS += -DPEGASUS_NO_SLP
57 NO_SLP = true
58 endif
59
|
60 kumpf 1.1 SYS_LIBS = -ldl -lpthread -lcrypt
61
|
62 kumpf 1.12 ifdef PEGASUS_HAS_SSL
63 FLAGS += -DPEGASUS_HAS_SSL
64 SYS_LIBS += -lssl
65 endif
66
|
67 kumpf 1.8 # Build using fixed release settings
68 #
69 ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
70 FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
71 endif
72 ifdef PEGASUS_USE_RELEASE_DIRS
73 FLAGS += -DPEGASUS_USE_RELEASE_DIRS
74 endif
75
|
76 kumpf 1.3 # PAM support
77 ifdef PEGASUS_PAM_AUTHENTICATION
78 ifeq ($(HPUX_IA64_VERSION), yes)
79 SYS_LIBS += -L$(PAMLIB_HOME) -lpam
80 else
81 SYS_LIBS += -lpam
82 endif
|
83 kumpf 1.12 endif
84
85 ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
86 FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET
|
87 kumpf 1.3 endif
|
88 kumpf 1.1
89 CXX = g++
90
91 SH = sh
92
93 YACC = yacc
94
95 COPY = cp
96
97 MOVE = mv
98
99 LIB_SUFFIX = .so
100
101 PEGASUS_SUPPORTS_DYNLIB = yes
|
102 kumpf 1.9
103 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|
104 kumpf 1.1
|