(file) Return to Makefile.webAdmin CVS log (file) (dir) Up to [Pegasus] / pegasus

 1 lawrence.luo 1.2 #//%LICENSE////////////////////////////////////////////////////////////////
 2                  #//
 3                  #// 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                  #//
10                  #// 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                  #//
17                  #// The above copyright notice and this permission notice shall be included
18                  #// in all copies or substantial portions of the Software.
19                  #//
20                  #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21                  #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 lawrence.luo 1.2 #// 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                  #//
28                  #//////////////////////////////////////////////////////////////////////////
29                  # Makefile for webadmin website files.
30                  
31                  ROOT = .
32                  
33                  include $(ROOT)/env_var.status
34                  
35                  # There is no 'OS' defined when it is on linux platform, so define OS = linux.
36                  # On zOS,Solaris,HP ,'OS' has already been defined.
37                  ifndef OS
38                  	OS = linux
39                  endif
40                  
41                  # WEBADMIN_ROOT is the path where webadmin pages locate in source.
42                  WEBADMIN_ROOT = $(PEGASUS_ROOT)/www
43 lawrence.luo 1.2 
44                  # WEBADMIN_HOME/www is the path in the product.
45                  WEBADMIN_HOME = $(PEGASUS_HOME)
46                  
47                  #WEBADMIN_TARGET is the path where webadmin pages locate in the system.
48                  # Following place holder are kept for future requirement when we have all the
49                  # difinition of WEBADMIN_TARGET for all supported platforms, But NOT CURRENTLY
50                  # IN USE
51                  ifeq ($(OS), linux)
52                   WEBADMIN_TARGET = /var/tog-pegasus/www
53                  endif
54                  
55                  ifeq ($(OS), zos)
56                   WEBADMIN_TARGET = /var/wbem/www
57                  endif
58                  
59                  ifeq ($(OS), PASE)
60                   WEBADMIN_TARGET = /QOpenSys/QIBM/UserData/UME/Pegasus/www
61                  endif
62                  
63                  ifeq ($(OS),solaris)
64 lawrence.luo 1.2 endif
65                  
66                  ifeq ($(OS),VMS)
67                  endif
68                  
69                  ifeq ($(OS),aix)
70                  endif
71                  
72                  ifeq ($(OS),windows)
73                  endif
74                  
75                  ifeq ($(OS),darwin)
76                  endif
77                  
78                  setupwebadmin: FORCE
79 ashok.pathak 1.3 	@$(CPDIRHIER) $(WEBADMIN_ROOT) $(WEBADMIN_HOME) || true
80 lawrence.luo 1.2 
81                  .PHONY: FORCE
82                  
83                  FORCE:
84                  include $(ROOT)/mak/commands.mak
85                  
86                  # DO NOT DELETE

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2