xref: /aoo42x/main/sfx2/Library_qstart.mk (revision 7871dc3e)
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/offuh \
33	-I$(OUTDIR)/inc \
34    $(filter -I%,$(GTK_CFLAGS)) \
35))
36
37$(eval $(call gb_Library_set_defs,qstart_gtk,\
38	$$(DEFS) \
39	-DDLL_NAME=$(notdir $(call gb_Library_get_target,sfx2)) \
40	-DENABLE_QUICKSTART_APPLET \
41))
42
43$(eval $(call gb_Library_set_cflags,qstart_gtk,\
44    $$(CFLAGS) \
45    $(filter-out -I%,$(GTK_CFLAGS)) \
46))
47
48$(eval $(call gb_Library_set_ldflags,qstart_gtk,\
49    $$(LDFLAGS) \
50    $(GTK_LIBS) \
51))
52
53$(eval $(call gb_Library_add_linked_libs,qstart_gtk,\
54	comphelper \
55	cppu \
56	cppuhelper \
57	fwe \
58	i18nisolang1 \
59	sal \
60	sax \
61	sb \
62	sot \
63	stl \
64	svl \
65	svt \
66	tk \
67	tl \
68	ucbhelper \
69	utl \
70	vcl \
71	vos3 \
72	xml2 \
73    sfx \
74))
75
76$(eval $(call gb_Library_add_exception_objects,qstart_gtk,\
77    sfx2/source/appl/shutdowniconunx \
78))
79
80# vim: set noet sw=4 ts=4:
81