summaryrefslogtreecommitdiff
path: root/sw/CustomTarget_generated.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-05 14:22:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 14:22:55 +0100
commit7ef4457b9fc06b5c25c607d7e0149f45c7015b10 (patch)
tree72936f167a59f7a9030d8a5a889bc8f2b1bf3269 /sw/CustomTarget_generated.mk
parentb21f2439ad2681f906c63c2192ef141d9abb9e37 (diff)
Revert "fdo#80403: Writer specific AutoCorr use FastParser"
This reverts commit c1e90457d2ecc6e1171b7a296ab8bd05821e39e6 (plus follow-up c940d4d30673dc02ea34b5e60a4a8140648a0dba "loplugin:saloverride" and 5f0f3d4e91e9eb1d1f60b0cd073e7bbd8ea38c29 "Work around -Werror,-Wdeprecated-register"), it broke JunitTest_sw_unoapi. Change-Id: I21499f8a7810eef637bb51a30380ae60b3d915cd
Diffstat (limited to 'sw/CustomTarget_generated.mk')
-rw-r--r--sw/CustomTarget_generated.mk34
1 files changed, 0 insertions, 34 deletions
diff --git a/sw/CustomTarget_generated.mk b/sw/CustomTarget_generated.mk
deleted file mode 100644
index 27527990e63c..000000000000
--- a/sw/CustomTarget_generated.mk
+++ /dev/null
@@ -1,34 +0,0 @@
-# -*- 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/.
-#
-
-$(eval $(call gb_CustomTarget_CustomTarget,sw/generated))
-
-sw_SRC := $(SRCDIR)/sw/source/core/swg
-sw_PL := $(SRCDIR)/solenv/bin/gentoken.pl
-sw_INC := $(call gb_CustomTarget_get_workdir,sw/generated)
-
-$(sw_INC)/TextBlockTokens.gperf : $(sw_SRC)/TextBlockTokens.txt $(sw_PL)
- mkdir -p $(sw_INC)
- $(PERL) $(sw_PL) $(sw_SRC)/TextBlockTokens.txt $(sw_INC)/TextBlockTokens.gperf
-
-$(sw_INC)/BlockListTokens.gperf : $(sw_SRC)/BlockListTokens.txt $(sw_PL)
- mkdir -p $(sw_INC)
- $(PERL) $(sw_PL) $(sw_SRC)/BlockListTokens.txt $(sw_INC)/BlockListTokens.gperf
-
-$(sw_INC)/tokens.cxx : $(sw_INC)/TextBlockTokens.gperf $(sw_INC)/BlockListTokens.gperf
- $(GPERF) --compare-strncmp --readonly-tables --output-file=$(sw_INC)/tokens.cxx \
- --class-name=TextBlockTokens --word-array-name=textBlockList --enum $(sw_INC)/TextBlockTokens.gperf
- $(GPERF) --compare-strncmp --readonly-tables -T $(sw_INC)/BlockListTokens.gperf \
- --class-name=BlockListTokens --word-array-name=blockListList >> $(sw_INC)/tokens.cxx
- sed -i -e "s/(char\*)0/(char\*)0, XML_TOKEN_INVALID/g" $(sw_INC)/tokens.cxx
- sed -i -e "/^#line/d" $(sw_INC)/tokens.cxx
-
-$(call gb_CustomTarget_get_target,sw/generated) : $(sw_INC)/tokens.cxx
-
-# vim: set noet sw=4 ts=4: