Return to Makefile CVS log | Up to [Pegasus] / pegasus / Schemas / Pegasus / ManagedSystem |
File: [Pegasus] / pegasus / Schemas / Pegasus / ManagedSystem / Makefile
(download)
Revision: 1.2, Thu May 9 01:01:45 2002 UTC (22 years, 2 months ago) by kumpf Branch: MAIN CVS Tags: VERSION_2_00_RC_1, VERSION_1_10 Changes since 1.1: +9 -0 lines HP-DME: Add respositoryServer option to Makefiles. This option uses cimmof (i.e., CIM Client API) to create the repository. |
# Makefile builds a Managed System 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 Managed System 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/ManagedSystem/$(PG_SCHEMA_DIR) CIM_SCHEMA_VER=25 CIM_SCHEMA_DIR=CIM$(CIM_SCHEMA_VER) CIM_MOF_PATH = $(ROOT)/Schemas/$(CIM_SCHEMA_DIR) # The following defines are used to determine the version of # the platform specific schema to be loaded into Managed System namespace. MANAGEDSYSTEM_NS_SUPPORTED = true ifeq ($(PEGASUS_PLATFORM), HPUX_PARISC_ACC) MS_EXTSCHEMA_VER = MS_EXTSCHEMA_DIR = HPUX$(CIM_SCHEMA_VER) MS_EXTPATH = $(ROOT)/Schemas/Pegasus/ManagedSystem/$MS_SCHEMA_DIR) LOADEXTSCHEMA = endif ifeq ($(MANAGEDSYSTEM_NS_SUPPORTED),true) repository: @ echo +++++ Removing existing repository named $(MANAGEDSYSTEMNS) @ $(RMREPOSITORY) $(MANAGEDSYSTEMNSDIRECTORY) @ echo +++++ Loading CIM_Schema$(CIM_SCHEMA_VER) into $(MANAGEDSYSTEMNS) namespace ... @ $(CIMMOFCLI) -I$(CIM_MOF_PATH) -n$(MANAGEDSYSTEMNS) $(CIM_MOF_PATH)/CIM_Schema$(CIM_SCHEMA_VER).mof @ echo +++++ Loading PG_ManagedSystemSchema$(PG_SCHEMA_VER) into $(MANAGEDSYSTEMNS) namespace ... @ $(CIMMOFCLI) -I$(PG_MOF_PATH) -n$(MANAGEDSYSTEMNS) $(PG_MOF_PATH)/PG_ManagedSystemSchema$(PG_SCHEMA_VER).mof @ echo +++++ Registering Providers for PG_ManagedSystemSchema$(PG_SCHEMA_VER) ... @ $(CIMMOFCLI) -I$(PG_MOF_PATH) -n$(INTEROPNS) $(PG_MOF_PATH)/PG_ManagedSystemSchema$(PG_SCHEMA_VER)R.mof $(LOADEXTSCHEMA) repositoryServer: @ echo +++++ Loading CIM_Schema$(CIM_SCHEMA_VER) into $(MANAGEDSYSTEMNS) namespace ... @ cimmof -I$(CIM_MOF_PATH) -n$(MANAGEDSYSTEMNS) $(CIM_MOF_PATH)/CIM_Schema$(CIM_SCHEMA_VER).mof @ echo +++++ Loading PG_ManagedSystemSchema$(PG_SCHEMA_VER) into $(MANAGEDSYSTEMNS) namespace ... @ cimmof -I$(PG_MOF_PATH) -n$(MANAGEDSYSTEMNS) $(PG_MOF_PATH)/PG_ManagedSystemSchema$(PG_SCHEMA_VER).mof @ echo +++++ Registering Providers for PG_ManagedSystemSchema$(PG_SCHEMA_VER) ... @ cimmof -I$(PG_MOF_PATH) -n$(INTEROPNS) $(PG_MOF_PATH)/PG_ManagedSystemSchema$(PG_SCHEMA_VER)R.mof $(LOADEXTSCHEMA) clean: @ echo +++++ Removing existing Repository named $(MANAGEDSYSTEMNS) @ $(RMREPOSITORY) $(MANAGEDSYSTEMNSDIRECTORY) else repository: @ echo +++++ No Managed System Namespace defined for this platform ++++ clean: endif depend: sub: misc: tests: poststarttests: general:
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |