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