summaryrefslogtreecommitdiff
path: root/xmlsecurity/AllLangResTarget_xsec.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-08-10 15:57:25 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-10 15:57:25 +0200
commited4393f649b8746d8d9a895b511bcc2f35a62ef5 (patch)
tree75c7bb7a618d5f9ec82854b9bc16a3ce43697f89 /xmlsecurity/AllLangResTarget_xsec.mk
parentf521db9f7af51bc6732d98513d478efc50ec1113 (diff)
process also resource files
Diffstat (limited to 'xmlsecurity/AllLangResTarget_xsec.mk')
-rw-r--r--xmlsecurity/AllLangResTarget_xsec.mk51
1 files changed, 51 insertions, 0 deletions
diff --git a/xmlsecurity/AllLangResTarget_xsec.mk b/xmlsecurity/AllLangResTarget_xsec.mk
new file mode 100644
index 000000000000..3dd76e140218
--- /dev/null
+++ b/xmlsecurity/AllLangResTarget_xsec.mk
@@ -0,0 +1,51 @@
+# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Matúš Kukan <matus.kukan@gmail.com>
+# Portions created by the Initial Developer are Copyright (C) 2011 the
+# Initial Developer. All Rights Reserved.
+#
+# Major Contributor(s):
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_AllLangResTarget_AllLangResTarget,xmlsec))
+
+$(eval $(call gb_AllLangResTarget_add_srs,xmlsec,\
+ xmlsec/res
+))
+
+$(eval $(call gb_SrsTarget_SrsTarget,xmlsec/res))
+
+$(eval $(call gb_SrsTarget_set_include,xmlsec/res,\
+ $$(INCLUDE) \
+ -I$(realpath $(SRCDIR)/xmlsec/inc/xmlsecurity) \
+ -I$(realpath $(SRCDIR)/xmlsec/source/dialogs) \
+))
+
+$(eval $(call gb_SrsTarget_add_files,xmlsec/res,\
+ xmlsecurity/source/dialogs/certificateviewer.src \
+ xmlsecurity/source/dialogs/macrosecurity.src \
+ xmlsecurity/source/dialogs/certificatechooser.src \
+ xmlsecurity/source/dialogs/digitalsignaturesdialog.src \
+ xmlsecurity/source/component/warnbox.src \
+))
+
+# vim: set noet sw=4 ts=4: