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.9.4.2 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_REMOVE_DEPRECATED
|
16 kumpf 1.1
|
17 kumpf 1.9.4.3 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 kumpf 1.6 FLAGS += -DPEGASUS_NO_SLP
45 NO_SLP = true
|
46 kumpf 1.1
47 #FLAGS += -DPEGASUS_HAS_SSL
48 #SYS_LIBS = -ldl -lpthread -lcrypt -lssl
49 SYS_LIBS = -ldl -lpthread -lcrypt
50
|
51 kumpf 1.8 # Build using fixed release settings
52 #
53 ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
54 FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
55 endif
56 ifdef PEGASUS_USE_RELEASE_DIRS
57 FLAGS += -DPEGASUS_USE_RELEASE_DIRS
58 endif
59
|
60 kumpf 1.3 # PAM support
61 ifdef PEGASUS_PAM_AUTHENTICATION
62 ifeq ($(HPUX_IA64_VERSION), yes)
63 SYS_LIBS += -L$(PAMLIB_HOME) -lpam
64 else
65 SYS_LIBS += -lpam
66 endif
67 endif
|
68 kumpf 1.1
69 CXX = g++
70
71 SH = sh
72
73 YACC = yacc
74
75 COPY = cp
76
77 MOVE = mv
78
79 LIB_SUFFIX = .so
80
81 PEGASUS_SUPPORTS_DYNLIB = yes
|
82 kumpf 1.9
83 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|
84 kumpf 1.1
|