(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus

File: [Pegasus] / pegasus / Makefile (download)
Revision: 1.27.2.1, Mon Jan 10 04:23:14 2005 UTC (19 years, 4 months ago) by jim.wunderlich
Changes since 1.27: +2 -0 lines
BUG#: 2493

TITLE: Pegasus binary repository build issues.

DESCRIPTION:


Added compare repositories test.

CIMMOF COMPILER changes:
   Changed compiler to accept command line arguments:
	-M to specify compile mode XML or BIN, defaults to XML as before
	-N to specify the repository name, defaults to repository as before
   Renamed existng get repository directory function
	from get/set_repository_name function to get/set_repository.
        Used get/set_repository_name function to get/set the new name parameter.
   Added get/set_repository_mode function

Makefile changes as needed to add options to compiler invocations
and added appropriate defaults.
   REPSOITORY_NAME is the default repository name.
   REPOSITORY_MODE s the default mode: XML
   REPOSITORY_ROOT now includes the default repository name

# Pegasus top level make file
# options are
# Make rebuild
# Make world
# Make tests - Executes the complete test suite
# Make repository - Rebuilds the Pegasus repository
#
ROOT = .

include $(ROOT)/env_var.status
include $(ROOT)/mak/config.mak

# This is a recurse make file
# Defines subdirectorys to go to recursively

# DIRS = src cgi
DIRS = src test rpm Schemas

# Define the inclusion of the recurse.mak file to execute the next
# level of makefiles defined by the DIRS variable

include $(ROOT)/mak/recurse.mak

# rebuild target cleans, setup dependencies, compiles all and builds 
# repository

FORCE:

rebuild: clean depend all repository
	@ $(MAKE) -s tests

world: depend all repository
	@ $(MAKE) -s tests

# The repository Target removes and rebuilds the CIM repository

# Note: Arguments must be quoted to preserve upper case characters in VMS.
repository: FORCE
	@ $(MAKE) "-SC" Schemas/Pegasus repository



repositoryServer: FORCE
	@ $(MAKE) "-SC" Schemas/Pegasus repositoryServer

testrepository: FORCE
	@ $(MAKE) "-SC" src/Providers/sample/Load repository
	@ $(MAKE) "-SC" test/wetest repository
	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repository
	@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository
	@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository

testrepositoryServer: FORCE
	@ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer
	@ $(MAKE) "-SC" test/wetest repositoryServer
	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repositoryServer
	@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer
	@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer

removetestrepository: FORCE
	@ $(MAKE) "-SC" src/Providers/sample/Load removerepository
	@ $(MAKE) "-SC" test/wetest removerepository
	@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository

config:
	@ $(ROOT)/SetConfig_EnvVar

all: messages 

messages: rootbundle

rootbundle: 
	$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile

# the collections of tests that we run with the server active.
# For now, these are centralized and do not include startup
# and shutdown of the server.

activetests: FORCE
	$(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile clean
	$(PEGASUS_ROOT)/bin/TestClient
	$(PEGASUS_ROOT)/bin/Client
	$(MAKE) --directory=$(PEGASUS_ROOT)/test -f Makefile tests

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2