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

File: [Pegasus] / pegasus / Schemas / Pegasus / Internal / Makefile (download)
Revision: 1.9, Thu Aug 26 01:20:37 2004 UTC (19 years, 10 months ago) by denise.eckstein
Branch: MAIN
CVS Tags: pegasus25BeforeLicenseUpdate, SLPPERFINST-root, SLPPERFINST-branch, RELEASE_2_4_3, RELEASE_2_4_2, RELEASE_2_4_1-BETA3, RELEASE_2_4_1-BETA2, RELEASE_2_4_1-BETA1, RELEASE_2_4_1, RELEASE_2_4_0-RC3, RELEASE_2_4_0-RC2, RELEASE_2_4_0, RELEASE_2_4-root, RELEASE_2_4-branch, PEP217_PRE_BRANCH, PEP217_POST_BRANCH, PEP217_BRANCH, PEP213_SIZE_OPTIMIZATIONS, IBM_241_April1405, CHUNKTESTDONE_PEP140
Changes since 1.8: +9 -0 lines
BUG#: 1937
TITLE: PG_SLPTemplate.mof is unconditionally included in PG_InternalSchema20.mof

DESCRIPTION: Inclusion of PG_SLPTemplate.mof is now controlled by the PEGASUS_ENABLE_SLP variable.

# Makefile builds the Pegasus Internal Namepspace
# ATTN: Today this makefile is implementation dependent.
#       It assumes that the repository is a set of directories
#       that can be removed by removing the directories.
#       This must be updated to an implementation independent repository
#       remove function.

ROOT = $(PEGASUS_ROOT)
include $(ROOT)/mak/config.mak
include $(ROOT)/mak/configschema.mak

# The following two variables determine the version of the Schema to
# be loaded into the Pegasus Internal Namespace.
# Update the following two environment variables to change the version.

PG_SCHEMA_VER=20
PG_SCHEMA_DIR=VER$(PG_SCHEMA_VER)
PG_MOF_PATH=$(ROOT)/Schemas/Pegasus/Internal/$(PG_SCHEMA_DIR)

all:

# Delete and rebuild the repository using the MOF compiler.

repository:
	@ $(ECHO) +++++ Removing existing repository named $(INTERNALNS)
	@ $(RMREPOSITORY) $(INTERNALNSDIRECTORY)
	@ $(ECHO) +++++ Loading Core$(CIM_SCHEMA_VER)_Qualifiers.mof into $(INTERNALNS) namespace ...
	@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" -n$(INTERNALNS) $(CIM_SCHEMA_DIR)/Core$(CIM_SCHEMA_VER)_Qualifiers.mof
	@ $(ECHO) +++++ Loading PG_InternalSchema$(PG_SCHEMA_VER).mof into $(INTERNALNS) namespace...
	@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-I$(PG_MOF_PATH)" -n$(INTERNALNS) $(PG_MOF_PATH)/PG_InternalSchema$(PG_SCHEMA_VER).mof
ifdef PEGASUS_ENABLE_SLP
	@ $(ECHO) +++++ Loading PG_SLPTemplate.mof into $(INTERNALNS) namespace...
	@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-I$(PG_MOF_PATH)" -n$(INTERNALNS) $(PG_MOF_PATH)/PG_SLPTemplate.mof
endif


install:
	$(MKDIRHIER) $(LOCAL_STATE_PREFIX)
	$(MAKE) REPOSITORY_DIR=$(LOCAL_STATE_PREFIX) repository

repositoryServer:
	@ $(ECHO) +++++ Loading Core$(CIM_SCHEMA_VER)_Qualifiers.mof into $(INTERNALNS) namespace ...
	@ cimmof -n$(INTERNALNS) $(CIM_SCHEMA_DIR)/Core$(CIM_SCHEMA_VER)_Qualifiers.mof
	@ $(ECHO) +++++ Loading PG_InternalSchema$(PG_SCHEMA_VER).mof into $(INTERNALNS) namespace...
	@ cimmof "-I$(PG_MOF_PATH)" -n$(INTERNALNS) $(PG_MOF_PATH)/PG_InternalSchema$(PG_SCHEMA_VER).mof
ifdef PEGASUS_ENABLE_SLP
	@ $(ECHO) +++++ Loading PG_SLPTemplate.mof into $(INTERNALNS) namespace...
	@ cimmof "-I$(PG_MOF_PATH)" -n$(INTERNALNS) $(PG_MOF_PATH)/PG_SLPTemplate.mof
endif

clean:
	@ $(ECHO) +++++ Removing existing CIM Repository named $(REPOSITORY_ROOT)
	@ $(RMREPOSITORY) $(INTERNALNSDIRECTORY)


depend:

sub:

misc:

tests:

poststarttests:

general:

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2