xref: /aoo4110/main/soltools/util/makefile.pmk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24# find 'makedepend' in own output tree
25MAKEDEPEND=$(AUGMENT_LIBRARY_PATH) $(BIN)$/makedepend
26
27# find 'adjustvisibility' in own output tree
28ADJUSTVISIBILITY=$(AUGMENT_LIBRARY_PATH) $(BIN)$/adjustvisibility
29
30# avoid STLPort
31NO_DEFAULT_STL=TRUE
32SOLARINC!:=$(subst,/stl$(SPACECHAR),dont_use_stl$(SPACECHAR) $(SOLARINC))
33.IF "$(STLPORT4)" != ""
34SOLARINC!:=$(subst,$(STLPORT4)/include/stlport,dont_use_stl$(SPACECHAR) $(SOLARINC))
35SOLARINC!:=$(subst,$(STLPORT4)/stlport,dont_use_stl$(SPACECHAR) $(SOLARINC))
36.ENDIF
37
38.IF "$(OS)"=="SOLARIS"
39# hack due to #i53089#
40.IF "$(COMPATH:+"x")" != "$(COMPATH:+"x":s/binx//)"
41HELP_COMPATH:=$(subst,/binx, $(COMPATH:+"x"))
42.ELSE			# "$(COMPATH:+"x")" == "$(COMPATH:s/binx//)/binx"
43HELP_COMPATH:=$(COMPATH)
44.ENDIF			# "$(COMPATH:+"x")" == "$(COMPATH:s/binx//)/binx"
45#SOLARINC+=-I$(HELP_COMPATH)/prod/include/CC/stlport4
46#SOLARLIB+=-L$(HELP_COMPATH)/prod/lib/stlport4
47SOLARINC+=-I$(HELP_COMPATH)/prod/include/CC/Cstd
48.ENDIF
49