Blame Makefile.webAdmin

Packit 8fd333
#//%LICENSE////////////////////////////////////////////////////////////////
Packit 8fd333
#//
Packit 8fd333
#// Licensed to The Open Group (TOG) under one or more contributor license
Packit 8fd333
#// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
Packit 8fd333
#// this work for additional information regarding copyright ownership.
Packit 8fd333
#// Each contributor licenses this file to you under the OpenPegasus Open
Packit 8fd333
#// Source License; you may not use this file except in compliance with the
Packit 8fd333
#// License.
Packit 8fd333
#//
Packit 8fd333
#// Permission is hereby granted, free of charge, to any person obtaining a
Packit 8fd333
#// copy of this software and associated documentation files (the "Software"),
Packit 8fd333
#// to deal in the Software without restriction, including without limitation
Packit 8fd333
#// the rights to use, copy, modify, merge, publish, distribute, sublicense,
Packit 8fd333
#// and/or sell copies of the Software, and to permit persons to whom the
Packit 8fd333
#// Software is furnished to do so, subject to the following conditions:
Packit 8fd333
#//
Packit 8fd333
#// The above copyright notice and this permission notice shall be included
Packit 8fd333
#// in all copies or substantial portions of the Software.
Packit 8fd333
#//
Packit 8fd333
#// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Packit 8fd333
#// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit 8fd333
#// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Packit 8fd333
#// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
Packit 8fd333
#// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
Packit 8fd333
#// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
Packit 8fd333
#// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Packit 8fd333
#//
Packit 8fd333
#//////////////////////////////////////////////////////////////////////////
Packit 8fd333
# Makefile for webadmin website files.
Packit 8fd333
Packit 8fd333
ROOT = .
Packit 8fd333
Packit 8fd333
include $(ROOT)/env_var.status
Packit 8fd333
Packit 8fd333
# There is no 'OS' defined when it is on linux platform, so define OS = linux.
Packit 8fd333
# On zOS,Solaris,HP ,'OS' has already been defined.
Packit 8fd333
ifndef OS
Packit 8fd333
	OS = linux
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
# WEBADMIN_ROOT is the path where webadmin pages locate in source.
Packit 8fd333
WEBADMIN_ROOT = $(PEGASUS_ROOT)/www
Packit 8fd333
Packit 8fd333
# WEBADMIN_HOME/www is the path in the product.
Packit 8fd333
WEBADMIN_HOME = $(PEGASUS_HOME)
Packit 8fd333
Packit 8fd333
#WEBADMIN_TARGET is the path where webadmin pages locate in the system.
Packit 8fd333
# Following place holder are kept for future requirement when we have all the
Packit 8fd333
# difinition of WEBADMIN_TARGET for all supported platforms, But NOT CURRENTLY
Packit 8fd333
# IN USE
Packit 8fd333
ifeq ($(OS), linux)
Packit 8fd333
 WEBADMIN_TARGET = /var/tog-pegasus/www
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
ifeq ($(OS), zos)
Packit 8fd333
 WEBADMIN_TARGET = /var/wbem/www
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
ifeq ($(OS), PASE)
Packit 8fd333
 WEBADMIN_TARGET = /QOpenSys/QIBM/UserData/UME/Pegasus/www
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
ifeq ($(OS),solaris)
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
ifeq ($(OS),VMS)
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
ifeq ($(OS),aix)
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
ifeq ($(OS),windows)
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
ifeq ($(OS),darwin)
Packit 8fd333
endif
Packit 8fd333
Packit 8fd333
setupwebadmin: FORCE
Packit 8fd333
	-@$(CPDIRHIER) $(WEBADMIN_ROOT) $(WEBADMIN_HOME)
Packit 8fd333
Packit 8fd333
.PHONY: FORCE
Packit 8fd333
Packit 8fd333
FORCE:
Packit 8fd333
include $(ROOT)/mak/commands.mak
Packit 8fd333
Packit 8fd333
# DO NOT DELETE