version 1.9.4.1, 2002/12/04 17:54:04
|
version 1.24, 2008/12/02 09:00:01
|
|
|
include $(ROOT)/mak/config-unix.mak |
#//%LICENSE//////////////////////////////////////////////////////////////// |
|
#// |
|
#// Licensed to The Open Group (TOG) under one or more contributor license |
|
#// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with |
|
#// this work for additional information regarding copyright ownership. |
|
#// Each contributor licenses this file to you under the OpenPegasus Open |
|
#// Source License; you may not use this file except in compliance with the |
|
#// License. |
|
#// |
|
#// Permission is hereby granted, free of charge, to any person obtaining a |
|
#// copy of this software and associated documentation files (the "Software"), |
|
#// to deal in the Software without restriction, including without limitation |
|
#// the rights to use, copy, modify, merge, publish, distribute, sublicense, |
|
#// and/or sell copies of the Software, and to permit persons to whom the |
|
#// Software is furnished to do so, subject to the following conditions: |
|
#// |
|
#// The above copyright notice and this permission notice shall be included |
|
#// in all copies or substantial portions of the Software. |
|
#// |
|
#// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
|
#// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
#// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|
#// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
|
#// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
|
#// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
|
#// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// |
|
#////////////////////////////////////////////////////////////////////////// |
|
# Platform Configuration for Linux on IA-64 |
|
# If you have generic Linux config options, please place them in config-linux.mak |
| |
MAJOR_VERSION_NUMBER = 1 |
include $(ROOT)/mak/config-linux.mak |
|
|
OS = linux |
|
| |
ARCHITECTURE = IA64 | ARCHITECTURE = IA64 |
| |
COMPILER = gnu |
|
|
|
SYS_INCLUDES = -I/usr/include/g++-3 |
|
|
|
PLATFORM_VERSION_SUPPORTED = yes |
|
|
|
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_REMOVE_DEPRECATED -DPEGASUS_LOCAL_DOMAIN_SOCKET |
|
|
|
# |
|
## 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 |
|
|
|
## | ## |
## The following flag needs to be set to compile in code for | ## The following flag needs to be set to compile in code for |
## not listing the trace configuration properties. This will cause | ## not listing the trace configuration properties. This will cause |
|
|
## not to be listed when using the cimconfig -l command. | ## not to be listed when using the cimconfig -l command. |
## | ## |
DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES | DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES |
|
|
ifdef PEGASUS_DEBUG |
|
FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
|
else |
|
FLAGS = -O2 -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
|
endif |
|
|
|
FLAGS += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
FLAGS += -DPEGASUS_NO_SLP |
|
NO_SLP = true |
|
|
|
#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 |
|
|
|
# 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 |
|
|
|
LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER) |
|
|
|