(file) Return to config-linux.mak CVS log (file) (dir) 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 konrad.r 1.14 ifdef PEGASUS_LSB
 10               SYS_INCLUDES += -I/usr/include -I/usr/include/c++
 11               FLAGS += -DPEGASUS_OS_LSB
 12               endif
 13               
 14 kumpf    1.7  OS = linux
 15               
 16               COMPILER = gnu
 17               
 18               PLATFORM_VERSION_SUPPORTED = yes
 19               
 20               CXX = g++
 21               
 22               SH = sh
 23               
 24               YACC = yacc
 25               
 26               COPY = cp
 27               
 28               MOVE = mv
 29               
 30               PEGASUS_SUPPORTS_DYNLIB = yes
 31               
 32               MAJOR_VERSION_NUMBER = 1
 33               
 34               LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER)
 35 kumpf    1.7  
 36 kumpf    1.11 DEFINES += -DPEGASUS_USE_SYSLOGS
 37               
 38 kumpf    1.7  DEFINES += -DPEGASUS_HAS_SIGNALS
 39               
 40               SYS_LIBS = -ldl -lpthread -lcrypt
 41               
 42               ifdef PEGASUS_HAS_SSL
 43                 SYS_LIBS += -lssl
 44               endif
 45               
 46               # Build using fixed release settings
 47               #
 48               ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
 49               FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
 50               endif
 51               ifdef PEGASUS_USE_RELEASE_DIRS
 52               FLAGS += -DPEGASUS_USE_RELEASE_DIRS
 53               endif
 54               
 55               # PAM support
 56               ifdef PEGASUS_PAM_AUTHENTICATION
 57                  ifeq ($(HPUX_IA64_VERSION), yes)
 58                     SYS_LIBS += -L$(PAMLIB_HOME) -lpam
 59 kumpf    1.7     else
 60                     SYS_LIBS += -lpam
 61                  endif
 62               
 63               ## The following flags need to be set or unset
 64               ## to compile-in the code required for PAM authentication
 65               ## and compile-out the code that uses the password file.
 66               
 67                DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
 68               
 69               endif
 70               
 71               
 72               ifdef PEGASUS_DEBUG
 73               FLAGS += -g -fPIC -W -Wall -Wno-unused  -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -DPEGASUS_DEBUG
 74               else
 75               FLAGS += -O2 -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
 76               endif
 77               
 78               ifdef PEGASUS_HAS_PERFINST
 79                 FLAGS += -DPEGASUS_HAS_PERFINST
 80 kumpf    1.7  endif
 81               
 82               ifndef PEGASUS_USE_MU_DEPEND
 83               PEGASUS_HAS_MAKEDEPEND = yes
 84               endif
 85               
 86               ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
 87                FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET
 88               endif
 89               
 90               ifdef USE_CONNECTLOCAL
 91                FLAGS += -DUSE_CONNECTLOCAL
 92               endif
 93               
 94               # l10n
 95               ifdef PEGASUS_HAS_MESSAGES
 96                 DEFINES += -DPEGASUS_HAS_MESSAGES
 97                 ifdef ICU_ROOT
 98               	MSG_COMPILE = genrb
 99               	MSG_FLAGS =
100               	MSG_SOURCE_EXT = .txt
101 kumpf    1.7  	MSG_COMPILE_EXT = .res
102               	CNV_ROOT_CMD = cnv2rootbundle
103               
104               ##################################
105               ##
106               ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle,
107               ## default is to uppercase the root resource bundle
108               ##
109               ##################################
110               
111               ifdef ICU_NO_UPPERCASE_ROOT
112                 CNV_ROOT_FLAGS = 
113               else
114                 CNV_ROOT_FLAGS = -u
115               endif
116               
117               ####################################
118               ##
119               ##   ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource bundle will be generated from
120               ##   defaults to _en if not set.  if set, for any directory containing resource bundles,
121               ##   there must exist a file name: package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages target will fail
122 kumpf    1.7  ##
123               ####################################
124               
125               ifdef ICU_ROOT_BUNDLE_LANG
126                 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
127               else
128                 MSG_ROOT_SOURCE = _en
129               endif
130               
131                   EXTRA_INCLUDES += -I${ICUROOT}/source/common
132                   DEFINES += -DPEGASUS_HAS_ICU
133                   SYS_LIBS += -licuuc
134                   SYS_LIBS += -licui18n
135                 endif
136               endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2