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

 1 martin 1.18 #//%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.19 #//
 3 martin 1.18 #// Licensed to The Open Group (TOG) under one or more contributor license
 4             #// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5             #// this work for additional information regarding copyright ownership.
 6             #// Each contributor licenses this file to you under the OpenPegasus Open
 7             #// Source License; you may not use this file except in compliance with the
 8             #// License.
 9 martin 1.19 #//
10 martin 1.18 #// Permission is hereby granted, free of charge, to any person obtaining a
11             #// copy of this software and associated documentation files (the "Software"),
12             #// to deal in the Software without restriction, including without limitation
13             #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
14             #// and/or sell copies of the Software, and to permit persons to whom the
15             #// Software is furnished to do so, subject to the following conditions:
16 martin 1.19 #//
17 martin 1.18 #// The above copyright notice and this permission notice shall be included
18             #// in all copies or substantial portions of the Software.
19 martin 1.19 #//
20 martin 1.18 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.19 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.18 #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23             #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24             #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25             #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26             #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 martin 1.19 #//
28 martin 1.18 #//////////////////////////////////////////////////////////////////////////
29 kumpf  1.1  # Makefile builds the Pegasus Internal Namepspace
30 kumpf  1.17 # Note: For best results, ensure that the Internal namespace does not
31             #       exist before calling this Makefile.
32 kumpf  1.1  
33 kumpf  1.20 ROOT = ../../..
34 kumpf  1.1  include $(ROOT)/mak/config.mak
35 kumpf  1.3  include $(ROOT)/mak/configschema.mak
36 kumpf  1.1  
37             # The following two variables determine the version of the Schema to
38             # be loaded into the Pegasus Internal Namespace.
39             # Update the following two environment variables to change the version.
40             
41             PG_SCHEMA_VER=20
42             PG_SCHEMA_DIR=VER$(PG_SCHEMA_VER)
43             PG_MOF_PATH=$(ROOT)/Schemas/Pegasus/Internal/$(PG_SCHEMA_DIR)
44             
45             all:
46             
47             # Delete and rebuild the repository using the MOF compiler.
48             
49             repository:
50 kumpf  1.8  	@ $(ECHO) +++++ Loading Core$(CIM_SCHEMA_VER)_Qualifiers.mof into $(INTERNALNS) namespace ...
51 carson.hovey 1.13 	@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-n$(INTERNALNS)" "$(CIM_SCHEMA_DIR)/Core$(CIM_SCHEMA_VER)_Qualifiers.mof"
52 kumpf        1.8  	@ $(ECHO) +++++ Loading PG_InternalSchema$(PG_SCHEMA_VER).mof into $(INTERNALNS) namespace...
53 carson.hovey 1.13 	@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(PG_MOF_PATH)" "-n$(INTERNALNS)" "$(PG_MOF_PATH)/PG_InternalSchema$(PG_SCHEMA_VER).mof"
54 jim.wunderlich 1.15 ifeq ($(PEGASUS_ENABLE_SLP),true)
55 denise.eckstein 1.9  	@ $(ECHO) +++++ Loading PG_SLPTemplate.mof into $(INTERNALNS) namespace...
56 carson.hovey    1.13 	@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(PG_MOF_PATH)" "-n$(INTERNALNS)" "$(PG_MOF_PATH)/PG_SLPTemplate.mof"
57 denise.eckstein 1.9  endif
58                      
59 kumpf           1.1  
60 kumpf           1.4  repositoryServer:
61 kumpf           1.8  	@ $(ECHO) +++++ Loading Core$(CIM_SCHEMA_VER)_Qualifiers.mof into $(INTERNALNS) namespace ...
62 carson.hovey    1.13 	@ cimmof "-n$(INTERNALNS)" "$(CIM_SCHEMA_DIR)/Core$(CIM_SCHEMA_VER)_Qualifiers.mof"
63 kumpf           1.8  	@ $(ECHO) +++++ Loading PG_InternalSchema$(PG_SCHEMA_VER).mof into $(INTERNALNS) namespace...
64 carson.hovey    1.13 	@ cimmof "-I$(PG_MOF_PATH)" "-n$(INTERNALNS)" "$(PG_MOF_PATH)/PG_InternalSchema$(PG_SCHEMA_VER).mof"
65 jim.wunderlich  1.15 ifeq ($(PEGASUS_ENABLE_SLP),true)
66 denise.eckstein 1.9  	@ $(ECHO) +++++ Loading PG_SLPTemplate.mof into $(INTERNALNS) namespace...
67 carson.hovey    1.13 	@ cimmof "-I$(PG_MOF_PATH)" "-n$(INTERNALNS)" "$(PG_MOF_PATH)/PG_SLPTemplate.mof"
68 denise.eckstein 1.9  endif
69 kumpf           1.4  
70 kumpf           1.1  clean:
71                      
72                      depend:
73                      
74                      sub:
75                      
76                      misc:
77                      
78                      tests:
79                      
80                      poststarttests:
81                      
82                      general:

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2