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