1*9c15e1abSPedro Giffuni#************************************************************** 2*9c15e1abSPedro Giffuni# 3*9c15e1abSPedro Giffuni# Licensed to the Apache Software Foundation (ASF) under one 4*9c15e1abSPedro Giffuni# or more contributor license agreements. See the NOTICE file 5*9c15e1abSPedro Giffuni# distributed with this work for additional information 6*9c15e1abSPedro Giffuni# regarding copyright ownership. The ASF licenses this file 7*9c15e1abSPedro Giffuni# to you under the Apache License, Version 2.0 (the 8*9c15e1abSPedro Giffuni# "License"); you may not use this file except in compliance 9*9c15e1abSPedro Giffuni# with the License. You may obtain a copy of the License at 10*9c15e1abSPedro Giffuni# 11*9c15e1abSPedro Giffuni# http://www.apache.org/licenses/LICENSE-2.0 12*9c15e1abSPedro Giffuni# 13*9c15e1abSPedro Giffuni# Unless required by applicable law or agreed to in writing, 14*9c15e1abSPedro Giffuni# software distributed under the License is distributed on an 15*9c15e1abSPedro Giffuni# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*9c15e1abSPedro Giffuni# KIND, either express or implied. See the License for the 17*9c15e1abSPedro Giffuni# specific language governing permissions and limitations 18*9c15e1abSPedro Giffuni# under the License. 19*9c15e1abSPedro Giffuni# 20*9c15e1abSPedro Giffuni#************************************************************** 21*9c15e1abSPedro Giffuni 22*9c15e1abSPedro Giffuni 23*9c15e1abSPedro GiffuniPRJ=..$/..$/.. 24*9c15e1abSPedro Giffuni 25*9c15e1abSPedro GiffuniPRJNAME=bridges 26*9c15e1abSPedro GiffuniTARGET=$(COMNAME)_uno 27*9c15e1abSPedro GiffuniLIBTARGET=no 28*9c15e1abSPedro GiffuniENABLE_EXCEPTIONS=TRUE 29*9c15e1abSPedro Giffuni 30*9c15e1abSPedro Giffuni# --- Settings ----------------------------------------------------- 31*9c15e1abSPedro Giffuni 32*9c15e1abSPedro Giffuni.INCLUDE : settings.mk 33*9c15e1abSPedro Giffuni 34*9c15e1abSPedro Giffuni# --- Files -------------------------------------------------------- 35*9c15e1abSPedro Giffuni 36*9c15e1abSPedro Giffuni.IF "$(OS)-$(CPUNAME)-$(COMNAME)" == "FREEBSD-AARCH64-gcc3" 37*9c15e1abSPedro Giffuni 38*9c15e1abSPedro Giffuni.IF "$(cppu_no_leak)" == "" 39*9c15e1abSPedro GiffuniCFLAGS += -DLEAK_STATIC_DATA 40*9c15e1abSPedro Giffuni.ENDIF 41*9c15e1abSPedro Giffuni 42*9c15e1abSPedro Giffuni# In case someone enabled the non-standard -fomit-frame-pointer which does not 43*9c15e1abSPedro Giffuni# work with the .cxx sources in this directory: 44*9c15e1abSPedro GiffuniCFLAGSCXX += -fno-omit-frame-pointer 45*9c15e1abSPedro Giffuni 46*9c15e1abSPedro GiffuniSLOFILES= \ 47*9c15e1abSPedro Giffuni $(SLO)$/abi.obj \ 48*9c15e1abSPedro Giffuni $(SLO)$/except.obj \ 49*9c15e1abSPedro Giffuni $(SLO)$/cpp2uno.obj \ 50*9c15e1abSPedro Giffuni $(SLO)$/uno2cpp.obj \ 51*9c15e1abSPedro Giffuni $(SLO)$/call.obj 52*9c15e1abSPedro Giffuni 53*9c15e1abSPedro GiffuniSHL1TARGET= $(TARGET) 54*9c15e1abSPedro Giffuni 55*9c15e1abSPedro GiffuniSHL1DEF=$(MISC)$/$(SHL1TARGET).def 56*9c15e1abSPedro GiffuniSHL1IMPLIB=i$(TARGET) 57*9c15e1abSPedro GiffuniSHL1VERSIONMAP=..$/..$/bridge_exports.map 58*9c15e1abSPedro GiffuniSHL1RPATH=URELIB 59*9c15e1abSPedro Giffuni 60*9c15e1abSPedro GiffuniSHL1OBJS = $(SLOFILES) 61*9c15e1abSPedro GiffuniSHL1LIBS = $(SLB)$/cpp_uno_shared.lib 62*9c15e1abSPedro Giffuni 63*9c15e1abSPedro GiffuniSHL1STDLIBS= \ 64*9c15e1abSPedro Giffuni $(CPPULIB)\ 65*9c15e1abSPedro Giffuni $(SALLIB) 66*9c15e1abSPedro Giffuni 67*9c15e1abSPedro Giffuni.ENDIF 68*9c15e1abSPedro Giffuni 69*9c15e1abSPedro Giffuni# --- Targets ------------------------------------------------------ 70*9c15e1abSPedro Giffuni 71*9c15e1abSPedro Giffuni.INCLUDE : target.mk 72*9c15e1abSPedro Giffuni 73*9c15e1abSPedro Giffuni# Assemble the AArch64 call trampoline (call.s) into call.obj. 74*9c15e1abSPedro Giffuni$(SLO)$/%.obj: %.s 75*9c15e1abSPedro Giffuni $(CXX) -c -o $(SLO)$/$(@:b).o $< -fPIC ; touch $@ 76