version 1.16.2.1, 2006/02/10 16:09:05
|
version 1.17, 2006/01/25 20:35:33
|
|
|
#//%2006//////////////////////////////////////////////////////////////////////// |
#//%2005//////////////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. | #// 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 | #// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// of this software and associated documentation files (the "Software"), to | #// of this software and associated documentation files (the "Software"), to |
|
|
| |
DEFINES += -DPEGASUS_OS_SOLARIS | DEFINES += -DPEGASUS_OS_SOLARIS |
| |
# PEGASUS_SNIA_INTEROP_TEST is currently (1/27/06) tested and set in these |
|
# platform files: |
|
# |
|
# platform_SOLARIS_SPARC_CC.mak |
|
# platform_WIN32_IX86_MSVC.mak |
|
# |
|
ifdef PEGASUS_SNIA_INTEROP_TEST |
|
DEFINES += -DPEGASUS_SNIA_INTEROP_TEST | DEFINES += -DPEGASUS_SNIA_INTEROP_TEST |
endif |
|
| |
DEFINES += -DPEGASUS_HAS_SIGNALS | DEFINES += -DPEGASUS_HAS_SIGNALS |
| |
|
|
DEFINES += -DSUNOS_5_8 | DEFINES += -DSUNOS_5_8 |
endif | endif |
| |
|
|
ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS | ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS |
FLAGS = -g -KPIC -mt -xs -xildoff | FLAGS = -g -KPIC -mt -xs -xildoff |
else | else |
FLAGS = -O4 -KPIC -mt -xildoff -s -xipo=1 | FLAGS = -O4 -KPIC -mt -xildoff -s -xipo=1 |
endif | endif |
| |
# Need warnings: |
SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet |
FLAGS += +w |
|
|
|
##============================================================================== |
|
## |
|
## COMMON_SYS_LIBS |
|
## |
|
## Build the common list of libraries used in linking both libraries and |
|
## programs. |
|
## |
|
##============================================================================== |
|
|
|
COMMON_SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet -lCstd |
|
| |
ifeq ($(SUNOS_VERSION), 5.6) | ifeq ($(SUNOS_VERSION), 5.6) |
COMMON_SYS_LIBS += -lposix4 |
SYS_LIBS += -lposix4 |
else | else |
COMMON_SYS_LIBS += -lrt |
SYS_LIBS += -lrt |
endif | endif |
| |
# on SunOS 5.8 use the alternate (kernel LWP) thread model that is standard on | # on SunOS 5.8 use the alternate (kernel LWP) thread model that is standard on |
# SunOS 5.9 and 5.10 | # SunOS 5.9 and 5.10 |
# | # |
ifeq ($(SUNOS_VERSION), 5.8) | ifeq ($(SUNOS_VERSION), 5.8) |
COMMON_SYS_LIBS += -R /usr/lib/lwp |
SYS_LIBS += -R /usr/lib/lwp |
endif | endif |
| |
##============================================================================== |
|
## |
|
## SYS_LIBS (system libraries needed to build programs) |
|
## |
|
##============================================================================== |
|
SYS_LIBS = $(COMMON_SYS_LIBS) $(EXTRA_LIBRARIES) |
|
|
|
##============================================================================== |
|
## |
|
## LIBRARY_SYS_LIBS (system libraries needed to build other libraries) |
|
## |
|
##============================================================================== |
|
LIBRARY_SYS_LIBS = $(COMMON_SYS_LIBS) |
|
| |
|
SYS_LIBS += $(EXTRA_LIBRARIES) |