xref: /aoo41x/main/sw/Library_vbaswobj.mk (revision cdf0e10c)
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$(eval $(call gb_Library_Library,vbaswobj))
29
30$(eval $(call gb_Library_set_componentfile,vbaswobj,sw/util/vbaswobj))
31
32$(eval $(call gb_Library_set_include,vbaswobj,\
33	-I$(SRCDIR)/sw/source/core/inc \
34	-I$(SRCDIR)/sw/source/filter/inc \
35	-I$(SRCDIR)/sw/source/ui/inc \
36	-I$(SRCDIR)/sw/inc/pch \
37	-I$(SRCDIR)/sw/inc \
38	-I$(WORKDIR)/Misc/sw/ \
39	$$(INCLUDE) \
40	-I$(OUTDIR)/inc/offuh \
41	-I$(OUTDIR)/inc/ \
42))
43
44$(eval $(call gb_Library_add_linked_libs,vbaswobj,\
45	comphelper \
46	cppu \
47	cppuhelper \
48	editeng \
49	i18nisolang1 \
50	sal \
51	sb \
52	sfx \
53	stl \
54	svl \
55	svt \
56	svx \
57	svxcore \
58	sw \
59	tk \
60	tl \
61	utl \
62	vbahelper \
63	vcl \
64    $(gb_STDLIBS) \
65))
66
67$(eval $(call gb_Library_add_exception_objects,vbaswobj,\
68	sw/source/ui/vba/service \
69	sw/source/ui/vba/vbadocument \
70	sw/source/ui/vba/vbasections \
71	sw/source/ui/vba/vbadialog \
72	sw/source/ui/vba/vbawrapformat \
73	sw/source/ui/vba/vbafont \
74	sw/source/ui/vba/vbaheaderfooterhelper \
75	sw/source/ui/vba/vbarangehelper \
76	sw/source/ui/vba/vbaaddin \
77	sw/source/ui/vba/vbaautotextentry \
78	sw/source/ui/vba/vbarange \
79	sw/source/ui/vba/vbadocumentproperties \
80	sw/source/ui/vba/vbaeventshelper \
81	sw/source/ui/vba/vbastyle \
82	sw/source/ui/vba/vbapane \
83	sw/source/ui/vba/vbaglobals \
84	sw/source/ui/vba/vbatemplate \
85	sw/source/ui/vba/vbaaddins \
86	sw/source/ui/vba/vbaview \
87	sw/source/ui/vba/vbaheaderfooter \
88	sw/source/ui/vba/vbabookmarks \
89	sw/source/ui/vba/vbaoptions \
90	sw/source/ui/vba/vbadialogs \
91	sw/source/ui/vba/vbapalette \
92	sw/source/ui/vba/vbaparagraph \
93	sw/source/ui/vba/vbafind \
94	sw/source/ui/vba/vbasection \
95	sw/source/ui/vba/vbabookmark \
96	sw/source/ui/vba/vbaapplication \
97	sw/source/ui/vba/vbawindow \
98	sw/source/ui/vba/vbareplacement \
99	sw/source/ui/vba/vbatable \
100	sw/source/ui/vba/vbaselection \
101	sw/source/ui/vba/vbasystem \
102	sw/source/ui/vba/vbainformationhelper \
103	sw/source/ui/vba/vbapagesetup \
104	sw/source/ui/vba/vbafield \
105	sw/source/ui/vba/vbatables \
106	sw/source/ui/vba/vbavariable \
107	sw/source/ui/vba/vbadocuments \
108	sw/source/ui/vba/vbaparagraphformat \
109	sw/source/ui/vba/vbaborders \
110	sw/source/ui/vba/vbavariables \
111	sw/source/ui/vba/vbastyles \
112	sw/source/ui/vba/vbapanes \
113	sw/source/ui/vba/wordvbahelper \
114))
115
116ifeq ($(OS),LINUX)
117$(eval $(call gb_Library_set_ldflags,vbaswobj,\
118	$$(LDFLAGS) \
119	-Wl$(COMMA)-O1 \
120	-Wl$(COMMA)-z$(COMMA)noexecstack \
121))
122endif
123
124# vim: set noet sw=4 ts=4:
125