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