(file) Return to platform_LINUX_IX86_GNU.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

File: [Pegasus] / pegasus / mak / platform_LINUX_IX86_GNU.mak (download)
Revision: 1.13.8.1, Mon Feb 10 17:09:31 2003 UTC (21 years, 3 months ago) by kumpf
Changes since 1.13: +40 -3 lines
HP-WO Add/modify files for Redhat Linux IA32 platform.

include $(ROOT)/mak/config-unix.mak

MAJOR_VERSION_NUMBER = 1

OS = linux

ARCHITECTURE = iX86

COMPILER = gnu

SYS_INCLUDES = -I/usr/include/g++-3

PLATFORM_VERSION_SUPPORTED = yes

DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)

ifdef PEGASUS_DEBUG
FLAGS = -g -W -Wall -Wno-unused  -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
else
FLAGS = -O2 -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
endif

#
## The following flags need to be set or unset
## to compile-in the code required for PAM authentication
## and compile-out the code that uses the password file.
##

ifdef PEGASUS_PAM_AUTHENTICATION
 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
endif

#FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_HAS_PERFINST
FLAGS += -DPEGASUS_HAS_SSL
SYS_LIBS = -ldl -lpthread -lcrypt -lssl
#SYS_LIBS = -ldl -lpthread -lcrypt

# Build using fixed release settings
#
ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
endif
ifdef PEGASUS_USE_RELEASE_DIRS
FLAGS += -DPEGASUS_USE_RELEASE_DIRS
endif

FLAGS += -DPEGASUS_NO_SLP
NO_SLP = true

# PAM support
ifdef PEGASUS_PAM_AUTHENTICATION
   ifeq ($(HPUX_IA64_VERSION), yes)
      SYS_LIBS += -L$(PAMLIB_HOME) -lpam
   else
      SYS_LIBS += -lpam
   endif
endif

CXX = g++

SH = sh

YACC = yacc

COPY = cp

MOVE = mv

LIB_SUFFIX = .so

PEGASUS_SUPPORTS_DYNLIB = yes

ifndef PEGASUS_USE_MU_DEPEND
PEGASUS_HAS_MAKEDEPEND = yes
endif

LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2