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:
authorKeith Marshall <keithmarshall@@users.sf.net>2012-01-16 01:30:48 +0400
committerKeith Marshall <keithmarshall@@users.sf.net>2012-01-16 01:30:48 +0400
commit47c607cdca55691c3f86f482f48a56a83d09bf34 (patch)
tree1825e70254f9dd1921c6647756257745305423f3 /winsup/w32api
parentfe493b0f4b9cf42766cd81772a7c3887eb0c1a26 (diff)
Add 'check' as GCS conforming alias for make's 'test' goal.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog12
-rw-r--r--winsup/w32api/Makefile.in6
-rw-r--r--winsup/w32api/lib/Makefile.in4
-rw-r--r--winsup/w32api/lib/ddk/Makefile.in4
-rw-r--r--winsup/w32api/lib/directx/Makefile.in5
5 files changed, 22 insertions, 9 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 05012f979..63a588471 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,17 @@
2012-01-15 Keith Marshall <keithmarshall@users.sf.net>
+ Add 'check' as GCS conforming alias for make's 'test' goal.
+
+ * Makefile.in (check): New goal; declare as .PHONY; implement it as...
+ (test): ... alternative goal name for this; the original 'test' goal
+ may now be considered as deprecated, but there is no pressing need to
+ withdraw support for it.
+
+ * lib/Makefile.in lib/ddk/Makefile.in lib/directx/Makefile.in:
+ (check, test): Likewise.
+
+2012-01-15 Keith Marshall <keithmarshall@users.sf.net>
+
More makefile code refactoring; remove redundant INCLUDES references.
* lib/directx/Makefile.in (INCLUDES): Reference to include/directx
diff --git a/winsup/w32api/Makefile.in b/winsup/w32api/Makefile.in
index c8d5ce969..f70ce08f2 100644
--- a/winsup/w32api/Makefile.in
+++ b/winsup/w32api/Makefile.in
@@ -43,8 +43,8 @@ all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
-test:
- $(MAKE) -C lib test
+check test:
+ $(MAKE) -C lib $@
install uninstall:
for dir in $(SUBDIRS); do \
@@ -141,6 +141,6 @@ distclean: clean-top
maintainer-clean: maintainer-clean-subdirs
-.PHONY: lib test
+.PHONY: lib check test
# Makefile.in: end of file
diff --git a/winsup/w32api/lib/Makefile.in b/winsup/w32api/lib/Makefile.in
index afe362c25..507e0026a 100644
--- a/winsup/w32api/lib/Makefile.in
+++ b/winsup/w32api/lib/Makefile.in
@@ -64,7 +64,7 @@ DISTFILES = Makefile.in $(DEF_FILES) $(MRI_FILES) $(SOURCES)
.NOTPARALLEL:
.PHONY: install install-libraries install-headers install-ddk
-.PHONY: test $(SUBDIRS)
+.PHONY: check test $(SUBDIRS)
# Targets: (note that 'all-default' is a redirection from 'all',
# which is the primary default target identified in the included
@@ -87,7 +87,7 @@ TEST_OPTIONS = \
$(ALL_CFLAGS) -DWINVER=0x0666 -Wall -pedantic -Wsystem-headers \
-c ${srcdir}/test.c -o test.o
-test:
+check test:
@echo "Testing w32api..."
@for lang in c c++ objective-c ; do \
echo "$$lang..."; \
diff --git a/winsup/w32api/lib/ddk/Makefile.in b/winsup/w32api/lib/ddk/Makefile.in
index a3d2b272a..001cd24a7 100644
--- a/winsup/w32api/lib/ddk/Makefile.in
+++ b/winsup/w32api/lib/ddk/Makefile.in
@@ -41,8 +41,8 @@ TEST_OPTIONS = \
$(ALL_CFLAGS) -Wall -pedantic -Wsystem-headers \
-c ${srcdir}/test.c -o test.o
-.PHONY: test
-test:
+.PHONY: check test
+check test:
@echo "Testing ddk..."
@for lang in c c++ objective-c; do \
echo "$$lang..."; \
diff --git a/winsup/w32api/lib/directx/Makefile.in b/winsup/w32api/lib/directx/Makefile.in
index bb5771891..2970c5b0b 100644
--- a/winsup/w32api/lib/directx/Makefile.in
+++ b/winsup/w32api/lib/directx/Makefile.in
@@ -50,8 +50,9 @@ all-default: $(LIBS)
TEST_OPTIONS = \
$(ALL_CFLAGS) -Wall -pedantic -Wsystem-headers \
-c ${srcdir}/test.c -o test.o
-.PHONY: test
-test:
+
+.PHONY: check test
+check test:
@echo "Testing directx..."
@for lang in c c++ objective-c; do \
echo "$$lang..."; \