summaryrefslogtreecommitdiffstats
path: root/editeng/Library_editeng.mk
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/Library_editeng.mk')
-rw-r--r--editeng/Library_editeng.mk168
1 files changed, 168 insertions, 0 deletions
diff --git a/editeng/Library_editeng.mk b/editeng/Library_editeng.mk
new file mode 100644
index 000000000..6602793e3
--- /dev/null
+++ b/editeng/Library_editeng.mk
@@ -0,0 +1,168 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Library_Library,editeng))
+
+$(eval $(call gb_Library_set_include,editeng,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/editeng/inc \
+ -I$(SRCDIR)/editeng/source/editeng \
+))
+
+$(eval $(call gb_Library_use_custom_headers,editeng,editeng/generated))
+
+$(eval $(call gb_Library_set_precompiled_header,editeng,editeng/inc/pch/precompiled_editeng))
+
+$(eval $(call gb_Library_add_defs,editeng,\
+ -DEDITENG_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_use_sdk_api,editeng))
+
+ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
+$(eval $(call gb_Library_add_exception_objects,editeng,\
+ editeng/source/accessibility/AccessibleComponentBase \
+ editeng/source/accessibility/AccessibleContextBase \
+ editeng/source/accessibility/AccessibleEditableTextPara \
+ editeng/source/accessibility/AccessibleHyperlink \
+ editeng/source/accessibility/AccessibleImageBullet \
+ editeng/source/accessibility/AccessibleParaManager \
+ editeng/source/accessibility/AccessibleSelectionBase \
+ editeng/source/accessibility/AccessibleStaticTextBase \
+ editeng/source/accessibility/AccessibleStringWrap \
+))
+endif
+
+$(eval $(call gb_Library_add_exception_objects,editeng,\
+ editeng/source/editeng/editattr \
+ editeng/source/editeng/editdata \
+ editeng/source/editeng/editdbg \
+ editeng/source/editeng/editdoc \
+ editeng/source/editeng/editeng \
+ editeng/source/editeng/editobj \
+ editeng/source/editeng/editsel \
+ editeng/source/editeng/editundo \
+ editeng/source/editeng/editview \
+ editeng/source/editeng/edtspell \
+ editeng/source/editeng/eehtml \
+ editeng/source/editeng/eeobj \
+ editeng/source/editeng/eerdll \
+ editeng/source/editeng/eertfpar \
+ editeng/source/editeng/fieldupdater \
+ editeng/source/editeng/impedit \
+ editeng/source/editeng/impedit2 \
+ editeng/source/editeng/impedit3 \
+ editeng/source/editeng/impedit4 \
+ editeng/source/editeng/impedit5 \
+ editeng/source/editeng/misspellrange \
+ editeng/source/editeng/section \
+ editeng/source/editeng/textconv \
+ editeng/source/items/borderline \
+ editeng/source/items/bulitem \
+ editeng/source/items/CustomPropertyField \
+ editeng/source/items/charhiddenitem \
+ editeng/source/items/flditem \
+ editeng/source/items/frmitems \
+ editeng/source/items/itemtype \
+ editeng/source/items/justifyitem \
+ editeng/source/items/numitem \
+ editeng/source/items/legacyitem \
+ editeng/source/items/optitems \
+ editeng/source/items/paperinf \
+ editeng/source/items/paraitem \
+ editeng/source/items/svdfield \
+ editeng/source/items/svxfont \
+ editeng/source/items/textitem \
+ editeng/source/items/writingmodeitem \
+ editeng/source/items/xmlcnitm \
+ editeng/source/misc/acorrcfg \
+ editeng/source/misc/edtdlg \
+ editeng/source/misc/forbiddencharacterstable \
+ editeng/source/misc/hangulhanja \
+ editeng/source/misc/splwrap \
+ editeng/source/misc/svxacorr \
+ editeng/source/misc/SvXMLAutoCorrectTokenHandler \
+ editeng/source/misc/SvXMLAutoCorrectExport \
+ editeng/source/misc/SvXMLAutoCorrectImport \
+ editeng/source/misc/swafopt \
+ editeng/source/misc/txtrange \
+ editeng/source/misc/unolingu \
+ editeng/source/misc/urlfieldhelper \
+ editeng/source/outliner/outleeng \
+ editeng/source/outliner/outlin2 \
+ editeng/source/outliner/outliner \
+ editeng/source/outliner/outlobj \
+ editeng/source/outliner/outlundo \
+ editeng/source/outliner/outlvw \
+ editeng/source/outliner/overflowingtxt \
+ editeng/source/outliner/paralist \
+ editeng/source/rtf/rtfitem \
+ editeng/source/rtf/svxrtf \
+ editeng/source/uno/unoedhlp \
+ editeng/source/uno/unoedprx \
+ editeng/source/uno/unoedsrc \
+ editeng/source/uno/unofdesc \
+ editeng/source/uno/unofield \
+ editeng/source/uno/UnoForbiddenCharsTable \
+ editeng/source/uno/unofored \
+ editeng/source/uno/unoforou \
+ editeng/source/uno/unoipset \
+ editeng/source/uno/unonrule \
+ editeng/source/uno/unopracc \
+ editeng/source/uno/unotext \
+ editeng/source/uno/unotext2 \
+ editeng/source/uno/unoviwou \
+ editeng/source/xml/xmltxtexp \
+ editeng/source/xml/xmltxtimp \
+ editeng/source/lookuptree/Trie \
+))
+
+# add libraries to be linked to editeng; again these names need to be given as
+# specified in Repository.mk
+$(eval $(call gb_Library_use_libraries,editeng,\
+ xo \
+ basegfx \
+ lng \
+ svt \
+ tk \
+ vcl \
+ svl \
+ sot \
+ sfx \
+ utl \
+ tl \
+ comphelper \
+ ucbhelper \
+ cppuhelper \
+ cppu \
+ sal \
+ salhelper \
+ sax \
+ i18nlangtag \
+ i18nutil \
+))
+
+$(eval $(call gb_Library_use_externals,editeng,\
+ boost_headers \
+ icuuc \
+ icu_headers \
+ libxml2 \
+))
+
+# vim: set noet sw=4 ts=4: