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
path: root/winsup
diff options
context:
space:
mode:
authorKeith Marshall <keithmarshall@@users.sf.net>2011-12-13 00:02:33 +0400
committerKeith Marshall <keithmarshall@@users.sf.net>2011-12-13 00:02:33 +0400
commit1e10d23a5649235e8e8ba5f3d4c17ba9cdb6b4f9 (patch)
tree5f04115da23bb481515818e7f88e7b58110a10eb /winsup
parent735415570a28d6b5cde94b2168e537ae44d95f4b (diff)
Correct makefile error; remove unnecessary FLAGS_TO_PASS macro
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog11
-rw-r--r--winsup/w32api/Makefile.in35
-rw-r--r--winsup/w32api/lib/Makefile.in41
3 files changed, 36 insertions, 51 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 9056eb1ff..ea8a82603 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,14 @@
+2011-12-12 Keith Marshall <keithmarshall@users.sf.net>
+
+ * Makefile.in (FLAGS_TO_PASS): Pointless macro; remove it. (Defaults
+ for all are propagated by configure, and make automatically propagates
+ any user specified overrides.
+
+ * lib/Makefile.in (FLAGS_TO_PASS): Similarly removed, as pointless.
+ (uninstall-ddk, uninstall-directx): Remove improperly used '-C' from
+ make command; the directory to process was previously selected by cd,
+ and not properly specified as argument to '-C'.
+
2011-12-10 Keith Marshall <keithmarshall@users.sf.net>
* aclocal.m4: Redundant file; delete it.
diff --git a/winsup/w32api/Makefile.in b/winsup/w32api/Makefile.in
index fba5c3a6a..179da1b9d 100644
--- a/winsup/w32api/Makefile.in
+++ b/winsup/w32api/Makefile.in
@@ -1,11 +1,13 @@
+# @configure_input@
#
-# Makefile.in
#
-# This file is part of a free library for the Win32 API.
+# Makefile.in
+#
+# This file is part of a free library for the Win32 API.
#
-# This library 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.
+# This library 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.
# start config section
@@ -48,21 +50,6 @@ TAR = tar
TARFLAGS = --lzma -
TARFILEEXT = .tar.lzma
-FLAGS_TO_PASS = \
- AS="$(AS)" \
- CC="$(CC)" \
- CPPFLAGS="$(CPPFLAGS)" \
- CFLAGS="$(CFLAGS)" \
- CXXFLAGS="$(CXXFLAGS)" \
- AR="$(AR)" \
- RANLIB="$(RANLIB)" \
- LD="$(LD)" \
- DLLTOOL="$(DLLTOOL)" \
- TAR="$(TAR)" \
- TARFLAGS="$(TARFLAGS)" \
- TARFILEEXT="$(TARFILEEXT)" \
- WINDRES="$(WINDRES)"
-
# end config section
SUBDIRS = lib
@@ -79,18 +66,18 @@ all: lib
%-subdirs:
for i in $(SUBDIRS); do \
- $(MAKE) $(FLAGS_TO_PASS) -C $$i $*; \
+ $(MAKE) -C $$i $*; \
done
lib:
- $(MAKE) $(FLAGS_TO_PASS) -C $@
+ $(MAKE) -C $@
test:
- $(MAKE) -C lib test $(FLAGS_TO_PASS)
+ $(MAKE) -C lib test
install uninstall:
for i in $(SUBDIRS); do \
- (cd $$i; $(MAKE) $@ $(FLAGS_TO_PASS)); \
+ (cd $$i; $(MAKE) $@); \
done
ifdef SNAPDATE
diff --git a/winsup/w32api/lib/Makefile.in b/winsup/w32api/lib/Makefile.in
index 81773b63f..8a8dca4a9 100644
--- a/winsup/w32api/lib/Makefile.in
+++ b/winsup/w32api/lib/Makefile.in
@@ -1,11 +1,13 @@
+# @configure_input@
#
-# Makefile.in
#
-# This file is part of a free library for the Win32 API.
+# Makefile.in
+#
+# This file is part of a free library for the Win32 API.
#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# start config section
@@ -91,21 +93,6 @@ RANLIB = @RANLIB@
AR = @AR@
LD = @LD@
-FLAGS_TO_PASS = \
- AS="$(AS)" \
- CC="$(CC)" \
- CPPFLAGS="$(CPPFLAGS)" \
- CFLAGS="$(CFLAGS)" \
- CXXFLAGS="$(CXXFLAGS)" \
- AR="$(AR)" \
- RANLIB="$(RANLIB)" \
- LD="$(LD)" \
- DLLTOOL="$(DLLTOOL)" \
- TAR="$(TAR)" \
- TARFLAGS="$(TARFLAGS)" \
- TARFILEEXT="$(TARFILEEXT)" \
- WINDRES="$(WINDRES)"
-
# end config section
# headers
@@ -148,14 +135,14 @@ all: $(EXTRA_OBJS) $(LIBS) ddk directx
%-subdirs:
for i in $(SUBDIRS); do \
- $(MAKE) $(FLAGS_TO_PASS) -C $$i $*; \
+ $(MAKE) -C $$i $*; \
done
ddk:
- $(MAKE) $(FLAGS_TO_PASS) -C $@
+ $(MAKE) -C $@
directx:
- $(MAKE) $(FLAGS_TO_PASS) -C $@
+ $(MAKE) -C $@
TEST_OPTIONS = $(ALL_CFLAGS) -DWINVER=0x0666 \
-Wall -pedantic -Wsystem-headers -c $(srcdir)/test.c -o test.o
@@ -246,10 +233,10 @@ install-headers: $(need-DESTDIR-compatibility)
done
install-ddk: install-libraries install-headers
- cd ddk && $(MAKE) install $(FLAGS_TO_PASS)
+ cd ddk && $(MAKE) install
install-directx: install-libraries install-headers
- cd directx && $(MAKE) install $(FLAGS_TO_PASS)
+ cd directx && $(MAKE) install
# uninstall headers and libraries from a target specified directory
uninstall: uninstall-ddk uninstall-directx uninstall-libraries uninstall-headers
@@ -267,10 +254,10 @@ uninstall-headers: $(need-DESTDIR-compatibility)
rmdir $(DESTDIR)$(inst_includedir)
uninstall-ddk:
- cd ddk && $(MAKE) -C uninstall $(FLAGS_TO_PASS)
+ cd ddk && $(MAKE) uninstall
uninstall-directx:
- cd directx && $(MAKE) -C uninstall $(FLAGS_TO_PASS)
+ cd directx && $(MAKE) uninstall
dist:
mkdir $(distdir)/include