Return to config-linux.mak CVS log | Up to [Pegasus] / pegasus / mak |
1 kumpf 1.7 # Configuration options for Pegasus on all architectures running Linux 2 3 include $(ROOT)/mak/config-unix.mak 4 5 PEGASUS_PLATFORM_LINUX_GENERIC_GNU = 1 6 DEFINES += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU 7 DEFINES += -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) 8 9 OS = linux 10 11 COMPILER = gnu 12 13 PLATFORM_VERSION_SUPPORTED = yes 14 15 CXX = g++ 16 17 SH = sh 18 19 YACC = yacc 20 21 COPY = cp 22 kumpf 1.7 23 MOVE = mv 24 25 PEGASUS_SUPPORTS_DYNLIB = yes 26 27 MAJOR_VERSION_NUMBER = 1 28 29 LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) 30 31 DEFINES += -DPEGASUS_HAS_SIGNALS 32 33 SYS_LIBS = -ldl -lpthread -lcrypt 34 35 ifdef PEGASUS_HAS_SSL 36 SYS_LIBS += -lssl 37 endif 38 39 # Build using fixed release settings 40 # 41 ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS 42 FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS 43 kumpf 1.7 endif 44 ifdef PEGASUS_USE_RELEASE_DIRS 45 FLAGS += -DPEGASUS_USE_RELEASE_DIRS 46 endif 47 48 # PAM support 49 ifdef PEGASUS_PAM_AUTHENTICATION 50 ifeq ($(HPUX_IA64_VERSION), yes) 51 SYS_LIBS += -L$(PAMLIB_HOME) -lpam 52 else 53 SYS_LIBS += -lpam 54 endif 55 56 ## The following flags need to be set or unset 57 ## to compile-in the code required for PAM authentication 58 ## and compile-out the code that uses the password file. 59 60 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE 61 62 ## 63 ## The following flag sets the Authentication to be PAM based authentication. 64 kumpf 1.7 ## 65 ifdef PEGASUS_ALWAYS_USE_PAM 66 DEFINES += -DPEGASUS_ALWAYS_USE_PAM 67 endif 68 endif 69 70 71 ifdef PEGASUS_DEBUG 72 FLAGS += -g -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -DPEGASUS_DEBUG 73 else 74 FLAGS += -O2 -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT 75 endif 76 77 ifdef PEGASUS_HAS_PERFINST 78 FLAGS += -DPEGASUS_HAS_PERFINST 79 endif 80 81 ifndef PEGASUS_USE_MU_DEPEND 82 PEGASUS_HAS_MAKEDEPEND = yes 83 endif 84 85 kumpf 1.7 ifdef PEGASUS_LOCAL_DOMAIN_SOCKET 86 FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET 87 endif 88 89 ifdef USE_CONNECTLOCAL 90 FLAGS += -DUSE_CONNECTLOCAL 91 endif 92 | ||
93 kumpf 1.9 # Warning: Setting the PEGASUS_USE_DEPRECATED_INTERFACES flag exposes 94 # deprecated interfaces in externally-facing header files. The deprecated 95 # interfaces may not be compatible with subsequent Pegasus releases. 96 # This flag should be used only for transitionary compatibility with 97 # existing code and not for new development. 98 99 ifdef PEGASUS_USE_DEPRECATED_INTERFACES 100 DEFINES += =DPEGASUS_USE_DEPRECATED_INTERFACES 101 endif 102 | ||
103 kumpf 1.7 # l10n 104 ifdef PEGASUS_HAS_MESSAGES 105 DEFINES += -DPEGASUS_HAS_MESSAGES 106 ifdef ICU_ROOT 107 MSG_COMPILE = genrb 108 MSG_FLAGS = 109 MSG_SOURCE_EXT = .txt 110 MSG_COMPILE_EXT = .res 111 CNV_ROOT_CMD = cnv2rootbundle 112 113 ################################## 114 ## 115 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle, 116 ## default is to uppercase the root resource bundle 117 ## 118 ################################## 119 120 ifdef ICU_NO_UPPERCASE_ROOT 121 CNV_ROOT_FLAGS = 122 else 123 CNV_ROOT_FLAGS = -u 124 kumpf 1.7 endif 125 126 #################################### 127 ## 128 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource bundle will be generated from 129 ## defaults to _en if not set. if set, for any directory containing resource bundles, 130 ## there must exist a file name: package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages target will fail 131 ## 132 #################################### 133 134 ifdef ICU_ROOT_BUNDLE_LANG 135 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG) 136 else 137 MSG_ROOT_SOURCE = _en 138 endif 139 140 EXTRA_INCLUDES += -I${ICUROOT}/source/common 141 DEFINES += -DPEGASUS_HAS_ICU 142 SYS_LIBS += -licuuc 143 SYS_LIBS += -licui18n 144 endif 145 kumpf 1.7 endif |
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |