xref: /trunk/main/basctl/Library_basctl.mk (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
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,basctl))
25
26$(eval $(call gb_Library_add_precompiled_header,basctl,$(SRCDIR)/basctl/inc/pch/precompiled_basctl))
27
28$(eval $(call gb_Library_add_sdi_headers,basctl,basctl/sdi/basslots))
29
30$(eval $(call gb_Library_set_componentfile,basctl,basctl/util/basctl))
31
32$(eval $(call gb_Library_set_include,basctl,\
33        $$(INCLUDE) \
34    -I$(SRCDIR)/basctl/inc \
35    -I$(SRCDIR)/basctl/inc/pch \
36    -I$(SRCDIR)/basctl/source/inc \
37    -I$(WORKDIR)/SdiTarget/basctl/sdi \
38))
39
40$(eval $(call gb_Library_add_api,basctl,\
41    offapi \
42    udkapi \
43))
44
45$(eval $(call gb_Library_add_linked_libs,basctl,\
46    comphelper \
47    cppu \
48    cppuhelper \
49    editeng \
50    fwe \
51    ootk \
52    sal \
53    sb \
54    sfx \
55    sot \
56    stl \
57    svl \
58    svt \
59    svx \
60    svxcore \
61    tl \
62    ucbhelper \
63    utl \
64    vcl \
65    xcr \
66    $(gb_STDLIBS) \
67))
68
69ifeq ($(GUI),WNT)
70$(eval $(call gb_Library_add_linked_libs,basctl,\
71    shell32 \
72))
73endif
74
75$(eval $(call gb_Library_add_exception_objects,basctl,\
76    basctl/source/accessibility/accessibledialogwindow \
77    basctl/source/accessibility/accessibledialogcontrolshape \
78    basctl/source/basicide/basicrenderable \
79    basctl/source/basicide/scriptdocument \
80    basctl/source/basicide/basicbox \
81    basctl/source/basicide/basidesh \
82    basctl/source/basicide/basides1 \
83    basctl/source/basicide/basides2 \
84    basctl/source/basicide/basides3 \
85    basctl/source/basicide/baside2 \
86    basctl/source/basicide/baside3 \
87    basctl/source/basicide/basobj2 \
88    basctl/source/basicide/basobj3 \
89    basctl/source/basicide/bastypes \
90    basctl/source/basicide/bastype2 \
91    basctl/source/basicide/bastype3 \
92    basctl/source/basicide/iderdll \
93    basctl/source/basicide/macrodlg \
94    basctl/source/basicide/moduldlg \
95    basctl/source/basicide/moduldl2 \
96    basctl/source/basicide/unomodel \
97    basctl/source/basicide/register \
98    basctl/source/basicide/basdoc \
99    basctl/source/basicide/tbxctl \
100    basctl/source/basicide/basidectrlr \
101    basctl/source/basicide/localizationmgr \
102    basctl/source/basicide/doceventnotifier \
103    basctl/source/basicide/docsignature \
104    basctl/source/basicide/documentenumeration \
105    basctl/source/dlged/dlged \
106    basctl/source/dlged/dlgedobj \
107    basctl/source/dlged/dlgedfac \
108    basctl/source/dlged/dlgedlist \
109    basctl/source/dlged/dlgedclip \
110    basctl/source/dlged/propbrw \
111))
112
113$(eval $(call gb_Library_add_noexception_objects,basctl,\
114    basctl/source/basicide/baside2b \
115    basctl/source/basicide/brkdlg \
116    basctl/source/basicide/objdlg \
117    basctl/source/dlged/dlgedfunc \
118    basctl/source/dlged/dlgedmod \
119    basctl/source/dlged/dlgedpage \
120    basctl/source/dlged/dlgedview \
121    basctl/source/dlged/managelang \
122))
123
124$(eval $(call gb_SdiTarget_SdiTarget,basctl/sdi/basslots,basctl/sdi/baside))
125
126$(eval $(call gb_SdiTarget_set_include,basctl/sdi/basslots,\
127    -I$(SRCDIR)/basctl/inc \
128    -I$(SRCDIR)/basctl/sdi \
129    $$(INCLUDE) \
130))
131
132
133# vim: set noet sw=4 ts=4:
134