gbuildify xmlscript
Change-Id: Ia3704b4a7813d45c87e9f7107945fedd73622339
This commit is contained in:
58
xmlscript/Library_xcr.mk
Normal file
58
xmlscript/Library_xcr.mk
Normal file
@@ -0,0 +1,58 @@
|
||||
# -*- 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_Library_Library,xcr))
|
||||
|
||||
$(eval $(call gb_Library_use_package,xcr,xmlscript_inc))
|
||||
|
||||
$(eval $(call gb_Library_set_componentfile,xcr,xmlscript/util/xcr))
|
||||
|
||||
$(eval $(call gb_Library_use_api,xcr,\
|
||||
offapi \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_libraries,xcr,\
|
||||
comphelper \
|
||||
cppu \
|
||||
cppuhelper \
|
||||
sal \
|
||||
$(gb_STDLIBS) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_set_include,xcr,\
|
||||
-I$(SRCDIR)/xmlscript/source/inc \
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
||||
|
||||
$(eval $(call gb_Library_add_defs,xcr,\
|
||||
-DXCR_DLLIMPLEMENTATION \
|
||||
))
|
||||
|
||||
|
||||
$(eval $(call gb_Library_add_exception_objects,xcr,\
|
||||
xmlscript/source/misc/unoservices \
|
||||
xmlscript/source/xml_helper/xml_byteseq \
|
||||
xmlscript/source/xml_helper/xml_element \
|
||||
xmlscript/source/xml_helper/xml_impctx \
|
||||
xmlscript/source/xmldlg_imexp/xmldlg_addfunc \
|
||||
xmlscript/source/xmldlg_imexp/xmldlg_expmodels \
|
||||
xmlscript/source/xmldlg_imexp/xmldlg_export \
|
||||
xmlscript/source/xmldlg_imexp/xmldlg_impmodels \
|
||||
xmlscript/source/xmldlg_imexp/xmldlg_import \
|
||||
xmlscript/source/xmlflat_imexp/xmlbas_export \
|
||||
xmlscript/source/xmlflat_imexp/xmlbas_import \
|
||||
xmlscript/source/xmllib_imexp/xmllib_export \
|
||||
xmlscript/source/xmllib_imexp/xmllib_import \
|
||||
xmlscript/source/xmlmod_imexp/xmlmod_export \
|
||||
xmlscript/source/xmlmod_imexp/xmlmod_import \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
17
xmlscript/Module_xmlscript.mk
Normal file
17
xmlscript/Module_xmlscript.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- 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_Module_Module,xmlscript))
|
||||
|
||||
$(eval $(call gb_Module_add_targets,xmlscript,\
|
||||
Library_xcr \
|
||||
Package_inc \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
26
xmlscript/Package_inc.mk
Normal file
26
xmlscript/Package_inc.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
# -*- 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_Package_Package,xmlscript_inc,$(SRCDIR)/xmlscript))
|
||||
|
||||
# headers
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xcrdllapi.h,inc/xmlscript/xcrdllapi.h))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xml_helper.hxx,inc/xmlscript/xml_helper.hxx))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmldlg_imexp.hxx,inc/xmlscript/xmldlg_imexp.hxx))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmllib_imexp.hxx,inc/xmlscript/xmllib_imexp.hxx))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlmod_imexp.hxx,inc/xmlscript/xmlmod_imexp.hxx))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlns.h,inc/xmlscript/xmlns.h))
|
||||
|
||||
# dtds
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/dialog.dtd,dtd/dialog.dtd))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/libraries.dtd,dtd/libraries.dtd))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/library.dtd,dtd/library.dtd))
|
||||
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/module.dtd,dtd/module.dtd))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
Reference in New Issue
Block a user