version 1.140, 2007/05/25 18:35:15
|
version 1.141.4.1, 2007/06/22 10:31:54
|
|
|
# compile in the experimental APIs | # compile in the experimental APIs |
DEFINES += -DPEGASUS_USE_EXPERIMENTAL_INTERFACES | DEFINES += -DPEGASUS_USE_EXPERIMENTAL_INTERFACES |
| |
|
# control direct access CIM build |
|
ifeq ($(PEGASUS_USE_DIRECTACCESS_FOR_LOCAL),true) |
|
DEFINES += -DPEGASUS_USE_DIRECTACCESS_FOR_LOCAL |
|
DEFINES += -DPEGASUS_DIRECTACCESS_BUILDTYPE=1 |
|
ifeq ($(PEGASUS_DIRECTACCESS_SHARE_LIB),noshare) |
|
ifeq ($(PEGASUS_DIRECTACCESS_SHARE_REPOSITORY),noshare) |
|
DEFINES += -DPEGASUS_DIRECTACCESS_BUILDTYPE=3 |
|
endif |
|
$(error 'noshare' for PEGASUS_DIRECTACCESS_SHARE_REPOSITORY is also required.) |
|
else |
|
ifeq ($(PEGASUS_DIRECTACCESS_SHARE_REPOSITORY),noshare) |
|
DEFINES += -DPEGASUS_DIRECTACCESS_BUILDTYPE=2 |
|
endif |
|
endif |
|
ifndef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
$(warning Direct access CIM built without CIMClient.h experimental interfaces.) |
|
endif |
|
else |
|
ifeq ($(PEGASUS_DIRECTACCESS_SHARE_REPOSITORY),noshare) |
|
$(error PEGASUS_USE_DIRECTACCESS_FOR_LOCAL must be true for this this noshare option.) |
|
endif |
|
ifeq ($(PEGASUS_DIRECTACCESS_SHARE_LIB),noshare) |
|
$(error PEGASUS_USE_DIRECTACCESS_FOR_LOCAL must be true for this this noshare option.) |
|
endif |
|
endif |
|
|
|
|
# Ensure that the deprecated interfaces are defined in the Pegasus libraries. | # Ensure that the deprecated interfaces are defined in the Pegasus libraries. |
# One may wish to disable these interfaces if binary compatibility with | # One may wish to disable these interfaces if binary compatibility with |
# previous Pegasus releases is not required. | # previous Pegasus releases is not required. |
|
|
| |
## Specifies the user context of the cimservermain process when privilege | ## Specifies the user context of the cimservermain process when privilege |
## separation is enabled. | ## separation is enabled. |
ifdef PEGASUS_CIMSERVERMAIN_USER |
ifndef PEGASUS_CIMSERVERMAIN_USER |
DEFINES += -DPEGASUS_CIMSERVERMAIN_USER=\"$(PEGASUS_CIMSERVERMAIN_USER)\" |
PEGASUS_CIMSERVERMAIN_USER = pegasus |
endif | endif |
|
DEFINES += -DPEGASUS_CIMSERVERMAIN_USER=\"$(PEGASUS_CIMSERVERMAIN_USER)\" |
endif | endif |
| |
##============================================================================== | ##============================================================================== |