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