xref: /aoo4110/main/vbahelper/Library_msforms.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# 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    -I$(OUTDIR)/inc/offuh \
41))
42
43# add libraries to be linked to LIB; again these names need to be given as
44# specified in Repository.mk
45$(eval $(call gb_Library_add_linked_libs,msforms,\
46	comphelper \
47	cppu \
48	cppuhelper \
49	sal \
50	sb \
51	sfx \
52	svl \
53	svt \
54	svx \
55	stl \
56	ootk \
57	tl \
58	vbahelper \
59	vcl \
60	$(gb_STDLIBS) \
61))
62
63# add all source files that shall be compiled with exceptions enabled
64# the name is relative to $(SRCROOT) and must not contain an extension
65$(eval $(call gb_Library_add_exception_objects,msforms,\
66    vbahelper/source/msforms/service \
67    vbahelper/source/msforms/vbabutton \
68    vbahelper/source/msforms/vbacheckbox \
69    vbahelper/source/msforms/vbacombobox \
70    vbahelper/source/msforms/vbacontrol \
71    vbahelper/source/msforms/vbacontrols \
72    vbahelper/source/msforms/vbaframe \
73    vbahelper/source/msforms/vbaimage \
74    vbahelper/source/msforms/vbalabel \
75    vbahelper/source/msforms/vbalistbox \
76    vbahelper/source/msforms/vbalistcontrolhelper \
77    vbahelper/source/msforms/vbamultipage \
78    vbahelper/source/msforms/vbanewfont \
79    vbahelper/source/msforms/vbapages \
80    vbahelper/source/msforms/vbaprogressbar \
81    vbahelper/source/msforms/vbaradiobutton \
82    vbahelper/source/msforms/vbascrollbar \
83    vbahelper/source/msforms/vbaspinbutton \
84    vbahelper/source/msforms/vbasystemaxcontrol \
85    vbahelper/source/msforms/vbatextbox \
86    vbahelper/source/msforms/vbatogglebutton \
87    vbahelper/source/msforms/vbauserform \
88))
89
90# vim: set noet sw=4 ts=4:
91
92