1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_CustomTarget_CustomTarget
,xmloff
/generated
))
12 #Generates a hashtable for the odf-tags
13 xmloff_SRC
:= $(SRCDIR
)/xmloff
/source
/token
14 xmloff_MISC
:= $(call gb_CustomTarget_get_workdir
,xmloff
/generated
)/misc
15 xmloff_INC
:= $(call gb_CustomTarget_get_workdir
,xmloff
/generated
)
16 xmloff_GENHEADERPATH
:= $(xmloff_INC
)/xmloff
/token
18 $(eval
$(call gb_CustomTarget_token_hash
,xmloff
/generated
,tokenhash.inc
,tokenhash.gperf
))
19 $(eval
$(call gb_CustomTarget_generate_tokens
,xmloff
/generated
,xmloff
,xmloff
/source
/token
,tokens
,token
,tokenhash.gperf
))
21 $(call gb_CustomTarget_get_target
,xmloff
/generated
) : \
22 $(xmloff_INC
)/tokenhash.inc \
23 $(xmloff_INC
)/tokennames.inc \
24 $(xmloff_GENHEADERPATH
)/tokens.hxx \
26 # vim: set noet sw=4 ts=4: