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