xref: /aoo42x/main/vbahelper/Library_msforms.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# MODULE is the name of the module the makefile is located in
25
26# declare a library
27# LIB is the name of the library as it is found in Repository.mk
28$(eval $(call gb_Library_Library,msforms))
29
30# for platforms supporting PCH: declare the location of the pch file
31# this is the name of the cxx file (without extension)
32#$(eval $(call gb_Library_add_precompiled_header,msforms,$(SRCDIR)/vbahelper/PCH_FILE))
33
34# in case UNO services are exported: declare location of component file
35$(eval $(call gb_Library_set_componentfile,msforms,vbahelper/util/msforms))
36
37# add any additional include paths for this library here
38$(eval $(call gb_Library_set_include,msforms,\
39	$$(INCLUDE) \
40))
41
42$(eval $(call gb_Library_add_api,msforms,\
43	udkapi \
44	offapi \
45	oovbaapi \
46))
47
48# add libraries to be linked to LIB; again these names need to be given as
49# specified in Repository.mk
50$(eval $(call gb_Library_add_linked_libs,msforms,\
51	comphelper \
52	cppu \
53	cppuhelper \
54	sal \
55	sb \
56	sfx \
57	svl \
58	svt \
59	svx \
60	stl \
61	ootk \
62	tl \
63	vbahelper \
64	vcl \
65	$(gb_STDLIBS) \
66))
67
68# add all source files that shall be compiled with exceptions enabled
69# the name is relative to $(SRCROOT) and must not contain an extension
70$(eval $(call gb_Library_add_exception_objects,msforms,\
71    vbahelper/source/msforms/service \
72    vbahelper/source/msforms/vbabutton \
73    vbahelper/source/msforms/vbacheckbox \
74    vbahelper/source/msforms/vbacombobox \
75    vbahelper/source/msforms/vbacontrol \
76    vbahelper/source/msforms/vbacontrols \
77    vbahelper/source/msforms/vbaframe \
78    vbahelper/source/msforms/vbaimage \
79    vbahelper/source/msforms/vbalabel \
80    vbahelper/source/msforms/vbalistbox \
81    vbahelper/source/msforms/vbalistcontrolhelper \
82    vbahelper/source/msforms/vbamultipage \
83    vbahelper/source/msforms/vbanewfont \
84    vbahelper/source/msforms/vbapages \
85    vbahelper/source/msforms/vbaprogressbar \
86    vbahelper/source/msforms/vbaradiobutton \
87    vbahelper/source/msforms/vbascrollbar \
88    vbahelper/source/msforms/vbaspinbutton \
89    vbahelper/source/msforms/vbasystemaxcontrol \
90    vbahelper/source/msforms/vbatextbox \
91    vbahelper/source/msforms/vbatogglebutton \
92    vbahelper/source/msforms/vbauserform \
93))
94
95# vim: set noet sw=4 ts=4:
96
97