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:
authorChristopher Faylor <me@cgf.cx>2011-04-04 19:01:43 +0400
committerChristopher Faylor <me@cgf.cx>2011-04-04 19:01:43 +0400
commit3649c742cb376fe9c61df4ac24445df181a25fb8 (patch)
treeda38fd61325c6e2ac545cf6bf0adf012fa245c7c /winsup/cygwin/Makefile.in
parent708293f94e8362fdf799417dcf80e3f65d4b4ea0 (diff)
* Makefile.in: Move Makefile.common include earlier to fix problems with
relative ${srcdir} path which confuses make.
Diffstat (limited to 'winsup/cygwin/Makefile.in')
-rw-r--r--winsup/cygwin/Makefile.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 59abd356f..bb0b7336a 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -9,12 +9,19 @@
# details.
# This makefile requires GNU make.
+#
+# Include common definitions for winsup directory
+# The following assignments are "inputs" to Makefile.common
+#
+CC:=@CC@
+CC_FOR_TARGET:=$(CC)
+CONFIG_DIR:=$(srcdir)/config/@CONFIG_DIR@
+srcdir:=@srcdir@
+include ${srcdir}/../Makefile.common
SHELL:=@SHELL@
-srcdir:=@srcdir@
objdir:=.
-CONFIG_DIR:=$(srcdir)/config/@CONFIG_DIR@
VPATH:=$(srcdir):$(CONFIG_DIR):$(srcdir)/regex:$(srcdir)/lib:$(srcdir)/libc
target_alias:=@target_alias@
@@ -51,9 +58,6 @@ override INSTALL_DATA:=@INSTALL_DATA@
MT_SAFE:=@MT_SAFE@
DEFS:=@DEFS@
CCEXTRA:=
-CC:=@CC@
-# FIXME: Which is it, CC or CC_FOR_TARGET?
-CC_FOR_TARGET:=$(CC)
CFLAGS=@CFLAGS@
override CFLAGS+=-MMD ${$(*F)_CFLAGS} -Werror -fmerge-constants -ftracer \
-mno-use-libstdc-wrappers $(CCEXTRA)
@@ -73,10 +77,6 @@ OBJDUMP:=@OBJDUMP@
STRIP:=@STRIP@
LDSCRIPT:=cygwin.sc
MKDIRP:=$(INSTALL) -m 755 -d
-#
-# Include common definitions for winsup directory
-#
-include $(srcdir)/../Makefile.common
@SET_MAKE@