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:
Diffstat (limited to 'winsup/mingw/profile/Makefile.in')
-rw-r--r--winsup/mingw/profile/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in
index 07d5d54a2..eb89fe24d 100644
--- a/winsup/mingw/profile/Makefile.in
+++ b/winsup/mingw/profile/Makefile.in
@@ -65,7 +65,8 @@ DLLTOOL_FLAGS = --as $(AS_FOR_TARGET)
LIBGMON_A = @LIBGMON_A@
LIBGMON_OBJS = gmon.o mcount.o profil.o
-CRT0S = gcrt1.o gcrt2.o
+CRT0S = @CRT0S@
+ALL_CRT0S = gcrt0.o gcrt1.o gcrt2.o
LIBS = $(LIBGMON_A)
DLLS =
@@ -76,6 +77,11 @@ $(LIBGMON_A): $(LIBGMON_OBJS) $(CRT0S)
$(AR) $(ARFLAGS) $@ $(LIBGMON_OBJS)
$(RANLIB) $@
+# FIXME: These are really the same, but gcc specs want different names.
+# The only CRT dependency is atexit.
+gcrt0.o: gcrt0.c
+ $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $?
+
gcrt1.o: gcrt0.c
$(CC) -U__MSVCRT__ -c -o $@ $(CPPFLAGS) $(CFLAGS) $?
@@ -110,7 +116,7 @@ install: all
done
clean:
- -rm -f $(LIBGMON_OBJS) $(CRT0S) $(LIBGMON_A)
+ -rm -f $(LIBGMON_OBJS) $(ALL_CRT0S) $(LIBGMON_A)
distclean:
-rm -f *.o *.a *~ core a.out