Silence bogus MSC "must return a value" errors.
[LibreOffice.git] / basctl / Library_basctl.mk
blobb1badf4defe9dc181d9f84a51e3ea82d1e5dce88
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,basctl))
31 $(eval $(call gb_Library_add_precompiled_header,basctl,$(SRCDIR)/basctl/inc/pch/precompiled_basctl))
32 $(eval $(call gb_Library_add_precompiled_header,basctl,$(SRCDIR)/basctl/source/basicide/ide_pch))
34 $(eval $(call gb_Library_set_componentfile,basctl,basctl/util/basctl))
36 $(eval $(call gb_Library_set_include,basctl,\
37 -I$(realpath $(SRCDIR)/basctl/inc) \
38 -I$(realpath $(SRCDIR)/basctl/inc/pch) \
39 -I$(realpath $(SRCDIR)/basctl/sdi) \
40 -I$(realpath $(SRCDIR)/basctl/source/inc) \
41 $$(INCLUDE) \
42 -I$(WORKDIR)/SdiTarget/basctl/sdi \
45 $(eval $(call gb_Library_add_api,basctl,\
46 udkapi \
47 offapi \
50 $(eval $(call gb_Library_add_linked_libs,basctl,\
51 comphelper \
52 cppu \
53 cppuhelper \
54 editeng \
55 fwe \
56 sal \
57 sb \
58 sfx \
59 sot \
60 svl \
61 svt \
62 svx \
63 svxcore \
64 tk \
65 tl \
66 utl \
67 ucbhelper \
68 vcl \
69 xcr \
70 $(gb_STDLIBS) \
73 $(eval $(call gb_Library_add_exception_objects,basctl,\
74 basctl/source/accessibility/accessibledialogcontrolshape \
75 basctl/source/accessibility/accessibledialogwindow \
76 basctl/source/basicide/basdoc \
77 basctl/source/basicide/basicbox \
78 basctl/source/basicide/basicrenderable \
79 basctl/source/basicide/baside2b \
80 basctl/source/basicide/baside2 \
81 basctl/source/basicide/baside3 \
82 basctl/source/basicide/basidectrlr \
83 basctl/source/basicide/basides1 \
84 basctl/source/basicide/basides2 \
85 basctl/source/basicide/basides3 \
86 basctl/source/basicide/basidesh \
87 basctl/source/basicide/basobj2 \
88 basctl/source/basicide/basobj3 \
89 basctl/source/basicide/bastype2 \
90 basctl/source/basicide/bastype3 \
91 basctl/source/basicide/bastypes \
92 basctl/source/basicide/brkdlg \
93 basctl/source/basicide/doceventnotifier \
94 basctl/source/basicide/docsignature \
95 basctl/source/basicide/documentenumeration \
96 basctl/source/basicide/iderdll \
97 basctl/source/basicide/linenumberwindow \
98 basctl/source/basicide/localizationmgr \
99 basctl/source/basicide/macrodlg \
100 basctl/source/basicide/moduldl2 \
101 basctl/source/basicide/moduldlg \
102 basctl/source/basicide/objdlg \
103 basctl/source/basicide/register \
104 basctl/source/basicide/scriptdocument \
105 basctl/source/basicide/tbxctl \
106 basctl/source/basicide/unomodel \
107 basctl/source/dlged/dlgedclip \
108 basctl/source/dlged/dlged \
109 basctl/source/dlged/dlgedfac \
110 basctl/source/dlged/dlgedfunc \
111 basctl/source/dlged/dlgedlist \
112 basctl/source/dlged/dlgedmod \
113 basctl/source/dlged/dlgedobj \
114 basctl/source/dlged/dlgedpage \
115 basctl/source/dlged/dlgedview \
116 basctl/source/dlged/managelang \
117 basctl/source/dlged/propbrw \
120 $(eval $(call gb_Library_add_sdi_headers,basctl,basctl/sdi/basslots))
122 $(eval $(call gb_SdiTarget_SdiTarget,basctl/sdi/basslots,basctl/sdi/baside))
124 $(eval $(call gb_SdiTarget_set_include,basctl/sdi/basslots,\
125 $$(INCLUDE) \
128 ifeq ($(OS),WNT)
129 $(eval $(call gb_Library_add_linked_libs,basctl,\
130 advapi32 \
131 gdi32 \
132 shell32 \
134 endif
136 # vim: set noet sw=4 ts=4: