blob: 7a26dc333b38fb4bf4c1d0e0aee34c45816a5934 [file] [log] [blame]
Norbert Thiebaud0db1b462012-06-16 20:58:28 -05001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3# This file is part of the LibreOffice project.
4#
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/.
8#
9
Michael Meeksae7534f2012-07-06 21:28:03 +010010$(eval $(call gb_Library_Library,xmlscript))
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050011
Michael Stahla53586f2013-01-26 21:19:13 +010012$(eval $(call gb_Library_use_external,xmlscript,boost_headers))
13
Stephan Bergmanndb3a61c2021-12-09 10:15:05 +010014$(eval $(call gb_Library_set_componentfile,xmlscript,xmlscript/util/xmlscript,services))
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050015
Michael Meeksae7534f2012-07-06 21:28:03 +010016$(eval $(call gb_Library_use_sdk_api,xmlscript))
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050017
Michael Meeksae7534f2012-07-06 21:28:03 +010018$(eval $(call gb_Library_use_libraries,xmlscript,\
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050019 comphelper \
20 cppu \
21 cppuhelper \
22 sal \
Noel Grandin6bf00f02013-05-21 13:50:45 +020023 tl \
Eike Rathke6c88ebe2013-07-12 12:29:45 +020024 i18nlangtag \
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050025))
26
Michael Meeksae7534f2012-07-06 21:28:03 +010027$(eval $(call gb_Library_set_include,xmlscript,\
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050028 -I$(SRCDIR)/xmlscript/source/inc \
29 $$(INCLUDE) \
30))
31
Michael Meeksae7534f2012-07-06 21:28:03 +010032$(eval $(call gb_Library_add_defs,xmlscript,\
33 -DXMLSCRIPT_DLLIMPLEMENTATION \
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050034))
35
Luboš Luňák42af04b2019-06-22 12:34:48 +020036$(eval $(call gb_Library_set_precompiled_header,xmlscript,xmlscript/inc/pch/precompiled_xmlscript))
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050037
Michael Meeksae7534f2012-07-06 21:28:03 +010038$(eval $(call gb_Library_add_exception_objects,xmlscript,\
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050039 xmlscript/source/xml_helper/xml_byteseq \
40 xmlscript/source/xml_helper/xml_element \
41 xmlscript/source/xml_helper/xml_impctx \
42 xmlscript/source/xmldlg_imexp/xmldlg_addfunc \
43 xmlscript/source/xmldlg_imexp/xmldlg_expmodels \
44 xmlscript/source/xmldlg_imexp/xmldlg_export \
45 xmlscript/source/xmldlg_imexp/xmldlg_impmodels \
46 xmlscript/source/xmldlg_imexp/xmldlg_import \
47 xmlscript/source/xmlflat_imexp/xmlbas_export \
Norbert Thiebaud0db1b462012-06-16 20:58:28 -050048 xmlscript/source/xmllib_imexp/xmllib_export \
49 xmlscript/source/xmllib_imexp/xmllib_import \
50 xmlscript/source/xmlmod_imexp/xmlmod_export \
51 xmlscript/source/xmlmod_imexp/xmlmod_import \
52))
53
54# vim: set noet sw=4 ts=4: