xref: /trunk/main/bridges/source/cpp_uno/gcc3_freebsd_arm/makefile.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
17a46fbe4Spfg#**************************************************************
27a46fbe4Spfg#
37a46fbe4Spfg#  Licensed to the Apache Software Foundation (ASF) under one
47a46fbe4Spfg#  or more contributor license agreements.  See the NOTICE file
57a46fbe4Spfg#  distributed with this work for additional information
67a46fbe4Spfg#  regarding copyright ownership.  The ASF licenses this file
77a46fbe4Spfg#  to you under the Apache License, Version 2.0 (the
87a46fbe4Spfg#  "License"); you may not use this file except in compliance
97a46fbe4Spfg#  with the License.  You may obtain a copy of the License at
107a46fbe4Spfg#
117a46fbe4Spfg#    http://www.apache.org/licenses/LICENSE-2.0
127a46fbe4Spfg#
137a46fbe4Spfg#  Unless required by applicable law or agreed to in writing,
147a46fbe4Spfg#  software distributed under the License is distributed on an
157a46fbe4Spfg#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167a46fbe4Spfg#  KIND, either express or implied.  See the License for the
177a46fbe4Spfg#  specific language governing permissions and limitations
187a46fbe4Spfg#  under the License.
197a46fbe4Spfg#
207a46fbe4Spfg#**************************************************************
217a46fbe4Spfg
227a46fbe4Spfg
237a46fbe4Spfg
247a46fbe4SpfgPRJ=..$/..$/..
257a46fbe4Spfg
267a46fbe4SpfgPRJNAME=bridges
277a46fbe4SpfgTARGET=gcc3_uno
287a46fbe4SpfgLIBTARGET=no
297a46fbe4SpfgENABLE_EXCEPTIONS=TRUE
307a46fbe4SpfgNO_BSYMBOLIC=TRUE
317a46fbe4Spfg
327a46fbe4Spfg# --- Settings -----------------------------------------------------
337a46fbe4Spfg
347a46fbe4Spfg.INCLUDE :  settings.mk
357a46fbe4Spfg
367a46fbe4Spfg# --- Files --------------------------------------------------------
377a46fbe4Spfg
38*d2ddbf63SPedro Giffuni.IF "(OS)$(CPU)$(COMNAME)" == "FREEBSDRgcc3"
397a46fbe4Spfg
407a46fbe4Spfg.IF "$(cppu_no_leak)" == ""
417a46fbe4SpfgCFLAGS += -DLEAK_STATIC_DATA
427a46fbe4Spfg.ENDIF
437a46fbe4Spfg
447a46fbe4SpfgCFLAGSCXX += -fno-omit-frame-pointer
457a46fbe4Spfg
467a46fbe4SpfgNOOPTFILES= \
477a46fbe4Spfg    $(SLO)$/cpp2uno.obj \
487a46fbe4Spfg    $(SLO)$/except.obj \
497a46fbe4Spfg    $(SLO)$/uno2cpp.obj
507a46fbe4Spfg
517a46fbe4SpfgCFLAGSNOOPT=-O0
527a46fbe4Spfg
537a46fbe4SpfgSLOFILES= \
547a46fbe4Spfg    $(SLO)$/cpp2uno.obj \
557a46fbe4Spfg    $(SLO)$/except.obj \
567a46fbe4Spfg    $(SLO)$/uno2cpp.obj \
577a46fbe4Spfg    $(SLO)$/armhelper.obj
587a46fbe4Spfg
597a46fbe4SpfgSHL1TARGET= $(TARGET)
607a46fbe4Spfg
617a46fbe4SpfgSHL1DEF=$(MISC)$/$(SHL1TARGET).def
627a46fbe4SpfgSHL1IMPLIB=i$(TARGET)
637a46fbe4SpfgSHL1VERSIONMAP=..$/..$/bridge_exports.map
647a46fbe4SpfgSHL1RPATH=URELIB
657a46fbe4Spfg
667a46fbe4SpfgSHL1OBJS = $(SLOFILES)
677a46fbe4SpfgSHL1LIBS = $(SLB)$/cpp_uno_shared.lib
687a46fbe4Spfg
697a46fbe4SpfgSHL1STDLIBS= \
707a46fbe4Spfg    $(CPPULIB)          \
717a46fbe4Spfg    $(SALLIB)
727a46fbe4Spfg
737a46fbe4Spfg.ENDIF
747a46fbe4Spfg
757a46fbe4Spfg# --- Targets ------------------------------------------------------
767a46fbe4Spfg
777a46fbe4Spfg.INCLUDE :  target.mk
787a46fbe4Spfg
797a46fbe4Spfg$(SLO)$/%.obj: %.S
807a46fbe4Spfg       $(CXX) -c -o $(SLO)$/$(@:b).o $< -fPIC ; touch $@
81