version 1.53, 2010/02/18 01:47:27
|
version 1.56, 2012/07/30 09:23:49
|
|
|
# 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" |
|
|
#----------------------- | #----------------------- |
# 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 |