1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27PRJ=..$/.. 28 29PRJNAME=cpputools 30TARGET=uno 31LIBTARGET=NO 32ENABLE_EXCEPTIONS=TRUE 33 34# --- Settings ----------------------------------------------------- 35 36.INCLUDE : settings.mk 37 38UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb 39UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb 40 41NO_OFFUH=TRUE 42CPPUMAKERFLAGS+= -C 43 44UNOTYPES= \ 45 com.sun.star.uno.TypeClass \ 46 com.sun.star.uno.XAggregation \ 47 com.sun.star.uno.XWeak \ 48 com.sun.star.uno.XComponentContext \ 49 com.sun.star.lang.XTypeProvider \ 50 com.sun.star.lang.XMain \ 51 com.sun.star.lang.XInitialization \ 52 com.sun.star.lang.XComponent \ 53 com.sun.star.lang.XSingleServiceFactory \ 54 com.sun.star.lang.XSingleComponentFactory \ 55 com.sun.star.lang.XMultiServiceFactory \ 56 com.sun.star.lang.XMultiComponentFactory \ 57 com.sun.star.container.XSet \ 58 com.sun.star.container.XHierarchicalNameAccess \ 59 com.sun.star.loader.XImplementationLoader \ 60 com.sun.star.registry.XSimpleRegistry \ 61 com.sun.star.registry.XRegistryKey \ 62 com.sun.star.connection.XAcceptor \ 63 com.sun.star.connection.XConnection \ 64 com.sun.star.bridge.XBridgeFactory \ 65 com.sun.star.bridge.XBridge 66 67# --- Files -------------------------------------------------------- 68 69DEPOBJFILES=$(OBJ)$/unoexe.obj 70 71APP1TARGET=$(TARGET) 72APP1OBJS=$(DEPOBJFILES) 73APP1RPATH=UREBIN 74 75# Include all relevant (see ure/source/README) dynamic libraries, so that C++ 76# UNO components running in the uno executable have a defined environment 77# (stlport, unxlngi6 libstdc++.so.6, and wntmsci10 uwinapi.dll are already 78# included via APP1STDLIB, unxlngi6 libgcc_s.so.1 and wntmsci10 msvcr71.dll and 79# msvcp71.dll are magic---TODO): 80APP1STDLIBS= \ 81 $(SALLIB) \ 82 $(SALHELPERLIB) \ 83 $(CPPULIB) \ 84 $(CPPUHELPERLIB)\ 85 $(LIBXML2LIB) 86.IF "$(OS)" == "WNT" 87APP1STDLIBS += $(UNICOWSLIB) 88.ENDIF 89 90.INCLUDE : target.mk 91 92