📄 makefile
字号:
#//%2006////////////////////////////////////////////////////////////////////////#//#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;#// IBM Corp.; EMC Corporation, The Open Group.#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;#// EMC Corporation; VERITAS Software Corporation; The Open Group.#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;#// EMC Corporation; Symantec Corporation; The Open Group.#//#// Permission is hereby granted, free of charge, to any person obtaining a copy#// of this software and associated documentation files (the "Software"), to#// deal in the Software without restriction, including without limitation the#// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or#// sell copies of the Software, and to permit persons to whom the Software is#// furnished to do so, subject to the following conditions:#//#// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN#// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED#// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT#// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR#// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT#// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN#// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.#//#//==============================================================================ifndef PEGASUS_ROOT $(error PEGASUS_ROOT environment variable undefined)endififndef PEGASUS_HOME $(error PEGASUS_HOME environment variable undefined)endifinclude $(PEGASUS_ROOT)/mak/config.makinclude $(PEGASUS_ROOT)/mak/configschema.makinclude $(PEGASUS_ROOT)/test/config.mak.SUFFIXES: .java .class .jar.java.class:# Note: .. included in path to compile package helper classes if necessary $(PEGASUS_JAVA_COMPILER) -classpath $(PEGASUS_HOME)/lib/JMPIImpl.jar$(PEGASUS_JAVA_CLASSPATH_DELIMITER).. $*.javaNAMESPACE = root/SampleProviderPACKAGEDIR = Instances/JAR1 = JMPIExpInstanceProvider.jarJAR1CLASSES = \ JMPIExpInstanceProvider.classJAR2 = JMPIInstanceProvider.jarJAR2CLASSES = \ JMPIInstanceProvider.classJAR3 = JMPICIMInstanceProvider.jarJAR3CLASSES = \ JMPICIMInstanceProvider.classJAR4 = JMPICIMInstance2Provider.jarJAR4CLASSES = \ JMPICIMInstance2Provider.classJARS = $(JAR1) $(JAR2) $(JAR3) $(JAR4)LOCAL_CLEAN_TARGET = \ $(JAR1CLASSES) $(addprefix $(PEGASUS_HOME)/lib/,$(JAR1)) \ $(JAR2CLASSES) $(addprefix $(PEGASUS_HOME)/lib/,$(JAR2)) \ $(JAR3CLASSES) $(addprefix $(PEGASUS_HOME)/lib/,$(JAR3)) \ $(JAR4CLASSES) $(addprefix $(PEGASUS_HOME)/lib/,$(JAR4)) \ *.classQUOTE=\"ifeq ($(OS_TYPE),vms)QUOTE=""endifall build: $(addprefix $(PEGASUS_HOME)/lib/,$(JARS))depend:clean: $(RM) $(LOCAL_CLEAN_TARGET)repository: cimmofl_repositorycimmofl_repository: @$(ECHO) +++++ Loading CIM_Core$(CIM_SCHEMA_VER) into $(NAMESPACE) namespace ... @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(CIM_SCHEMA_DIR)" "-n$(NAMESPACE)" $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof @$(ECHO) +++++ Loading CIM_Event$(CIM_SCHEMA_VER) into $(NAMESPACE) namespace ... @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(CIM_SCHEMA_DIR)" "-n$(NAMESPACE)" $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Event$(CIM_SCHEMA_VER).mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR1)) into $(NAMESPACE) namespace ... @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR1)).mof @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR1))R.mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR2)) into $(NAMESPACE) namespace ... @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR2)).mof @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR2))R.mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR3)) into $(NAMESPACE) namespace ... @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR3)).mof @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR3))R.mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR4)) into $(NAMESPACE) namespace ... @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR4)).mof @cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR4))R.mofcimmof_repository: @$(ECHO) +++++ Loading CIM_Core$(CIM_SCHEMA_VER) into $(NAMESPACE) namespace ... @cimmof "-I$(CIM_SCHEMA_DIR)" "-n$(NAMESPACE)" $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof @$(ECHO) +++++ Loading CIM_Event$(CIM_SCHEMA_VER) into $(NAMESPACE) namespace ... @cimmof "-I$(CIM_SCHEMA_DIR)" "-n$(NAMESPACE)" $(ALLOW_EXPERIMENTAL) $(CIM_SCHEMA_DIR)/CIM_Event$(CIM_SCHEMA_VER).mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR1)) into $(NAMESPACE) namespace ... @cimmof -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR1)).mof @cimmof -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR1))R.mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR2)) into $(NAMESPACE) namespace ... @cimmof -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR2)).mof @cimmof -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR2))R.mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR3)) into $(NAMESPACE) namespace ... @cimmof -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR3)).mof @cimmof -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR3))R.mof @$(ECHO) +++++ Loading $(subst .jar,,$(JAR4)) into $(NAMESPACE) namespace ... @cimmof -I. "-n$(NAMESPACE)" $(subst .jar,,$(JAR4)).mof @cimmof -I. "-n$(INTEROPNS)" $(subst .jar,,$(JAR4))R.moftests:poststarttests: $(addprefix $(PEGASUS_HOME)/lib/,$(JARS)) cimcli im -n $(NAMESPACE) "JMPIExpInstance_TestPropertyTypes" "resetProvider" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPIExpInstance_TestPropertyTypes.CreationClassName=$(QUOTE)JMPIExpInstance_TestPropertyTypes$(QUOTE),InstanceId=1" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPIExpInstance_TestPropertyTypes.CreationClassName=$(QUOTE)JMPIExpInstance_TestPropertyTypes$(QUOTE),InstanceId=2" cimcli ni --sum -count 2 -n $(NAMESPACE) "JMPIExpInstance_TestPropertyTypes" cimcli ei --sum -count 2 -n $(NAMESPACE) "JMPIExpInstance_TestPropertyTypes" cimcli im -n $(NAMESPACE) "JMPIExpInstance_TestPropertyTypes" "enableModifications" "fState=true" cimcli im -n $(NAMESPACE) "JMPIInstance_TestPropertyTypes" "resetProvider" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPIInstance_TestPropertyTypes.CreationClassName=$(QUOTE)JMPIInstance_TestPropertyTypes$(QUOTE),InstanceId=1" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPIInstance_TestPropertyTypes.CreationClassName=$(QUOTE)JMPIInstance_TestPropertyTypes$(QUOTE),InstanceId=2" cimcli ni --sum -count 2 -n $(NAMESPACE) "JMPIInstance_TestPropertyTypes" cimcli ei --sum -count 2 -n $(NAMESPACE) "JMPIInstance_TestPropertyTypes" cimcli im -n $(NAMESPACE) "JMPIInstance_TestPropertyTypes" "enableModifications" "fState=true" cimcli im -n $(NAMESPACE) "JMPICIMInstance_TestPropertyTypes" "resetProvider" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPICIMInstance_TestPropertyTypes.CreationClassName=$(QUOTE)JMPICIMInstance_TestPropertyTypes$(QUOTE),InstanceId=1" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPICIMInstance_TestPropertyTypes.CreationClassName=$(QUOTE)JMPICIMInstance_TestPropertyTypes$(QUOTE),InstanceId=2" cimcli ni --sum -count 2 -n $(NAMESPACE) "JMPICIMInstance_TestPropertyTypes" cimcli ei --sum -count 2 -n $(NAMESPACE) "JMPICIMInstance_TestPropertyTypes" cimcli im -n $(NAMESPACE) "JMPICIMInstance_TestPropertyTypes" "enableModifications" "fState=true" cimcli im -n $(NAMESPACE) "JMPICIMInstance2_TestPropertyTypes" "resetProvider" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPICIMInstance2_TestPropertyTypes.CreationClassName=$(QUOTE)JMPICIMInstance2_TestPropertyTypes$(QUOTE),InstanceId=1" cimcli gi --sum -count 1 -n $(NAMESPACE) "JMPICIMInstance2_TestPropertyTypes.CreationClassName=$(QUOTE)JMPICIMInstance2_TestPropertyTypes$(QUOTE),InstanceId=2" cimcli ni --sum -count 2 -n $(NAMESPACE) "JMPICIMInstance2_TestPropertyTypes" cimcli ei --sum -count 2 -n $(NAMESPACE) "JMPICIMInstance2_TestPropertyTypes" cimcli im -n $(NAMESPACE) "JMPICIMInstance2_TestPropertyTypes" "enableModifications" "fState=true"poststarttests2: cimcli xq -n $(NAMESPACE) "SELECT InstanceId FROM JMPIExpInstance_TestPropertyTypes WHERE InstanceId = 1" "WQL"$(PEGASUS_HOME)/lib/$(JAR1): $(JAR1CLASSES) CommonInstanceProvider.class make -f JarMakefile $@$(PEGASUS_HOME)/lib/$(JAR2): $(JAR2CLASSES) CommonInstanceProvider.class make -f JarMakefile $@$(PEGASUS_HOME)/lib/$(JAR3): $(JAR3CLASSES) CommonInstanceProvider.class make -f JarMakefile $@$(PEGASUS_HOME)/lib/$(JAR4): $(JAR4CLASSES) CommonInstanceProvider.class make -f JarMakefile $@#include $(ROOT)/test/configend.mak
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -