xref: /trunk/main/cpputools/source/unoexe/makefile.mk (revision b597708b)
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
23PRJ=..$/..
24
25PRJNAME=cpputools
26TARGET=uno
27LIBTARGET=NO
28ENABLE_EXCEPTIONS=TRUE
29
30# --- Settings -----------------------------------------------------
31
32.INCLUDE :  settings.mk
33
34UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
35UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
36
37NO_OFFUH=TRUE
38CPPUMAKERFLAGS+= -C
39
40UNOTYPES= \
41 	com.sun.star.uno.TypeClass \
42 	com.sun.star.uno.XAggregation \
43 	com.sun.star.uno.XWeak \
44 	com.sun.star.uno.XComponentContext \
45 	com.sun.star.lang.XTypeProvider \
46	com.sun.star.lang.XMain \
47 	com.sun.star.lang.XInitialization \
48 	com.sun.star.lang.XComponent \
49 	com.sun.star.lang.XSingleServiceFactory \
50 	com.sun.star.lang.XSingleComponentFactory \
51 	com.sun.star.lang.XMultiServiceFactory \
52 	com.sun.star.lang.XMultiComponentFactory \
53 	com.sun.star.container.XSet \
54 	com.sun.star.container.XHierarchicalNameAccess \
55	com.sun.star.loader.XImplementationLoader \
56	com.sun.star.registry.XSimpleRegistry \
57	com.sun.star.registry.XRegistryKey \
58	com.sun.star.connection.XAcceptor \
59	com.sun.star.connection.XConnection \
60	com.sun.star.bridge.XBridgeFactory \
61	com.sun.star.bridge.XBridge
62
63# --- Files --------------------------------------------------------
64
65DEPOBJFILES=$(OBJ)$/unoexe.obj
66
67APP1TARGET=$(TARGET)
68APP1OBJS=$(DEPOBJFILES)
69APP1RPATH=UREBIN
70
71# Include all relevant (see ure/source/README) dynamic libraries, so that C++
72# UNO components running in the uno executable have a defined environment
73# (unxlngi6 libstdc++.so.6, and wntmsci10 uwinapi.dll are already
74# included via APP1STDLIB, unxlngi6 libgcc_s.so.1 and wntmsci10 msvcr71.dll and
75# msvcp71.dll are magic---TODO):
76APP1STDLIBS= \
77	$(SALLIB)		\
78    $(SALHELPERLIB) \
79	$(CPPULIB)		\
80	$(CPPUHELPERLIB)\
81    $(LIBXML2LIB)
82
83.INCLUDE :  target.mk
84
85