1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
|
## Makefile for the gettext-tools/tests subdirectory of GNU gettext
## Copyright (C) 1995-2024 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program 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 General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <https://www.gnu.org/licenses/>.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.11 gnits color-tests
SUBDIRS = gnulib-lib
EXTRA_DIST =
MOSTLYCLEANFILES = core *.stackdump
TESTS = gettext-1 gettext-2 \
intl-0 intl-1 intl-2 intl-3 intl-4 intl-5 intl-6 intl-7 \
intl-setlocale-1 intl-setlocale-2 \
intl-thread-1 intl-thread-2 intl-thread-3 \
intl-version \
msgattrib-1 msgattrib-2 msgattrib-3 msgattrib-4 msgattrib-5 \
msgattrib-6 msgattrib-7 msgattrib-8 msgattrib-9 msgattrib-10 \
msgattrib-11 msgattrib-12 msgattrib-13 msgattrib-14 msgattrib-15 \
msgattrib-16 msgattrib-17 msgattrib-18 msgattrib-19 \
msgattrib-properties-1 \
msgcat-1 msgcat-2 msgcat-3 msgcat-4 msgcat-5 msgcat-6 msgcat-7 \
msgcat-8 msgcat-9 msgcat-10 msgcat-11 msgcat-12 msgcat-13 msgcat-14 \
msgcat-15 msgcat-16 msgcat-17 msgcat-18 msgcat-19 msgcat-20 msgcat-21 \
msgcat-22 \
msgcat-properties-1 msgcat-properties-2 \
msgcat-stringtable-1 \
msgcmp-1 msgcmp-2 msgcmp-3 msgcmp-4 \
msgcomm-1 msgcomm-2 msgcomm-3 msgcomm-4 msgcomm-5 msgcomm-6 msgcomm-7 \
msgcomm-8 msgcomm-9 msgcomm-10 msgcomm-11 msgcomm-12 msgcomm-13 \
msgcomm-14 msgcomm-15 msgcomm-16 msgcomm-17 msgcomm-18 msgcomm-19 \
msgcomm-20 msgcomm-21 msgcomm-22 msgcomm-23 msgcomm-24 msgcomm-25 \
msgcomm-26 msgcomm-27 msgcomm-28 \
msgconv-1 msgconv-2 msgconv-3 msgconv-4 msgconv-5 msgconv-6 msgconv-7 \
msgconv-8 \
msgen-1 msgen-2 msgen-3 msgen-4 \
msgexec-1 msgexec-2 msgexec-3 msgexec-4 msgexec-5 msgexec-6 \
msgfilter-1 msgfilter-2 msgfilter-3 msgfilter-4 msgfilter-5 \
msgfilter-6 msgfilter-7 msgfilter-8 \
msgfilter-sr-latin-1 msgfilter-quote-1 \
msgfmt-1 msgfmt-2 msgfmt-3 msgfmt-4 msgfmt-5 msgfmt-6 msgfmt-7 \
msgfmt-8 msgfmt-9 msgfmt-10 msgfmt-11 msgfmt-12 msgfmt-13 msgfmt-14 \
msgfmt-15 msgfmt-16 msgfmt-17 msgfmt-18 msgfmt-19 msgfmt-20 \
msgfmt-properties-1 \
msgfmt-tcl-1 msgfmt-tcl-2 \
msgfmt-qt-1 msgfmt-qt-2 \
msgfmt-desktop-1 msgfmt-desktop-2 msgfmt-desktop-3 msgfmt-desktop-4 \
msgfmt-xml-1 msgfmt-xml-2 msgfmt-xml-3 msgfmt-xml-4 msgfmt-xml-5 \
msggrep-1 msggrep-2 msggrep-3 msggrep-4 msggrep-5 msggrep-6 msggrep-7 \
msggrep-8 msggrep-9 msggrep-10 msggrep-11 \
msginit-1 msginit-2 msginit-3 msginit-4 msginit-5 \
msgmerge-1 msgmerge-2 msgmerge-3 msgmerge-4 msgmerge-5 msgmerge-6 \
msgmerge-7 msgmerge-8 msgmerge-9 msgmerge-10 msgmerge-11 msgmerge-12 \
msgmerge-13 msgmerge-14 msgmerge-15 \
msgmerge-charset-1 msgmerge-charset-2 msgmerge-charset-3 \
msgmerge-charset-4 \
msgmerge-compendium-1 msgmerge-compendium-2 msgmerge-compendium-3 \
msgmerge-compendium-4 msgmerge-compendium-5 msgmerge-compendium-6 \
msgmerge-domain-1 msgmerge-domain-2 \
msgmerge-format-1 msgmerge-format-2 msgmerge-format-3 \
msgmerge-plural-1 msgmerge-plural-2 msgmerge-plural-3 \
msgmerge-plural-4 msgmerge-plural-5 msgmerge-plural-6 \
msgmerge-properties-1 msgmerge-properties-2 \
msgmerge-update-1 msgmerge-update-2 msgmerge-update-3 \
msgmerge-update-4 \
msgunfmt-1 msgunfmt-2 msgunfmt-3 \
msgunfmt-csharp-1 \
msgunfmt-java-1 \
msgunfmt-properties-1 \
msgunfmt-tcl-1 \
msguniq-1 msguniq-2 msguniq-3 msguniq-4 msguniq-5 msguniq-6 msguniq-7 \
recode-sr-latin-1 recode-sr-latin-2 \
xgettext-2 xgettext-3 xgettext-4 xgettext-5 xgettext-6 \
xgettext-7 xgettext-8 xgettext-9 xgettext-10 xgettext-11 xgettext-12 \
xgettext-13 xgettext-14 xgettext-15 xgettext-16 xgettext-17 \
xgettext-18 \
xgettext-combine-1 xgettext-combine-2 xgettext-combine-3 \
xgettext-appdata-1 xgettext-appdata-2 xgettext-appdata-3 \
xgettext-awk-1 xgettext-awk-2 xgettext-awk-3 \
xgettext-awk-stackovfl-1 xgettext-awk-stackovfl-2 \
xgettext-c-2 xgettext-c-3 xgettext-c-4 xgettext-c-5 xgettext-c-6 \
xgettext-c-7 xgettext-c-8 \
xgettext-c-comment-1 xgettext-c-comment-2 xgettext-c-comment-3 \
xgettext-c-comment-4 xgettext-c-comment-5 xgettext-c-comment-6 \
xgettext-c-escape-1 xgettext-c-escape-2 xgettext-c-escape-3 \
xgettext-c-format-1 xgettext-c-format-2 xgettext-c-format-3 \
xgettext-c-format-4 xgettext-c-format-5 xgettext-c-format-6 \
xgettext-c-ctxt-1 xgettext-c-ctxt-2 xgettext-c-ctxt-3 \
xgettext-c-c++-1 xgettext-c-c++-2 \
xgettext-c-stackovfl-1 xgettext-c-stackovfl-2 \
xgettext-csharp-1 xgettext-csharp-2 xgettext-csharp-3 \
xgettext-csharp-4 xgettext-csharp-5 xgettext-csharp-6 \
xgettext-csharp-7 xgettext-csharp-8 xgettext-csharp-9 \
xgettext-csharp-stackovfl-1 xgettext-csharp-stackovfl-2 \
xgettext-csharp-stackovfl-3 xgettext-csharp-stackovfl-4 \
xgettext-desktop-1 xgettext-desktop-2 xgettext-desktop-3 \
xgettext-docbook-1 \
xgettext-elisp-1 xgettext-elisp-2 xgettext-elisp-3 \
xgettext-elisp-stackovfl-1 xgettext-elisp-stackovfl-2 \
xgettext-elisp-stackovfl-3 xgettext-elisp-stackovfl-4 \
xgettext-glade-1 xgettext-glade-2 xgettext-glade-3 xgettext-glade-4 \
xgettext-glade-5 xgettext-glade-6 xgettext-glade-7 \
xgettext-gsettings-1 \
xgettext-its-1 xgettext-its-2 \
xgettext-java-1 xgettext-java-2 xgettext-java-3 xgettext-java-4 \
xgettext-java-5 xgettext-java-6 xgettext-java-7 xgettext-java-8 \
xgettext-java-9 \
xgettext-java-stackovfl-1 xgettext-java-stackovfl-2 \
xgettext-java-stackovfl-3 xgettext-java-stackovfl-4 \
xgettext-javascript-1 xgettext-javascript-2 xgettext-javascript-3 \
xgettext-javascript-4 xgettext-javascript-5 xgettext-javascript-6 \
xgettext-javascript-7 xgettext-javascript-8 xgettext-javascript-9 \
xgettext-javascript-10 xgettext-javascript-11 xgettext-javascript-12 \
xgettext-javascript-13 \
xgettext-javascript-stackovfl-1 xgettext-javascript-stackovfl-2 \
xgettext-javascript-stackovfl-3 xgettext-javascript-stackovfl-4 \
xgettext-javascript-stackovfl-5 xgettext-javascript-stackovfl-6 \
xgettext-javascript-stackovfl-7 xgettext-javascript-stackovfl-8 \
xgettext-librep-1 xgettext-librep-2 xgettext-librep-3 \
xgettext-librep-stackovfl-1 xgettext-librep-stackovfl-2 \
xgettext-lisp-1 xgettext-lisp-2 xgettext-lisp-3 xgettext-lisp-4 \
xgettext-lisp-5 xgettext-lisp-6 \
xgettext-lisp-stackovfl-1 xgettext-lisp-stackovfl-2 \
xgettext-lua-1 xgettext-lua-2 xgettext-lua-3 \
xgettext-lua-stackovfl-1 xgettext-lua-stackovfl-2 \
xgettext-lua-stackovfl-3 xgettext-lua-stackovfl-4 \
xgettext-objc-1 xgettext-objc-2 \
xgettext-perl-1 xgettext-perl-2 xgettext-perl-3 xgettext-perl-4 \
xgettext-perl-5 xgettext-perl-6 xgettext-perl-7 xgettext-perl-8 \
xgettext-perl-9 xgettext-perl-10 \
xgettext-perl-stackovfl-1 xgettext-perl-stackovfl-2 \
xgettext-perl-stackovfl-3 xgettext-perl-stackovfl-4 \
xgettext-perl-stackovfl-5 \
xgettext-php-1 xgettext-php-2 xgettext-php-3 xgettext-php-4 \
xgettext-php-5 \
xgettext-php-stackovfl-1 xgettext-php-stackovfl-2 \
xgettext-php-stackovfl-3 xgettext-php-stackovfl-4 \
xgettext-po-1 xgettext-po-2 xgettext-po-3 xgettext-po-4 xgettext-po-5 \
xgettext-properties-1 xgettext-properties-2 xgettext-properties-3 \
xgettext-properties-4 \
xgettext-rst-1 xgettext-rst-2 \
xgettext-python-1 xgettext-python-2 xgettext-python-3 \
xgettext-python-4 xgettext-python-5 xgettext-python-6 \
xgettext-python-7 xgettext-python-8 xgettext-python-9 \
xgettext-python-stackovfl-1 xgettext-python-stackovfl-2 \
xgettext-python-stackovfl-3 xgettext-python-stackovfl-4 \
xgettext-ruby-1 xgettext-ruby-2 \
xgettext-scheme-1 xgettext-scheme-2 xgettext-scheme-3 \
xgettext-scheme-4 xgettext-scheme-5 xgettext-scheme-6 \
xgettext-scheme-7 xgettext-scheme-8 \
xgettext-scheme-format-1 xgettext-scheme-format-2 \
xgettext-scheme-stackovfl-1 xgettext-scheme-stackovfl-2 \
xgettext-sh-1 xgettext-sh-2 xgettext-sh-3 xgettext-sh-4 xgettext-sh-5 \
xgettext-sh-6 xgettext-sh-7 xgettext-sh-8 \
xgettext-sh-stackovfl-1 xgettext-sh-stackovfl-2 \
xgettext-sh-stackovfl-3 xgettext-sh-stackovfl-4 \
xgettext-sh-stackovfl-5 \
xgettext-smalltalk-1 xgettext-smalltalk-2 \
xgettext-stringtable-1 \
xgettext-tcl-1 xgettext-tcl-2 xgettext-tcl-3 xgettext-tcl-4 \
xgettext-tcl-5 \
xgettext-tcl-stackovfl-1 xgettext-tcl-stackovfl-2 \
xgettext-tcl-stackovfl-3 xgettext-tcl-stackovfl-4 \
xgettext-vala-1 xgettext-vala-2 xgettext-vala-3 xgettext-vala-4 \
xgettext-vala-5 xgettext-vala-6 xgettext-vala-7 \
xgettext-vala-stackovfl-1 xgettext-vala-stackovfl-2 \
xgettext-ycp-1 xgettext-ycp-2 xgettext-ycp-3 xgettext-ycp-4 \
xgettext-ycp-stackovfl-1 xgettext-ycp-stackovfl-2 \
xgettext-ycp-stackovfl-3 xgettext-ycp-stackovfl-4 \
format-awk-1 format-awk-2 \
format-boost-1 format-boost-2 \
format-c-1 format-c-2 format-c-3 format-c-4 format-c-5 \
format-c++-brace-1 format-c++-brace-2 \
format-csharp-1 format-csharp-2 \
format-elisp-1 format-elisp-2 \
format-gcc-internal-1 format-gcc-internal-2 \
format-gfc-internal-1 format-gfc-internal-2 \
format-java-1 format-java-2 \
format-java-printf-1 format-java-printf-2 \
format-javascript-1 format-javascript-2 \
format-kde-1 format-kde-2 \
format-kde-kuit-1 format-kde-kuit-2 \
format-librep-1 format-librep-2 \
format-lisp-1 format-lisp-2 \
format-lua-1 format-lua-2 \
format-php-1 format-php-2 \
format-python-1 format-python-2 \
format-python-brace-1 format-python-brace-2 \
format-pascal-1 format-pascal-2 \
format-perl-1 format-perl-2 \
format-perl-brace-1 format-perl-brace-2 \
format-perl-mixed-1 format-perl-mixed-2 \
format-qt-1 format-qt-2 \
format-qt-plural-1 format-qt-plural-2 \
format-ruby-1 format-ruby-2 \
format-scheme-1 format-scheme-2 \
format-sh-1 format-sh-2 \
format-tcl-1 format-tcl-2 \
format-ycp-1 format-ycp-2 \
plural-1 plural-2 plural-3 plural-4 \
gettextpo-1 sentence-1 \
lang-po \
lang-c lang-c++ lang-c++20 lang-objc \
lang-python-1 lang-python-2 \
lang-java \
lang-csharp \
lang-javascript \
lang-guile lang-clisp lang-elisp lang-librep \
lang-sh lang-bash \
lang-gawk \
lang-lua \
lang-pascal \
lang-smalltalk \
lang-vala \
lang-tcl \
lang-perl-1 lang-perl-2 \
lang-php \
lang-ycp \
lang-rst \
autopoint-1 autopoint-2 autopoint-3 cldr-plurals-1
# Expected test failures.
XFAIL_TESTS =
if OS_IS_NATIVE_WINDOWS
# Tests that rely on shell scripts.
XFAIL_TESTS += \
msgexec-1 msgexec-3 msgexec-4 msgexec-5 msgexec-6 \
msgfilter-6 msgfilter-7
# Functionality that relies on shell scripts.
XFAIL_TESTS += \
msginit-3
endif
EXTRA_DIST += init.sh init.cfg $(TESTS) \
test.mo overflow-1.mo overflow-2.mo overflow-3.mo overflow-4.mo \
overflow-5.mo overflow-6.mo overflow-7.mo sysdep-without-nul.mo \
xg-c-1.ok.po mex-test2.ok \
mm-ko.ascii.pot mm-ko.euc-kr.po mm-ko-comp.euc-kr.po \
mm-viet.comp.po mm-viet.pot mm-viet.out \
msguniq-a.in msguniq-a.inp msguniq-a.out \
qttest_pl.po qttest_pl.qm \
qttest2_de.po qttest2_de.qm qttest2_de.ts \
intl-1.po intl-2-1.po intl-2-2.po intl-4.po \
intl-setlocale-1-1.po intl-setlocale-1-2.po intl-setlocale-2.po \
intl-thread-1.po intl-thread-2-1.po intl-thread-2-2.po \
intl-thread-3.po \
gettextpo-1.de.po \
xgettext-1 \
xgettext-c-1 xg-c-comment-6.c xg-c-escape-3.c xg-vala-2.vala \
common/supplemental/plurals.xml \
testdata/nonascii.pot \
testdata/tcltest_pl.po testdata/tcltest_pl.msg \
testdata/tcltest_cs.po testdata/tcltest_cs.msg \
testdata/xg-el-so-3.el testdata/xg-el-so-4.el \
testdata/xg-pl-so-5.pl \
testdata/xg-po-3.po testdata/xg-po-4.po
XGETTEXT = ../src/xgettext
# For debugging memory leaks and memory allocation bugs.
# You should build with --disable-shared when using valgrind.
CHECKER =
#CHECKER = valgrind --tool=memcheck --suppressions=$(abs_srcdir)/../gnulib-lib/libunistring.valgrind --num-callers=20 --leak-check=yes --leak-resolution=high --show-reachable=yes
#CHECKER = valgrind --tool=massif --format=html --depth=10 --alloc-fn=xmalloc --alloc-fn=xrealloc --stacks=no
TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
abs_srcdir=$(abs_srcdir) \
abs_top_srcdir=$(abs_top_srcdir) \
GETTEXT="$(CHECKER) tstgettext" \
NGETTEXT="$(CHECKER) tstngettext" \
XGETTEXT="$(CHECKER) xgettext" \
MSGATTRIB="$(CHECKER) msgattrib" \
MSGCAT="$(CHECKER) msgcat" \
MSGCMP="$(CHECKER) msgcmp" \
MSGCOMM="$(CHECKER) msgcomm" \
MSGCONV="$(CHECKER) msgconv" \
MSGEN="$(CHECKER) msgen" \
MSGEXEC="$(CHECKER) msgexec" \
MSGFILTER="$(CHECKER) msgfilter" \
MSGFMT="$(CHECKER) msgfmt" \
MSGGREP="$(CHECKER) msggrep" \
MSGINIT="$(CHECKER) msginit" \
MSGMERGE="$(CHECKER) msgmerge" \
MSGUNFMT="$(CHECKER) msgunfmt" \
MSGUNIQ="$(CHECKER) msguniq" \
RECODE="$(CHECKER) recode" \
CONFIG_SHELL='$(SHELL)'
# Invoke the shell explicitly, because the execute-permission bit on the scripts
# may get lost in particular circumstances (e.g. when unpacking a tarball, or
# under Cygwin).
# This has the consequence that all tests have to be shell scripts.
LOG_COMPILER = $(SHELL)
# Update the expected test results.
update-expected: xg-c-1.ok.po
xg-c-1.ok.po: $(top_srcdir)/src/xgettext.c $(top_srcdir)/src/msgfmt.c
$(XGETTEXT) -d xg-c-1.ok -p $(srcdir) \
-k_ --omit-header --no-location \
$(top_srcdir)/src/xgettext.c $(top_srcdir)/src/msgfmt.c
# Auxiliary programs used by the tests.
# Note that Automake's $(DEFAULT_INCLUDES) already contains
# -I. -I$(srcdir) -I$(top_builddir).
AM_CPPFLAGS = \
-Ignulib-lib -I$(srcdir)/gnulib-lib \
-I../gnulib-lib -I$(top_srcdir)/gnulib-lib \
-I../../gettext-runtime/intl
DEFS = -DLOCALEDIR=$(localedir_c_make) @DEFS@
# INTL_MACOSX_LIBS is needed because the programs depend on libintl.la
# but libtool doesn't put -Wl,-framework options into .la files.
LDADD = $(LDADD_@USE_INCLUDED_LIBINTL@) @INTL_MACOSX_LIBS@
LDADD_yes = ../../gettext-runtime/intl/libintl.la @LTLIBTHREAD@
LDADD_no = ../../gettext-runtime/intl/libgnuintl.la @LTLIBTHREAD@ @LTLIBINTL@
check_PROGRAMS = tstgettext tstngettext testlocale intl-1-prg intl-3-prg intl-4-prg intl-5-prg intl-6-prg intl-7-prg intl-setlocale-1-prg intl-setlocale-2-prg intl-thread-1-prg intl-thread-2-prg intl-thread-3-prg intl-version-prg cake fc3 fc4 fc5 gettextpo-1-prg sentence-1-prg
tstgettext_SOURCES = \
tstgettext.c ../../gettext-runtime/src/escapes.h \
setlocale.c
tstgettext_CFLAGS = -DINSTALLDIR=\".\"
tstgettext_LDADD = gnulib-lib/libtestsgnu.a ../gnulib-lib/libgettextlib.la $(LDADD) $(LIBMULTITHREAD)
tstngettext_SOURCES = tstngettext.c setlocale.c
tstngettext_CFLAGS = -DINSTALLDIR=\".\"
tstngettext_LDADD = gnulib-lib/libtestsgnu.a ../gnulib-lib/libgettextlib.la $(LDADD) $(LIBMULTITHREAD)
testlocale_SOURCES = testlocale.c
intl_1_prg_SOURCES = intl-1-prg.c
intl_1_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_3_prg_SOURCES = intl-3-prg.c
intl_3_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_4_prg_SOURCES = intl-4-prg.c
intl_4_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_5_prg_SOURCES = intl-5-prg.c
intl_5_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_6_prg_SOURCES = intl-6-prg.c
intl_6_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_7_prg_SOURCES = intl-7-prg.c
intl_7_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_setlocale_1_prg_SOURCES = intl-setlocale-1-prg.c
intl_setlocale_1_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_setlocale_2_prg_SOURCES = intl-setlocale-2-prg.c
intl_setlocale_2_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
intl_thread_1_prg_SOURCES = intl-thread-1-prg.c
intl_thread_1_prg_CFLAGS = $(intl_thread_1_prg_CFLAGS_@HAVE_NEWLOCALE@)
intl_thread_1_prg_CFLAGS_1 = -DUSE_POSIX_THREADS
intl_thread_1_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) $(intl_thread_1_prg_LDADD_@HAVE_NEWLOCALE@)
intl_thread_1_prg_LDADD_1 = -lpthread
intl_thread_2_prg_SOURCES = intl-thread-2-prg.c
intl_thread_2_prg_CFLAGS = $(intl_thread_2_prg_CFLAGS_@HAVE_NEWLOCALE@)
intl_thread_2_prg_CFLAGS_1 = -DUSE_POSIX_THREADS
intl_thread_2_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) $(intl_thread_2_prg_LDADD_@HAVE_NEWLOCALE@)
intl_thread_2_prg_LDADD_1 = -lpthread
intl_thread_3_prg_SOURCES = intl-thread-3-prg.c
intl_thread_3_prg_CFLAGS = $(intl_thread_3_prg_CFLAGS_@HAVE_NEWLOCALE@)
intl_thread_3_prg_CFLAGS_1 = -DUSE_POSIX_THREADS
intl_thread_3_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) $(intl_thread_3_prg_LDADD_@HAVE_NEWLOCALE@)
intl_thread_3_prg_LDADD_1 = -lpthread
intl_version_prg_SOURCES = intl-version-prg.c
intl_version_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
cake_SOURCES = plural-1-prg.c setlocale.c
cake_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
fc3_SOURCES = format-c-3-prg.c setlocale.c
fc3_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
fc4_SOURCES = format-c-4-prg.c setlocale.c
fc4_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
fc5_SOURCES = format-c-5-prg.c
fc5_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
gettextpo_1_prg_SOURCES = gettextpo-1-prg.c
# Don't add 'gnulib-lib' to the include path here. Some header files
# there may interfere with the ones in 'libgettextpo'.
gettextpo_1_prg_CPPFLAGS = \
-I.. \
-I../libgettextpo -I$(top_srcdir)/libgettextpo \
-I../intl
# Don't add more libraries here. This test must check whether libgettextpo is
# self contained.
gettextpo_1_prg_LDADD = ../libgettextpo/libgettextpo.la $(LDADD)
sentence_1_prg_SOURCES = sentence-1-prg.c
sentence_1_prg_CPPFLAGS = $(AM_CPPFLAGS) -I../src -I$(top_srcdir)/src
sentence_1_prg_LDADD = ../src/libgettextsrc.la $(LDADD)
# Allow users to use "gnulib-tool --update".
EXTRA_DIST += gnulib-m4/gnulib-cache.m4
# Clean up after Solaris cc.
clean-local:
rm -rf SunWS_cache
|