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