summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-16 20:58:28 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-16 21:00:11 -0500
commit0db1b46a45694a735d0f33f5c5a1facede58e653 (patch)
tree8c27449ffe4377bb70d397bda1f33b0ec1511bce /xmlscript
parent3ffb36f4d07ce54255184fa97d6574c20ae6b802 (diff)
gbuildify xmlscript
Change-Id: Ia3704b4a7813d45c87e9f7107945fedd73622339
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/Library_xcr.mk58
-rw-r--r--xmlscript/Module_xmlscript.mk17
-rw-r--r--xmlscript/Package_inc.mk26
3 files changed, 101 insertions, 0 deletions
diff --git a/xmlscript/Library_xcr.mk b/xmlscript/Library_xcr.mk
new file mode 100644
index 000000000000..d3aa64294104
--- /dev/null
+++ b/xmlscript/Library_xcr.mk
@@ -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:
diff --git a/xmlscript/Module_xmlscript.mk b/xmlscript/Module_xmlscript.mk
new file mode 100644
index 000000000000..d1072c73212b
--- /dev/null
+++ b/xmlscript/Module_xmlscript.mk
@@ -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:
diff --git a/xmlscript/Package_inc.mk b/xmlscript/Package_inc.mk
new file mode 100644
index 000000000000..bb4419c4c615
--- /dev/null
+++ b/xmlscript/Package_inc.mk
@@ -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: