version 1.42.14.3, 2007/07/26 07:58:35
|
version 1.45.4.1, 2008/07/01 15:17:19
|
|
|
# Defines subdirectorys to go to recursively | # Defines subdirectorys to go to recursively |
| |
# DIRS = src cgi | # DIRS = src cgi |
DIRS = src test Schemas |
DIRS = src Schemas |
|
|
|
TEST_DIRS = test |
| |
# Define the inclusion of the recurse.mak file to execute the next | # Define the inclusion of the recurse.mak file to execute the next |
# level of makefiles defined by the DIRS variable | # level of makefiles defined by the DIRS variable |
ifneq ($(PEGASUS_USE_DIRECTACCESS_FOR_LOCAL),true) |
|
defaultrule: all setupdevserver | defaultrule: all setupdevserver |
else |
|
defaultrule: all dacim setupdevserver |
|
endif |
|
| |
include $(ROOT)/mak/recurse.mak | include $(ROOT)/mak/recurse.mak |
| |
|
|
# build target: builds all source | # build target: builds all source |
# | # |
build: depend all setupdevserver | build: depend all setupdevserver |
ifeq ($(PEGASUS_USE_DIRECTACCESS_FOR_LOCAL),true) |
|
$(MAKE) --directory=$(PEGASUS_ROOT) dacim |
|
endif |
|
|
|
| |
#------------------------ | #------------------------ |
# rebuild target is being deprecated instead use "make new build" | # rebuild target is being deprecated instead use "make new build" |
|
|
# buildmu target: build mu the make utility that among other things | # buildmu target: build mu the make utility that among other things |
# includes depend | # includes depend |
buildmu: FORCE | buildmu: FORCE |
$(MKDIRHIER) $(BIN_DIR) |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile | $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile |
| |
#---------------------- | #---------------------- |
|
|
- $(RMDIRHIER) $(PEGASUS_HOME)/lib | - $(RMDIRHIER) $(PEGASUS_HOME)/lib |
- $(RMDIRHIER) $(PEGASUS_HOME)/obj | - $(RMDIRHIER) $(PEGASUS_HOME)/obj |
| |
dacim: FORCE |
|
@$(TOUCH) $(PEGASUS_ROOT)/src/Pegasus/Client/CIMClient.cpp |
|
@$(TOUCH) $(PEGASUS_ROOT)/src/Pegasus/Client/CIMClientRep.cpp |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Client -f Makefile2 |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Client/tests/DirectAccessCIM |
|
@$(ECHO) "PEGASUS built with direct access CIM. " |
|
|
|
removedacim: rmv_dacim build |
|
|
|
rmv_dacim: FORCE |
|
@$(TOUCH) $(PEGASUS_ROOT)/src/Pegasus/Client/CIMClientRep.cpp |
|
| |
#--------------------- | #--------------------- |
# The repository Target removes and rebuilds the base repository. It | # The repository Target removes and rebuilds the base repository. It |
|
|
@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository | @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository |
@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository | @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository |
@ $(MAKE) "-SC" src/Providers/TestProviders/Load repository | @ $(MAKE) "-SC" src/Providers/TestProviders/Load repository |
|
ifeq ($(PEGASUS_ENABLE_CQL),true) |
@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository | @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository |
|
endif |
ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) | ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) |
@ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repository | @ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repository |
endif | endif |
|
|
@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer | @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer |
@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer | @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer |
@ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer | @ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer |
|
ifeq ($(PEGASUS_ENABLE_CQL),true) |
@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer | @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer |
|
endif |
ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) | ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) |
@ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repositoryServer | @ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repositoryServer |
endif | endif |