summaryrefslogtreecommitdiffstats
path: root/basctl/Library_basctl.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-27 19:36:46 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-27 19:39:15 +0200
commit9b6b889821c8afc235db4faffe99c1bd81983b0c (patch)
treec47674291f3692a11f9c88d98a58d7953e6be145 /basctl/Library_basctl.mk
parentfindbar: Show the "Search and Replace" button in the FindBar by default. (diff)
downloadcore-9b6b889821c8afc235db4faffe99c1bd81983b0c.tar.gz
core-9b6b889821c8afc235db4faffe99c1bd81983b0c.zip
Convert basctl to gbuild
Diffstat (limited to 'basctl/Library_basctl.mk')
-rw-r--r--basctl/Library_basctl.mk134
1 files changed, 134 insertions, 0 deletions
diff --git a/basctl/Library_basctl.mk b/basctl/Library_basctl.mk
new file mode 100644
index 000000000000..73e12a812a8a
--- /dev/null
+++ b/basctl/Library_basctl.mk
@@ -0,0 +1,134 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,basctl))
+
+$(eval $(call gb_Library_add_precompiled_header,basctl,$(SRCDIR)/basctl/inc/pch/precompiled_basctl))
+$(eval $(call gb_Library_add_precompiled_header,basctl,$(SRCDIR)/basctl/source/basicide/ide_pch))
+
+$(eval $(call gb_Library_set_componentfile,basctl,basctl/util/basctl))
+
+$(eval $(call gb_Library_set_include,basctl,\
+ -I$(realpath $(SRCDIR)/basctl/inc) \
+ -I$(realpath $(SRCDIR)/basctl/inc/pch) \
+ -I$(realpath $(SRCDIR)/basctl/sdi) \
+ -I$(realpath $(SRCDIR)/basctl/source/inc) \
+ $$(INCLUDE) \
+ -I$(WORKDIR)/SdiTarget/basctl/sdi \
+))
+
+$(eval $(call gb_Library_add_api,basctl,\
+ udkapi \
+ offapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,basctl,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ editeng \
+ fwe \
+ sal \
+ sb \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ tk \
+ tl \
+ utl \
+ ucbhelper \
+ vcl \
+ xcr \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,basctl,\
+ basctl/source/accessibility/accessibledialogcontrolshape \
+ basctl/source/accessibility/accessibledialogwindow \
+ basctl/source/basicide/basdoc \
+ basctl/source/basicide/basicbox \
+ basctl/source/basicide/basicrenderable \
+ basctl/source/basicide/baside2b \
+ basctl/source/basicide/baside2 \
+ basctl/source/basicide/baside3 \
+ basctl/source/basicide/basidectrlr \
+ basctl/source/basicide/basides1 \
+ basctl/source/basicide/basides2 \
+ basctl/source/basicide/basides3 \
+ basctl/source/basicide/basidesh \
+ basctl/source/basicide/basobj2 \
+ basctl/source/basicide/basobj3 \
+ basctl/source/basicide/bastype2 \
+ basctl/source/basicide/bastype3 \
+ basctl/source/basicide/bastypes \
+ basctl/source/basicide/brkdlg \
+ basctl/source/basicide/doceventnotifier \
+ basctl/source/basicide/docsignature \
+ basctl/source/basicide/documentenumeration \
+ basctl/source/basicide/iderdll \
+ basctl/source/basicide/localizationmgr \
+ basctl/source/basicide/macrodlg \
+ basctl/source/basicide/moduldl2 \
+ basctl/source/basicide/moduldlg \
+ basctl/source/basicide/objdlg \
+ basctl/source/basicide/register \
+ basctl/source/basicide/scriptdocument \
+ basctl/source/basicide/tbxctl \
+ basctl/source/basicide/unomodel \
+ basctl/source/dlged/dlgedclip \
+ basctl/source/dlged/dlged \
+ basctl/source/dlged/dlgedfac \
+ basctl/source/dlged/dlgedfunc \
+ basctl/source/dlged/dlgedlist \
+ basctl/source/dlged/dlgedmod \
+ basctl/source/dlged/dlgedobj \
+ basctl/source/dlged/dlgedpage \
+ basctl/source/dlged/dlgedview \
+ basctl/source/dlged/managelang \
+ basctl/source/dlged/propbrw \
+))
+
+$(eval $(call gb_Library_add_sdi_headers,basctl,basctl/sdi/basslots))
+
+$(eval $(call gb_SdiTarget_SdiTarget,basctl/sdi/basslots,basctl/sdi/baside))
+
+$(eval $(call gb_SdiTarget_set_include,basctl/sdi/basslots,\
+ $$(INCLUDE) \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_add_linked_libs,basctl,\
+ advapi32 \
+ gdi32 \
+ shell32 \
+))
+endif
+
+# vim: set noet sw=4: