summaryrefslogtreecommitdiff
path: root/xmlreader/Library_xmlreader.mk
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-03-02 18:41:59 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-17 01:07:42 +0200
commitac61a8dd8e45669c89f4a17c262e1b8669e6109b (patch)
tree17abcc08ad798df5c268512976cb9b3fac6efeb8 /xmlreader/Library_xmlreader.mk
parent013fa416d39f1c219722e6736b7234f944fe774f (diff)
CWS gnumake4: convert xmlreader to new build system [hg:751b4a1bff7b]
Diffstat (limited to 'xmlreader/Library_xmlreader.mk')
-rw-r--r--xmlreader/Library_xmlreader.mk55
1 files changed, 55 insertions, 0 deletions
diff --git a/xmlreader/Library_xmlreader.mk b/xmlreader/Library_xmlreader.mk
new file mode 100644
index 000000000000..f7ad24377231
--- /dev/null
+++ b/xmlreader/Library_xmlreader.mk
@@ -0,0 +1,55 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,xmlreader))
+
+$(eval $(call gb_Library_add_package_headers,xmlreader,xmlreader_inc))
+
+# add any additional include paths for this library here
+$(eval $(call gb_Library_set_include,xmlreader,\
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc/offuh \
+))
+
+$(eval $(call gb_Library_set_defs,xmlreader,\
+ $$(DEFS) \
+ -DOOO_DLLIMPLEMENTATION_XMLREADER \
+))
+
+$(eval $(call gb_Library_add_linked_libs,xmlreader,\
+ sal \
+ stl \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,xmlreader,\
+ xmlreader/source/pad \
+ xmlreader/source/span \
+ xmlreader/source/xmlreader \
+))
+
+# vim: set noet sw=4 ts=4: