summaryrefslogtreecommitdiff
path: root/forms/AllLangResTarget_frm.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-04-03 17:44:24 +0200
committerDavid Tardon <dtardon@redhat.com>2011-04-03 17:44:24 +0200
commit25b47c571babdfaafb5b1506648acce207f64f21 (patch)
treec501a1f45d5966168551fcb2616f2d9d0e159868 /forms/AllLangResTarget_frm.mk
parentf3aafe2011b1e3677216408ec80bd688d060ca21 (diff)
gbuildize forms
Diffstat (limited to 'forms/AllLangResTarget_frm.mk')
-rw-r--r--forms/AllLangResTarget_frm.mk50
1 files changed, 50 insertions, 0 deletions
diff --git a/forms/AllLangResTarget_frm.mk b/forms/AllLangResTarget_frm.mk
new file mode 100644
index 000000000000..a2c2b774eb26
--- /dev/null
+++ b/forms/AllLangResTarget_frm.mk
@@ -0,0 +1,50 @@
+# 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
+# David Tardon, Red Hat Inc. <dtardon@redhat.com>
+# Portions created by the Initial Developer are Copyright (C) 2010 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,frm))
+
+$(eval $(call gb_AllLangResTarget_set_reslocation,frm,forms))
+
+$(eval $(call gb_AllLangResTarget_add_srs,frm,\
+ frm/res \
+))
+
+$(eval $(call gb_SrsTarget_SrsTarget,frm/res))
+
+$(eval $(call gb_SrsTarget_set_include,frm/res,\
+ $$(INCLUDE) \
+ -I$(realpath $(SRCDIR)/forms/source/inc) \
+ -I$(OUTDIR)/inc \
+ -I$(WORKDIR)/inc \
+))
+
+$(eval $(call gb_SrsTarget_add_files,frm/res,\
+ forms/source/resource/strings.src \
+ forms/source/resource/xforms.src \
+))
+
+# vim: set noet ts=4 sw=4: