version 1.24, 2002/07/15 06:22:11
|
version 1.29.8.1, 2006/02/10 16:09:05
|
|
|
|
#//%2006//////////////////////////////////////////////////////////////////////// |
|
#// |
|
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation, The Open Group. |
|
#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; Symantec Corporation; The Open Group. |
|
#// |
|
#// 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. |
|
#// |
|
#//============================================================================== |
include $(ROOT)/mak/config-unix.mak | include $(ROOT)/mak/config-unix.mak |
|
include $(ROOT)/mak/platform_HPUX_ACC.mak |
| |
MAJOR_VERSION_NUMBER = 0 |
ARCHITECTURE = PARISC |
| |
OS = hpux |
SYS_INCLUDES += -I$(ROOT)/src/stdcxx/stream |
| |
ARCHITECTURE = parisc |
FLAGS += +Z +DAportable -mt -D_PSTAT64 |
|
|
ifdef ACC_COMPILER_COMMAND |
|
CXX = $(ACC_COMPILER_COMMAND) |
|
else |
|
CXX = aCC |
|
endif |
|
|
|
COMPILER = acc |
|
|
|
PLATFORM_VERSION_SUPPORTED = yes |
|
|
|
ifeq ($(HPUX_IA64_NATIVE_COMPILER), yes) |
|
SYS_INCLUDES = |
|
else |
|
SYS_INCLUDES = -I$(ROOT)/src/stdcxx/stream |
|
endif |
|
|
|
ifdef PEGASUS_CCOVER |
|
SYS_INCLUDES += -I/opt/ccover11/include |
|
endif |
|
|
|
ifdef PEGASUS_PURIFY |
|
SYS_INCLUDES += -I$(PURIFY_HOME) |
|
endif |
|
|
|
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) |
|
|
|
ifdef PEGASUS_AGENT |
|
DEFINES += -DHPUX_EMANATE |
|
endif |
|
|
|
ifdef PEGASUS_CCOVER |
|
DEFINES += -DPEGASUS_CCOVER |
|
endif |
|
|
|
ifdef PEGASUS_PURIFY |
|
DEFINES += -DPEGASUS_PURIFY |
|
endif |
|
|
|
ifdef ENABLETIMEOUTWORKAROUNDHACK |
|
DEFINES += -DENABLETIMEOUTWORKAROUNDHACK |
|
endif |
|
|
|
ifdef PEGASUS_LOCAL_DOMAIN_SOCKET |
|
DEFINES += -DPEGASUS_LOCAL_DOMAIN_SOCKET |
|
endif |
|
|
|
ifeq ($(HPUX_IA64_NATIVE_COMPILER), yes) |
|
DEFINES += -DHPUX_IA64_NATIVE_COMPILER |
|
endif |
|
|
|
ifdef USE_CONNECTLOCAL |
|
DEFINES += -DUSE_CONNECTLOCAL |
|
endif |
|
|
|
ifdef PEGASUS_NOASSERTS |
|
DEFINES += -DNDEBUG |
|
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 | ifdef PEGASUS_PAM_AUTHENTICATION |
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
SYS_LIBS += -lpam |
endif | endif |
| |
|
## |
DEPEND_INCLUDES = |
## PEGASUS_HPUX_USE_DLOPEN is used for HPUX platforms. When defined it |
|
## enables the use of dl routines (dlopen/dlclose/dlsym) instead of use |
|
## the shl routines (shl_load/shl_unload/shl_findsym). For other UNIX |
## Flags: |
## platforms PEGASUS_HPUX_USE_DLOPEN doesn't have effect. |
## +Z - produces position independent code (PIC). |
|
## +DAportable generates code for any HP9000 architecture |
|
## -Wl, passes the following option to the linker |
|
## +s causes the linked image or shared lib to be able to |
|
## search for any referenced shared libs dynamically in |
|
## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000) |
|
## +b enables dynamic search in the specified directory(ies) |
|
## | ## |
| |
ifeq ($(HPUX_IA64_VERSION), yes) |
ifdef PEGASUS_HPUX_USE_DLOPEN |
DEFINES += -DPEGASUS_ARCHITECTURE_IA64 |
DEFINES += -DPEGASUS_HPUX_USE_DLOPEN |
FLAGS = +Z +DD64 -mt |
|
else |
|
FLAGS = +Z +DAportable -mt |
|
endif |
|
|
|
ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes) |
|
FLAGS += -Wl,+s -Wl,+b/opt/wbem/lib |
|
endif |
|
ifdef PEGASUS_DEBUG |
|
FLAGS += -g |
|
endif |
|
|
|
SYS_LIBS = -lpthread -lrt |
|
|
|
# PAM support |
|
ifdef PEGASUS_PAM_AUTHENTICATION |
|
ifeq ($(HPUX_IA64_VERSION), yes) |
|
SYS_LIBS += -L$(PAMLIB_HOME) -lpam |
|
else |
|
SYS_LIBS += -lpam |
|
endif | endif |
endif |
|
|
|
SH = sh |
|
|
|
YACC = bison |
|
|
|
COPY = cp |
|
|
|
MOVE = mv |
|
|
|
LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER) |
|