(file) Return to library.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

  1 martin 1.17 #//%2005////////////////////////////////////////////////////////////////////////
  2             #//
  3             #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  4             #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  5             #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  6             #// IBM Corp.; EMC Corporation, The Open Group.
  7             #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  8             #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
  9             #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10             #// EMC Corporation; VERITAS Software Corporation; The Open Group.
 11             #//
 12             #// Permission is hereby granted, free of charge, to any person obtaining a copy
 13             #// of this software and associated documentation files (the "Software"), to
 14             #// deal in the Software without restriction, including without limitation the
 15             #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 16             #// sell copies of the Software, and to permit persons to whom the Software is
 17             #// furnished to do so, subject to the following conditions:
 18             #// 
 19             #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20             #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 21             #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 22 martin 1.17 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 23             #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 24             #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 25             #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 26             #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27             #//
 28             #//==============================================================================
 29 kumpf  1.11 ifeq ($(PLATFORM_VERSION_SUPPORTED), yes)
 30               ifdef PLATFORM_COMPONENT_NAME
 31                  DEFINES += -DPLATFORM_COMPONENT_NAME=\"$(PLATFORM_COMPONENT_NAME)\"
 32               else
 33                  DEFINES += -DPLATFORM_COMPONENT_NAME=\"$(LIBRARY)\"
 34               endif
 35             endif
 36             
 37 mike   1.1  INCLUDES = -I$(ROOT)/src $(EXTRA_INCLUDES)
 38             
 39 mike   1.9  include $(ROOT)/mak/common.mak
 40             
 41 mike   1.1  ################################################################################
 42             ##
 43             ## Build list of object names.
 44             ##
 45             ################################################################################
 46             
 47             TMP_OBJECTS = $(foreach i,$(SOURCES),$(OBJ_DIR)/$i)
 48             
 49             ifeq ($(OS_TYPE),windows)
 50 a.dunfey 1.13 CPP_OBJECTS = $(TMP_OBJECTS:.cpp=.obj)
 51               OBJECTS = $(CPP_OBJECTS:.c=.obj)
 52 mike     1.1  else
 53 a.dunfey 1.13 CPP_OBJECTS = $(TMP_OBJECTS:.cpp=.o)
 54 schuur   1.14 OBJECTS = $(CPP_OBJECTS:.c=.o)
 55 mike     1.1  endif
 56               
 57               ################################################################################
 58               ##
 59               ## Library rule:
 60               ##
 61               ################################################################################
 62               
 63               ifeq ($(OS_TYPE),windows)
 64               include $(ROOT)/mak/library-windows.mak
 65 mike     1.8  endif
 66               ifeq ($(OS_TYPE),unix)
 67 mike     1.1  include $(ROOT)/mak/library-unix.mak
 68 mike     1.8  endif
 69               ifeq ($(OS_TYPE),nsk)
 70               include $(ROOT)/mak/library-nsk.mak
 71 mike     1.1  endif
 72 gs.keenan 1.16 ifeq ($(OS_TYPE),vms)
 73                 include $(ROOT)/mak/library-vms.mak
 74                endif
 75 mike      1.1  
 76                ################################################################################
 77                ##
 78                ## Clean rules:
 79                ##
 80                ################################################################################
 81                
 82                include $(ROOT)/mak/clean.mak
 83                
 84                ################################################################################
 85                ##
 86                ## Build list of object names:
 87                ##
 88                ################################################################################
 89                
 90                include $(ROOT)/mak/objects.mak
 91                
 92                include $(ROOT)/mak/depend.mak
 93                
 94                include $(ROOT)/mak/build.mak
 95 mike      1.4  
 96 mike      1.5  include $(ROOT)/mak/docxx.mak
 97                
 98 mike      1.6  include $(ROOT)/mak/sub.mak
 99                
100 mike      1.1  -include $(OBJ_DIR)/depend.mak
101                
102 mike      1.2  include $(ROOT)/mak/misc.mak
103                
104 mike      1.1  tests: $(ERROR)
105 kumpf     1.10 
106 chuck     1.12 #l10n
107                
108 kumpf     1.10 poststarttests: $(ERROR)
109 konrad.r  1.15 

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2