1 martin 1.33 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.34 #//
|
3 martin 1.33 #// 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 martin 1.34 #//
|
10 martin 1.33 #// 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 martin 1.34 #//
|
17 martin 1.33 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.34 #//
|
20 martin 1.33 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.34 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.33 #// 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 martin 1.34 #//
|
28 martin 1.33 #//////////////////////////////////////////////////////////////////////////
|
29 kumpf 1.25 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=\"$(PROGRAM)\"
34 endif
35 endif
36
|
37 mike 1.24 include $(ROOT)/mak/common.mak
|
38 w.otsuka 1.30 ifdef PEGASUS_EXTRA_PROGRAM_LINK_FLAGS
39 EXTRA_LINK_FLAGS += $(PEGASUS_EXTRA_PROGRAM_LINK_FLAGS)
40 endif
|
41 mike 1.24
|
42 mike 1.1 ifeq ($(OS_TYPE),windows)
|
43 mike 1.23 include $(ROOT)/mak/program-windows.mak
|
44 mike 1.1 endif
|
45 mike 1.23 ifeq ($(OS_TYPE),unix)
46 include $(ROOT)/mak/program-unix.mak
|
47 denise.eckstein 1.32 # GCC supports the -fPIE switch in version 3.4 or later
48 ifeq ($(OS),linux)
|
49 dev.meetei 1.35 ifeq ($(COMPILER), gnu)
|
50 dl.meetei 1.36 ifeq ($(shell expr $(GCC_VERSION) '>=' 3.4), 1)
51 FLAGS := $(FLAGS:-fPIC=-fPIE)
52 endif
|
53 dev.meetei 1.35 else
|
54 dl.meetei 1.36 FLAGS:= $(FLAGS:-fpic=-fpie)
|
55 dev.meetei 1.35 endif
|
56 denise.eckstein 1.32 endif
|
57 kumpf 1.18 endif
|
58 gs.keenan 1.27 ifeq ($(OS_TYPE),vms)
59 include $(ROOT)/mak/program-vms.mak
60 endif
|
61 chuck 1.26
62 #l10n
63 messages: $(ERROR)
|