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