Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-01-22 18:18:58 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-01-22 18:18:58 +0300
commit19876644c750f10e517f4eaa5fec5fed81228c66 (patch)
treef73ad08c2aa2ffc772870080b50fbe729d3c8f04 /winsup/testsuite/Makefile.in
parent89f7e8d1d3a52ac824cfc10fdaaa213f43b4c121 (diff)
* cygrun.c: Move here from ../cygwin.
* Makefile.in: Build cygrun.exe. * winsup.api/winsup.exp: Expect cygrun.exe in $rootme.
Diffstat (limited to 'winsup/testsuite/Makefile.in')
-rw-r--r--winsup/testsuite/Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in
index b74f4c036..9d48e1faa 100644
--- a/winsup/testsuite/Makefile.in
+++ b/winsup/testsuite/Makefile.in
@@ -87,7 +87,7 @@ ifdef VERBOSE
RUNTESTFLAGS = -v
endif
-RUNTIME=$(cygwin_build)/new-cygwin1.dll $(cygwin_build)/new-libcygwin.a $(cygwin_build)/cygrun.exe
+RUNTIME=$(cygwin_build)/new-cygwin1.dll $(cygwin_build)/new-libcygwin.a cygrun.exe
TESTSUP_LIB_NAME:=libltp.a
TESTSUP_OFILES:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(libltp_srcdir)/lib/*.c}}}}}
@@ -180,3 +180,10 @@ check: $(TESTSUP_LIB_NAME) $(RUNTIME) testsuite/site.exp
export TCL_LIBRARY ; fi ; \
PATH=$(bupdir)/cygwin:$${PATH} ;\
$(RUNTEST) --tool winsup $(RUNTESTFLAGS)
+
+cygrun.o: cygrun.c
+ $(CC) $(MINGW_CFLAGS) -o $@ -c $<
+
+cygrun.exe : cygrun.o
+ $(CC) ${MINGW_LDFLAGS} -mno-cygwin -o $@ $<
+