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
23
24$(eval $(call gb_Executable_Executable,regsingleton))
25
26$(eval $(call gb_Executable_add_linked_libs,regsingleton,\
27	cppu \
28	cppuhelper \
29	sal \
30	stl \
31    $(gb_STDLIBS) \
32))
33
34ifeq ($(OS),MACOSX)
35$(eval $(call gb_Executable_add_ldflags,regsingleton,\
36	-dynamiclib -headerpad_max_install_names \
37))
38endif
39
40$(eval $(call gb_Executable_set_private_extract_of_public_api,regsingleton,$(OUTDIR)/bin/udkapi.rdb,\
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.XComponent \
47 	com.sun.star.lang.XSingleServiceFactory \
48 	com.sun.star.lang.XSingleComponentFactory \
49 	com.sun.star.lang.XMultiServiceFactory \
50 	com.sun.star.lang.XMultiComponentFactory \
51 	com.sun.star.container.XHierarchicalNameAccess \
52	com.sun.star.registry.XSimpleRegistry \
53	com.sun.star.registry.XRegistryKey \
54))
55
56$(eval $(call gb_Executable_add_exception_objects,regsingleton,\
57	cpputools/source/regsingleton/regsingleton \
58))
59
60# vim: set noet sw=4 ts=4:
61