aboutsummaryrefslogtreecommitdiff
path: root/nls/C/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nls/C/Makefile.am')
-rw-r--r--nls/C/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am
index be588ad..d17897a 100644
--- a/nls/C/Makefile.am
+++ b/nls/C/Makefile.am
@@ -36,8 +36,18 @@ uninstall-local:
36 36
37Translation.m: $(MFILES) 37Translation.m: $(MFILES)
38 @if test x$(NLSTEST) = "x-DNLS"; then \ 38 @if test x$(NLSTEST) = "x-DNLS"; then \
39 rm -f Translation.m; \
40 echo "//This file is generated from nls/C" > ../blackbox-nls.hh; \
41 echo "#ifndef BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \
42 echo "#define BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \
43 echo "namespace FBNLS {" >> ../blackbox-nls.hh; \
44 echo "enum {" >> ../blackbox-nls.hh; \
39 awk -f ../convert.awk header=../blackbox-nls.hh \ 45 awk -f ../convert.awk header=../blackbox-nls.hh \
40 output=Translation.m $(MFILES); \ 46 output=Translation.m $(MFILES); \
47 echo " dummy_not_used = 0 //just for the ending" >> ../blackbox-nls.hh; \
48 echo "}; //end enum" >> ../blackbox-nls.hh; \
49 echo "}; //end namespace" >> ../blackbox-nls.hh; \
50 echo "#endif //BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \
41 fi 51 fi
42 52
43blackbox.cat: Translation.m 53blackbox.cat: Translation.m