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

  1 martin 1.24 #//%LICENSE////////////////////////////////////////////////////////////////
  2 martin 1.17 #// 
  3 martin 1.24 #// 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             #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 23             #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 24 martin 1.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 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 w.otsuka 1.21 ifdef PEGASUS_EXTRA_LIBRARY_LINK_FLAGS
 42                   EXTRA_LINK_FLAGS += $(PEGASUS_EXTRA_LIBRARY_LINK_FLAGS)
 43               endif
 44               
 45 mike     1.1  ################################################################################
 46               ##
 47               ## Build list of object names.
 48               ##
 49               ################################################################################
 50               
 51               TMP_OBJECTS = $(foreach i,$(SOURCES),$(OBJ_DIR)/$i)
 52               
 53               ifeq ($(OS_TYPE),windows)
 54 kumpf    1.19 S_OBJECTS = $(TMP_OBJECTS:.s=.obj)
 55               CPP_OBJECTS = $(S_OBJECTS:.cpp=.obj)
 56 a.dunfey 1.13 OBJECTS = $(CPP_OBJECTS:.c=.obj)
 57 mike     1.1  else
 58 kumpf    1.19 S_OBJECTS = $(TMP_OBJECTS:.s=.o)
 59               CPP_OBJECTS = $(S_OBJECTS:.cpp=.o)
 60 schuur   1.14 OBJECTS = $(CPP_OBJECTS:.c=.o)
 61 mike     1.1  endif
 62               
 63               ################################################################################
 64               ##
 65               ## Library rule:
 66               ##
 67               ################################################################################
 68               
 69               ifeq ($(OS_TYPE),windows)
 70               include $(ROOT)/mak/library-windows.mak
 71 mike     1.8  endif
 72               ifeq ($(OS_TYPE),unix)
 73 mike     1.1  include $(ROOT)/mak/library-unix.mak
 74 mike     1.8  endif
 75 gs.keenan 1.16 ifeq ($(OS_TYPE),vms)
 76                 include $(ROOT)/mak/library-vms.mak
 77                endif
 78 mike      1.1  
 79                ################################################################################
 80                ##
 81                ## Clean rules:
 82                ##
 83                ################################################################################
 84                
 85                include $(ROOT)/mak/clean.mak
 86                
 87                ################################################################################
 88                ##
 89                ## Build list of object names:
 90                ##
 91                ################################################################################
 92                
 93                include $(ROOT)/mak/objects.mak
 94                
 95                include $(ROOT)/mak/depend.mak
 96                
 97                include $(ROOT)/mak/build.mak
 98 mike      1.4  
 99 mike      1.5  include $(ROOT)/mak/docxx.mak
100                
101 mike      1.6  include $(ROOT)/mak/sub.mak
102                
103 mike      1.1  -include $(OBJ_DIR)/depend.mak
104                
105 mike      1.2  include $(ROOT)/mak/misc.mak
106                
107 mike      1.1  tests: $(ERROR)
108 kumpf     1.10 
109 chuck     1.12 #l10n
110                
111 carson.hovey 1.23 messages : $(ERROR)
112                   
113 kumpf        1.10 poststarttests: $(ERROR)
114 konrad.r     1.15 

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2