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>2009-07-28 00:27:09 +0400
committerKeith Marshall <keithmarshall@@users.sf.net>2009-07-28 00:27:09 +0400
commitb70cd7bca1009b7d4678a1e2a6f0ee0f27ab8193 (patch)
treec2ce41f1d0ad45e0f44113e2a727f6d7c958837c /winsup/mingw/profile/Makefile.in
parent5e2b7ea9490595b8535189af2451a1b8e841ddba (diff)
Convert to monolithic configuration procedure.
Diffstat (limited to 'winsup/mingw/profile/Makefile.in')
-rw-r--r--winsup/mingw/profile/Makefile.in30
1 files changed, 24 insertions, 6 deletions
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in
index f9c71be50..b918bfbb0 100644
--- a/winsup/mingw/profile/Makefile.in
+++ b/winsup/mingw/profile/Makefile.in
@@ -5,15 +5,23 @@
VPATH = @srcdir@
srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+
+# FIXME: I see no reason to define `objdir';
+# it appears to be unused, and could be removed.
objdir = .
target_alias = @target_alias@
prefix = @prefix@
+datarootdir = @datarootdir@
program_transform_name = @program_transform_name@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
+
+# FIXME: Use of `target_alias' is extremely suspect here;
+# (see relevant note in top level Makefile).
tooldir = $(exec_prefix)/$(target_alias)
datadir = @datadir@
infodir = @infodir@
@@ -38,6 +46,13 @@ CXXFLAGS = @CXXFLAGS@
# compiling with Cygwin?
NO_CYGWIN := @NO_CYGWIN@
ifdef NO_CYGWIN
+#
+# FIXME: What is the purpose of this hideous kludge?
+#
+# `CC' should have been appropriately set by the configure script;
+# to mess with it, in this fashion, should neither be necessary,
+# nor accepted.
+#
override CC := ${NO_CYGWIN} $(firstword $(filter-out ${NO_CYGWIN},${CC}))
endif
@@ -51,7 +66,7 @@ THREAD_DLL_VERSION = 10
THREAD_DLL_NAME = $(THREAD_DLL)$(THREAD_DLL_VERSION).dll
W32API_INCLUDE = @W32API_INCLUDE@
-INCLUDES = -I$(srcdir) -I$(srcdir)/../include \
+INCLUDES = -I${srcdir} -I${top_srcdir}/include \
-nostdinc \
-iwithprefixbefore include
ALL_CFLAGS = $(CFLAGS) $(INCLUDES) $(W32API_INCLUDE)
@@ -93,17 +108,19 @@ gcrt2.o: gcrt0.c
$(CC) -D__MSVCRT__ -c -o $@ $(CPPFLAGS) $(ALL_CFLAGS) $?
#
-# Dependancies
+# Dependencies
#
gmon.o: gmon.c gmon.h profile.h profil.h
mcount.o: mcount.c gmon.h profile.h
profil.o: profil.c profil.h
-Makefile: Makefile.in config.status configure
- $(SHELL) config.status
+top_builddir = @top_builddir@
+
+Makefile: Makefile.in ${top_builddir}/config.status ${top_srcdir}/configure
+ cd ${top_builddir}; $(SHELL) config.status
-config.status: configure
- $(SHELL) config.status --recheck
+${top_builddir}/config.status: ${top_srcdir}/configure
+ cd ${top_builddir}; $(SHELL) config.status --recheck
info:
@@ -143,3 +160,4 @@ dist:
cp -p $(srcdir)/$$i $(distdir)/profile/$$i ; \
done
+# $RCSfile$: end of file