version 1.1, 2004/08/22 03:20:45
|
version 1.4, 2004/08/25 23:15:10
|
|
|
endif | endif |
| |
include $(ROOT)/mak/config.mak | include $(ROOT)/mak/config.mak |
include $(ROOT)/mak/commands.mak |
|
| |
DIRS = src | DIRS = src |
| |
include $(ROOT)/mak/recurse.mak | include $(ROOT)/mak/recurse.mak |
| |
rebuild: clean depend all repository |
FORCE: |
$(MAKE) -s tests |
|
|
world: cimstop_IgnoreError depend all repository install |
|
@$(ECHO) "build completed successfully" |
| |
world: depend all repository |
rebuild: cimstop_IgnoreError clean depend all repository install |
$(MAKE) -s tests |
@$(ECHO) "rebuild completed successfully" |
| |
repository: FORCE | repository: FORCE |
$(MAKE) "-SC" Schemas/Pegasus repository | $(MAKE) "-SC" Schemas/Pegasus repository |
| |
|
install: FORCE |
|
$(MAKE) -f $(ROOT)/Makefile.Release verify_install_enabled |
|
$(MAKE) -f $(ROOT)/Makefile.Release preinstall_cleanup |
|
$(MAKE) -f $(ROOT)/Makefile.Release createPegasusDirectories |
|
$(MAKE) -f $(ROOT)/Makefile.Release copyPegasusFiles |
|
$(MAKE) -f $(ROOT)/Makefile.Release createPegasusFiles |
|
|
PEGASUS_LICENSE = \ | PEGASUS_LICENSE = \ |
license.txt | license.txt |
| |
|
|
cimauth \ | cimauth \ |
cimconfig \ | cimconfig \ |
cimserver \ | cimserver \ |
cimuser |
cimuser \ |
|
cimprovagt \ |
|
cimservera |
| |
PEGASUS_USER_CMDS = \ | PEGASUS_USER_CMDS = \ |
cimmof \ | cimmof \ |
|
|
cimconfig.1m \ | cimconfig.1m \ |
cimserver.1m | cimserver.1m |
| |
|
CIM28_MOF_FILES = \ |
|
Application28_AppRuntime.mof \ |
|
Application28_BIOS.mof \ |
|
Application28_CheckAction.mof \ |
|
Application28_DeploymentModel.mof \ |
|
Application28_InstalledProduct.mof \ |
|
Application28_J2eeAppServer.mof \ |
|
Application28_J2eeAppServerStats.mof \ |
|
Application28_SystemSoftware.mof \ |
|
CIM_Application28.mof \ |
|
CIM_Core28.mof \ |
|
CIM_Database28.mof \ |
|
CIM_Device28.mof \ |
|
CIM_Event28.mof \ |
|
CIM_Interop28.mof \ |
|
CIM_IPsecPolicy28.mof \ |
|
CIM_Metrics28.mof \ |
|
CIM_Network28.mof \ |
|
CIM_Physical28.mof \ |
|
CIM_Policy28.mof \ |
|
CIM_Schema28.mof \ |
|
CIM_Support28.mof \ |
|
CIM_System28.mof \ |
|
CIM_User28.mof \ |
|
Core28_Capabilities.mof \ |
|
Core28_Collection.mof \ |
|
Core28_CoreElements.mof \ |
|
Core28_Device.mof \ |
|
Core28_MethodParms.mof \ |
|
Core28_Physical.mof \ |
|
Core28_PowerMgmt.mof \ |
|
Core28_ProductFRU.mof \ |
|
Core28_Qualifiers.mof \ |
|
Core28_Redundancy.mof \ |
|
Core28_Service.mof \ |
|
Core28_Settings.mof \ |
|
Core28_Software.mof \ |
|
Core28_Statistics.mof \ |
|
Core28_StorageExtent.mof \ |
|
Database28_Statistics.mof \ |
|
Database28_Storage.mof \ |
|
Database28_System.mof \ |
|
Device28_Controller.mof \ |
|
Device28_CoolingAndPower.mof \ |
|
Device28_DeviceElements.mof \ |
|
Device28_DiskGroup.mof \ |
|
Device28_FC.mof \ |
|
Device28_IB.mof \ |
|
Device28_Memory.mof \ |
|
Device28_Modems.mof \ |
|
Device28_NetworkAdapter.mof \ |
|
Device28_Ports.mof \ |
|
Device28_Printing.mof \ |
|
Device28_Processor.mof \ |
|
Device28_ProtocolController.mof \ |
|
Device28_SccExtents.mof \ |
|
Device28_Sensors.mof \ |
|
Device28_StorageDevices.mof \ |
|
Device28_StorageExtents.mof \ |
|
Device28_StorageLib.mof \ |
|
Device28_StorageServices.mof \ |
|
Device28_USB.mof \ |
|
Device28_UserDevices.mof \ |
|
Metrics28_BaseMetric.mof \ |
|
Metrics28_UnitOfWork.mof \ |
|
Network28_BGP.mof \ |
|
Network28_Buffers.mof \ |
|
Network28_Collections.mof \ |
|
Network28_Filtering.mof \ |
|
Network28_IPsec.mof \ |
|
Network28_OSPF.mof \ |
|
Network28_Pipes.mof \ |
|
Network28_ProtocolEndpoints.mof \ |
|
Network28_QoS.mof \ |
|
Network28_Routes.mof \ |
|
Network28_RoutingForwarding.mof \ |
|
Network28_SNMP.mof \ |
|
Network28_SwitchingBridging.mof \ |
|
Network28_Systems.mof \ |
|
Network28_VLAN.mof \ |
|
Physical28_Component.mof \ |
|
Physical28_Connector.mof \ |
|
Physical28_Link.mof \ |
|
Physical28_Misc.mof \ |
|
Physical28_Package.mof \ |
|
Physical28_PhysicalMedia.mof \ |
|
Physical28_StoragePackage.mof \ |
|
System28_Boot.mof \ |
|
System28_Diagnostics.mof \ |
|
System28_FileElements.mof \ |
|
System28_Logs.mof \ |
|
System28_OperatingSystem.mof \ |
|
System28_Processing.mof \ |
|
System28_SystemElements.mof \ |
|
System28_SystemResources.mof \ |
|
System28_Time.mof \ |
|
System28_Unix.mof \ |
|
User28_AccessControl.mof \ |
|
User28_Account.mof \ |
|
User28_AuthenticationReqmt.mof \ |
|
User28_Credential.mof \ |
|
User28_Group.mof \ |
|
User28_Identity.mof \ |
|
User28_Kerberos.mof \ |
|
User28_Org.mof \ |
|
User28_PrivilegeManagementService.mof \ |
|
User28_Privilege.mof \ |
|
User28_PublicKey.mof \ |
|
User28_Role.mof \ |
|
User28_SecurityLevel.mof \ |
|
User28_SecurityServices.mof \ |
|
User28_SharedSecret.mof \ |
|
User28_StorageHardwareID.mof \ |
|
User28_UsersAccess.mof |
|
|
INTERNAL_MOF_FILES = \ | INTERNAL_MOF_FILES = \ |
PG_Authorization20.mof \ | PG_Authorization20.mof \ |
PG_ConfigSetting20.mof \ | PG_ConfigSetting20.mof \ |
|
|
PG_UnixProcess20.mof \ | PG_UnixProcess20.mof \ |
PG_UnixProcess20R.mof | PG_UnixProcess20R.mof |
| |
FORCE: |
|
|
|
build: |
|
$(MAKE) -f $(ROOT)/Makefile.Release verify_install_enabled |
|
$(MAKE) |
|
|
|
verify_install_enabled: FORCE | verify_install_enabled: FORCE |
ifndef PEGASUS_ENABLE_MAKE_INSTALL | ifndef PEGASUS_ENABLE_MAKE_INSTALL |
@$(ECHO) "Use of \"make install\" is not enabled for this operating environment." | @$(ECHO) "Use of \"make install\" is not enabled for this operating environment." |
|
|
$(foreach i, $(PEGASUS_PROVIDERS), $(MAKE) -f $(ROOT)/mak/commands.mak createlink OBJECT=$(i)$(LIB_SUFFIX) LINKNAME=$(PEGASUS_STAGING_DIR)$(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_LINK_SUFFIX);) | $(foreach i, $(PEGASUS_PROVIDERS), $(MAKE) -f $(ROOT)/mak/commands.mak createlink OBJECT=$(i)$(LIB_SUFFIX) LINKNAME=$(PEGASUS_STAGING_DIR)$(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_LINK_SUFFIX);) |
| |
createPegasusAdminCmdsDirectoryFiles: FORCE | createPegasusAdminCmdsDirectoryFiles: FORCE |
$(foreach i, $(PEGASUS_ADMIN_CMDS), $(COPY) $(PEGASUS_HOME)/bin/$(i)$(EXE_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_SBIN_DIR)/$(i)$(EXE_SUFFIX); $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(P_r_xr__r__)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_SBIN_DIR)/$(i)$(EXE_SUFFIX);) |
$(foreach i, $(PEGASUS_ADMIN_CMDS), $(COPY) $(PEGASUS_HOME)/bin/$(i)$(EXE) $(PEGASUS_STAGING_DIR)$(PEGASUS_SBIN_DIR)/$(i)$(EXE); $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(P_r_xr__r__)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_SBIN_DIR)/$(i)$(EXE);) |
| |
createPegasusUserCmdsDirectoryFiles: FORCE | createPegasusUserCmdsDirectoryFiles: FORCE |
$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR) | $(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR) |
$(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(Pdr_xr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR) | $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(Pdr_xr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR) |
$(foreach i, $(PEGASUS_USER_CMDS), $(COPY) $(PEGASUS_HOME)/bin/$(i)$(EXE_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR)/$(i)$(EXE_SUFFIX); $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(P_r_xr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR)/$(i)$(EXE_SUFFIX);) |
$(foreach i, $(PEGASUS_USER_CMDS), $(COPY) $(PEGASUS_HOME)/bin/$(i)$(EXE) $(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR)/$(i)$(EXE); $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(P_r_xr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_BIN_DIR)/$(i)$(EXE);) |
| |
copyRepositoryNamespaceDirectory: FORCE | copyRepositoryNamespaceDirectory: FORCE |
$(CPDIRHIER) $(NAMESPACE_DIR_NAME) $(PEGASUS_STAGING_DIR)$(PEGASUS_REPOSITORY_DIR) | $(CPDIRHIER) $(NAMESPACE_DIR_NAME) $(PEGASUS_STAGING_DIR)$(PEGASUS_REPOSITORY_DIR) |
|
|
$(foreach i, $(PEGASUS_UNIX_MAN_ADMIN_PAGES), $(COPY) $(ROOT)/rpm/manLinux/man1m.Z/$(i) $(PEGASUS_STAGING_DIR)$(PEGASUS_MANADMIN_DIR)/$(i); $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(P_r__r__r__)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_MANADMIN_DIR)/$(i);) | $(foreach i, $(PEGASUS_UNIX_MAN_ADMIN_PAGES), $(COPY) $(ROOT)/rpm/manLinux/man1m.Z/$(i) $(PEGASUS_STAGING_DIR)$(PEGASUS_MANADMIN_DIR)/$(i); $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(P_r__r__r__)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_MANADMIN_DIR)/$(i);) |
| |
copyCIMSchemaFiles: FORCE | copyCIMSchemaFiles: FORCE |
$(CPDIRHIER) $(PEGASUS_CIM_SCHEMA) $(PEGASUS_STAGING_DIR)$(PEGASUS_MOF_DIR); |
$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_MOF_DIR)/$(PEGASUS_CIM_SCHEMA) |
$(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(Pdr_xr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_MOF_DIR)/$(PEGASUS_CIM_SCHEMA) | $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(Pdr_xr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_MOF_DIR)/$(PEGASUS_CIM_SCHEMA) |
$(MAKE) -f $(ROOT)/mak/commands.mak sethierpermissions PERMISSIONS="$(P_r__r__r__)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_MOF_DIR)/$(PEGASUS_CIM_SCHEMA) |
$(foreach i, $($(PEGASUS_CIM_SCHEMA)_MOF_FILES), $(COPY) $(ROOT)/Schemas/$(PEGASUS_CIM_SCHEMA)/$(i) $(PEGASUS_STAGING_DIR)$(PEGASUS_MOF_DIR)/$(PEGASUS_CIM_SCHEMA)/$(i); $(MAKE) -f $(ROOT)/mak/commands.mak setpermissions PERMISSIONS="$(P_r__r__r__)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_MOF_DIR)/$(PEGASUS_CIM_SCHEMA)/$(i);) |
| |
createPegasusMOFDirectoryFiles: FORCE | createPegasusMOFDirectoryFiles: FORCE |
$(MAKE) --directory=$(ROOT)/Schemas -f $(ROOT)/Makefile.Release copyCIMSchemaFiles | $(MAKE) --directory=$(ROOT)/Schemas -f $(ROOT)/Makefile.Release copyCIMSchemaFiles |
|
|
$(MAKE) -f $(ROOT)/Makefile.Release createClientCertificateFiles | $(MAKE) -f $(ROOT)/Makefile.Release createClientCertificateFiles |
endif | endif |
| |
install: FORCE |
include $(ROOT)/mak/commands.mak |
$(MAKE) -f $(ROOT)/Makefile.Release verify_install_enabled |
|
$(MAKE) -f $(ROOT)/Makefile.Release preinstall_cleanup |
|
$(MAKE) -f $(ROOT)/Makefile.Release createPegasusDirectories |
|
$(MAKE) -f $(ROOT)/Makefile.Release copyPegasusFiles |
|
$(MAKE) -f $(ROOT)/Makefile.Release createPegasusFiles |
|