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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2