version 1.51, 2008/12/02 08:59:54
|
version 1.57.10.3, 2013/10/01 21:15:44
|
|
|
# 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 |
| |
defaultrule: all setupdevserver |
defaultrule: cimprovagt32 all setupdevserver |
| |
include $(ROOT)/mak/recurse.mak | include $(ROOT)/mak/recurse.mak |
| |
|
|
$(USAGE)" $(PEGASUS_HOME)/lib" | $(USAGE)" $(PEGASUS_HOME)/lib" |
$(USAGE)" $(PEGASUS_HOME)/obj" | $(USAGE)" $(PEGASUS_HOME)/obj" |
$(USAGE)"buildmu - builds the mu utility" | $(USAGE)"buildmu - builds the mu utility" |
|
$(USAGE)"buildclientlibs - Build only the Client and Common libraries" |
$(USAGE)"setupdevserver - setup the development server env" | $(USAGE)"setupdevserver - setup the development server env" |
$(USAGE)"cleandevserver - cleans the development server env" | $(USAGE)"cleandevserver - cleans the development server env" |
$(USAGE)"repository - builds the base repository. Does not remove other" | $(USAGE)"repository - builds the base repository. Does not remove other" |
|
|
$(USAGE)"testusage2 - TestMakefile usage2" | $(USAGE)"testusage2 - TestMakefile usage2" |
$(USAGE)"stresstests - Runs the default stresstests" | $(USAGE)"stresstests - Runs the default stresstests" |
$(USAGE) | $(USAGE) |
|
$(USAGE)"webadmin - build/config webadmin" |
|
$(USAGE) |
$(USAGE)"--------------------" | $(USAGE)"--------------------" |
$(USAGE)"Quick start:" | $(USAGE)"Quick start:" |
$(USAGE)" After checkout of new tree:" | $(USAGE)" After checkout of new tree:" |
|
|
$(USAGE)" After \"cvs update\" or to start over: make new world" | $(USAGE)" After \"cvs update\" or to start over: make new world" |
$(USAGE) | $(USAGE) |
| |
|
|
listplatforms: FORCE | listplatforms: FORCE |
$(USAGE) | $(USAGE) |
$(USAGE)"The $(words $(VALID_PLATFORMS)) valid platforms are:" | $(USAGE)"The $(words $(VALID_PLATFORMS)) valid platforms are:" |
|
|
#----------------------- | #----------------------- |
# build target: builds all source | # build target: builds all source |
# | # |
build: depend all setupdevserver |
build: cimprovagt32depend cimprovagt32 depend renameinterop all setupdevserver |
| |
#------------------------ | #------------------------ |
# rebuild target is being deprecated instead use "make new build" | # rebuild target is being deprecated instead use "make new build" |
|
|
# make new build | # make new build |
# make new world | # make new world |
| |
new: clean repositoryclean |
new: cimprovagt32clean clean repositoryclean |
| |
#----------------------- | #----------------------- |
# world targets: builds everything and dependent on which target may do testing | # world targets: builds everything and dependent on which target may do testing |
|
|
| |
world: build s_unittests servertests | world: build s_unittests servertests |
| |
|
############################ |
|
# |
|
# rules for building 32 bit provider agent |
|
# |
|
cimprovagt32depend: FORCE |
|
ifdef PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT |
|
$(MAKE) --directory=$(ROOT) -f Makefile.cimprovagt32 depend |
|
endif |
|
cimprovagt32: FORCE |
|
ifdef PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT |
|
$(MAKE) --directory=$(ROOT) -f Makefile.cimprovagt32 |
|
endif |
|
|
|
cimprovagt32clean: FORCE |
|
ifdef PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT |
|
$(MAKE) --directory=$(ROOT) -f Makefile.cimprovagt32 clean |
|
endif |
| |
############################ | ############################ |
# | # |
|
|
buildmu: FORCE | buildmu: FORCE |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile | $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile |
| |
|
########################################################################## |
|
# |
|
# renameinterop: This is with regard to PEP304, build time option. |
|
# There are many test cases and result files where namespace name |
|
# root/PG_InterOp is hardcoded. So this searches for root/PG_InterOp |
|
# and changes that to "interop" or "root/interop". |
|
# |
|
# This uses mu replace internally. The original files are all saved as |
|
# filename.save. These file can be restored by running |
|
# make -f Makefile.interop restore |
|
# |
|
renameinterop: buildmu |
|
ifeq ($(PEGASUS_INTEROP_NAMESPACE),root/interop) |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile.interop replace |
|
endif |
|
ifeq ($(PEGASUS_INTEROP_NAMESPACE),interop) |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile.interop replace |
|
endif |
|
|
|
# buildclientlibs: The libpegclient depends on libpegcommon library. |
|
# This build target can be used to build just these two libraries. |
|
# With this target, SLP support for clients is not enabled. |
|
# |
|
|
|
buildclientlibs: FORCE |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Common -f Makefile |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Client -f Makefile |
|
|
#---------------------- | #---------------------- |
# setupdevserver and cleandevserver are used to setup and clear the | # setupdevserver and cleandevserver are used to setup and clear the |
# server configuration files needed to run the server in a development | # server configuration files needed to run the server in a development |
|
|
# | # |
setupdevserver: FORCE | setupdevserver: FORCE |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run | $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run |
|
ifeq ($(PEGASUS_ENABLE_PROTOCOL_WEB), true) |
|
-$(MAKE) --directory=$(PEGASUS_ROOT)/www -f Makefile setupwebadmin |
|
endif |
@$(ECHO) "PEGASUS Development Server Runtime Environment configured " | @$(ECHO) "PEGASUS Development Server Runtime Environment configured " |
| |
cleandevserver: FORCE | cleandevserver: FORCE |
|
|
@ $(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscript \ | @ $(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscript \ |
-f Makefile repositoryServer | -f Makefile repositoryServer |
| |
config: |
|
@ $(ROOT)/SetConfig_EnvVar |
|
|
|
rootbundle: | rootbundle: |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile | $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile |
|
|
|
# DO NOT DELETE |