summaryrefslogtreecommitdiff
path: root/test/unistd/Makefile.in
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-03-16 13:36:39 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-03-16 13:36:39 +0000
commite72856950a9baa76ed41fb8d684cb13375daf48e (patch)
tree7ab013c14a29d8ad4d02b5c6aebe587f4806510e /test/unistd/Makefile.in
parent72e880a46d65bcce7374c59826531240d6a316ba (diff)
Fixed makefiles inclusion flow to pass actual configuration variable values.
Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test/unistd/Makefile.in')
-rw-r--r--test/unistd/Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unistd/Makefile.in b/test/unistd/Makefile.in
new file mode 100644
index 000000000..ecc4219bb
--- /dev/null
+++ b/test/unistd/Makefile.in
@@ -0,0 +1,11 @@
+# uClibc unistd tests
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+
+OPTS_getopt := -abcXXX -9
+OPTS_getopt_long := --add XXX --delete YYY --verbose
+ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
+OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
+else
+# reordering is not supported, behaves as if POSIXLY_CORRECT would be set
+OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
+endif