(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           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 kumpf 1.10.4.1 DEFINES += -DPEGASUS_USE_SYSLOGS
 32                
 33 kumpf 1.7      DEFINES += -DPEGASUS_HAS_SIGNALS
 34                
 35                SYS_LIBS = -ldl -lpthread -lcrypt
 36                
 37                ifdef PEGASUS_HAS_SSL
 38                  SYS_LIBS += -lssl
 39                endif
 40                
 41                # Build using fixed release settings
 42                #
 43                ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
 44                FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
 45                endif
 46                ifdef PEGASUS_USE_RELEASE_DIRS
 47                FLAGS += -DPEGASUS_USE_RELEASE_DIRS
 48                endif
 49                
 50                # PAM support
 51                ifdef PEGASUS_PAM_AUTHENTICATION
 52                   ifeq ($(HPUX_IA64_VERSION), yes)
 53                      SYS_LIBS += -L$(PAMLIB_HOME) -lpam
 54 kumpf 1.7         else
 55                      SYS_LIBS += -lpam
 56                   endif
 57                
 58                ## The following flags need to be set or unset
 59                ## to compile-in the code required for PAM authentication
 60                ## and compile-out the code that uses the password file.
 61                
 62                 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
 63                
 64                ##
 65                ## The following flag sets the Authentication to be PAM based authentication.
 66                ##
 67                  ifdef PEGASUS_ALWAYS_USE_PAM
 68                   DEFINES += -DPEGASUS_ALWAYS_USE_PAM
 69                  endif
 70                endif
 71                
 72                
 73                ifdef PEGASUS_DEBUG
 74                FLAGS += -g -fPIC -W -Wall -Wno-unused  -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -DPEGASUS_DEBUG
 75 kumpf 1.7      else
 76                FLAGS += -O2 -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
 77                endif
 78                
 79                ifdef PEGASUS_HAS_PERFINST
 80                  FLAGS += -DPEGASUS_HAS_PERFINST
 81                endif
 82                
 83                ifndef PEGASUS_USE_MU_DEPEND
 84                PEGASUS_HAS_MAKEDEPEND = yes
 85                endif
 86                
 87                ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
 88                 FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET
 89                endif
 90                
 91                ifdef USE_CONNECTLOCAL
 92                 FLAGS += -DUSE_CONNECTLOCAL
 93                endif
 94                
 95 kumpf 1.9      # Warning: Setting the PEGASUS_USE_DEPRECATED_INTERFACES flag exposes
 96                # deprecated interfaces in externally-facing header files.  The deprecated
 97                # interfaces may not be compatible with subsequent Pegasus releases.
 98                # This flag should be used only for transitionary compatibility with
 99                # existing code and not for new development.
100                
101                ifdef PEGASUS_USE_DEPRECATED_INTERFACES
102 kumpf 1.10       DEFINES += -DPEGASUS_USE_DEPRECATED_INTERFACES
103 kumpf 1.9      endif
104                
105 kumpf 1.7      # l10n
106                ifdef PEGASUS_HAS_MESSAGES
107                  DEFINES += -DPEGASUS_HAS_MESSAGES
108                  ifdef ICU_ROOT
109                	MSG_COMPILE = genrb
110                	MSG_FLAGS =
111                	MSG_SOURCE_EXT = .txt
112                	MSG_COMPILE_EXT = .res
113                	CNV_ROOT_CMD = cnv2rootbundle
114                
115                ##################################
116                ##
117                ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle,
118                ## default is to uppercase the root resource bundle
119                ##
120                ##################################
121                
122                ifdef ICU_NO_UPPERCASE_ROOT
123                  CNV_ROOT_FLAGS = 
124                else
125                  CNV_ROOT_FLAGS = -u
126 kumpf 1.7      endif
127                
128                ####################################
129                ##
130                ##   ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource bundle will be generated from
131                ##   defaults to _en if not set.  if set, for any directory containing resource bundles,
132                ##   there must exist a file name: package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages target will fail
133                ##
134                ####################################
135                
136                ifdef ICU_ROOT_BUNDLE_LANG
137                  MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
138                else
139                  MSG_ROOT_SOURCE = _en
140                endif
141                
142                    EXTRA_INCLUDES += -I${ICUROOT}/source/common
143                    DEFINES += -DPEGASUS_HAS_ICU
144                    SYS_LIBS += -licuuc
145                    SYS_LIBS += -licui18n
146                  endif
147 kumpf 1.7      endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2