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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2