(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 david.dillard 1.30 YACC = bison
 26 kumpf         1.7  
 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.29 FLAGS += -g -fPIC -W -Wall -Wno-unused  -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
 70 kumpf           1.7  else
 71 w.otsuka        1.29 FLAGS += -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                      ifndef PEGASUS_USE_MU_DEPEND
 80                      PEGASUS_HAS_MAKEDEPEND = yes
 81                      endif
 82                      
 83                      ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
 84                       FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET
 85                      endif
 86                      
 87                      ifdef USE_CONNECTLOCAL
 88                       FLAGS += -DUSE_CONNECTLOCAL
 89                      endif
 90                      
 91                      # l10n
 92                      ifdef PEGASUS_HAS_MESSAGES
 93                        DEFINES += -DPEGASUS_HAS_MESSAGES
 94                        ifdef ICU_ROOT
 95                      	MSG_COMPILE = genrb
 96                      	MSG_FLAGS =
 97                      	MSG_SOURCE_EXT = .txt
 98 kumpf           1.7  	MSG_COMPILE_EXT = .res
 99                      	CNV_ROOT_CMD = cnv2rootbundle
100                      
101                      ##################################
102                      ##
103                      ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle,
104 w.white         1.18 ## default is to uppercase the root resource bundle##
105 kumpf           1.7  ##################################
106                      
107                      ifdef ICU_NO_UPPERCASE_ROOT
108                        CNV_ROOT_FLAGS = 
109                      else
110                        CNV_ROOT_FLAGS = -u
111                      endif
112                      
113                      ####################################
114                      ##
115                      ##   ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource bundle will be generated from
116                      ##   defaults to _en if not set.  if set, for any directory containing resource bundles,
117                      ##   there must exist a file name: package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages target will fail
118                      ##
119                      ####################################
120                      
121                      ifdef ICU_ROOT_BUNDLE_LANG
122                        MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
123                      else
124                        MSG_ROOT_SOURCE = _en
125                      endif
126 kumpf           1.7  
127 ba.patil        1.24     SYS_INCLUDES += -I${ICU_ROOT}/source/common -I${ICU_ROOT}/source/i18n
128 kumpf           1.7      DEFINES += -DPEGASUS_HAS_ICU
129 h.sterling      1.31     EXTRA_LIBRARIES += -L$(ICU_INSTALL)/lib -licuuc -licui18n -licudata
130 kumpf           1.7    endif
131                      endif
132 konrad.r        1.15 
133                      ####################################
134                      ##
135                      ##   If PEGASUS_LSB is set, set the rest of the variables.
136                      ##
137                      ####################################
138                      
139                      ifdef PEGASUS_LSB
140 konrad.r        1.17     SYS_INCLUDES += -I/usr/include -I/usr/include/c++ -I/opt/lsbdev-base/include/c++ -I/opt/lsbdev-base/include/
141 konrad.r        1.15     FLAGS += -DPEGASUS_OS_LSB
142                      endif
143                      

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2