xref: /trunk/main/sfx2/Library_qstart.mk (revision b63233d8)
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
25$(eval $(call gb_Library_Library,qstart_gtk))
26
27$(eval $(call gb_Library_set_include,qstart_gtk,\
28	$$(INCLUDE) \
29	-I$(SRCDIR)/sfx2/inc \
30	-I$(SRCDIR)/sfx2/inc/sfx2 \
31	-I$(SRCDIR)/sfx2/inc/pch \
32	-I$(OUTDIR)/inc \
33    $(filter -I%,$(GTK_CFLAGS)) \
34))
35
36$(eval $(call gb_Library_add_api,qstart_gtk,\
37	udkapi \
38	offapi \
39))
40
41$(eval $(call gb_Library_add_defs,qstart_gtk,\
42	-DDLL_NAME=$(notdir $(call gb_Library_get_target,sfx2)) \
43	-DENABLE_QUICKSTART_APPLET \
44))
45
46$(eval $(call gb_Library_add_cflags,qstart_gtk,\
47    $(filter-out -I%,$(GTK_CFLAGS)) \
48))
49
50$(eval $(call gb_Library_add_libs,qstart_gtk,\
51))
52
53$(eval $(call gb_Library_add_libs,qstart_gtk,\
54    $(GTK_LIBS) \
55))
56
57
58
59$(eval $(call gb_Library_add_linked_libs,qstart_gtk,\
60	comphelper \
61	cppu \
62	cppuhelper \
63	fwe \
64	i18nisolang1 \
65	sal \
66	sax \
67	sb \
68	sot \
69	stl \
70	svl \
71	svt \
72	ootk \
73	tl \
74	ucbhelper \
75	utl \
76	vcl \
77	vos3 \
78	sfx \
79))
80
81$(call gb_Library_use_external,qstart_gtk,libxml2)
82
83$(eval $(call gb_Library_add_exception_objects,qstart_gtk,\
84    sfx2/source/appl/shutdowniconunx \
85))
86
87# vim: set noet sw=4 ts=4:
88