xref: /trunk/main/sfx2/Library_qstart.mk (revision 31525a3a)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28
29$(eval $(call gb_Library_Library,qstart_gtk))
30
31$(eval $(call gb_Library_set_include,qstart_gtk,\
32	$$(INCLUDE) \
33	-I$(SRCDIR)/sfx2/inc \
34	-I$(SRCDIR)/sfx2/inc/sfx2 \
35	-I$(SRCDIR)/sfx2/inc/pch \
36	-I$(OUTDIR)/inc/offuh \
37	-I$(OUTDIR)/inc \
38    $(filter -I%,$(GTK_CFLAGS)) \
39))
40
41$(eval $(call gb_Library_set_defs,qstart_gtk,\
42	$$(DEFS) \
43	-DDLL_NAME=$(notdir $(call gb_Library_get_target,sfx2)) \
44	-DENABLE_QUICKSTART_APPLET \
45))
46
47$(eval $(call gb_Library_set_cflags,qstart_gtk,\
48    $$(CFLAGS) \
49    $(filter-out -I%,$(GTK_CFLAGS)) \
50))
51
52$(eval $(call gb_Library_set_ldflags,qstart_gtk,\
53    $$(LDFLAGS) \
54    $(GTK_LIBS) \
55))
56
57$(eval $(call gb_Library_add_linked_libs,qstart_gtk,\
58	comphelper \
59	cppu \
60	cppuhelper \
61	fwe \
62	i18nisolang1 \
63	sal \
64	sax \
65	sb \
66	sot \
67	stl \
68	svl \
69	svt \
70	tk \
71	tl \
72	ucbhelper \
73	utl \
74	vcl \
75	vos3 \
76	xml2 \
77    sfx \
78))
79
80$(eval $(call gb_Library_add_exception_objects,qstart_gtk,\
81    sfx2/source/appl/shutdowniconunx \
82))
83
84# vim: set noet sw=4 ts=4:
85