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:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-06-13 14:20:48 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-06-13 14:20:48 +0400
commitdc8971488e7c174ab4084cbdb0a8f12c39b738d7 (patch)
treed679387fa379b6d5feb9756bdd7237347614453b /winsup/mingw/profile/Makefile.in
parent5f74ae83e5fba1ceb73a8d822cbe2b48c619127f (diff)
* include/_mingw.h: Increment version to 2.0.
* Makefile.in: Ditto. Merge in mingwex branch.
Diffstat (limited to 'winsup/mingw/profile/Makefile.in')
-rw-r--r--winsup/mingw/profile/Makefile.in23
1 files changed, 15 insertions, 8 deletions
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in
index d8825269f..c7f3a0c7f 100644
--- a/winsup/mingw/profile/Makefile.in
+++ b/winsup/mingw/profile/Makefile.in
@@ -49,7 +49,8 @@ THREAD_DLL_NAME = $(THREAD_DLL)$(THREAD_DLL_VERSION).dll
INCLUDES = -I$(srcdir) -I$(srcdir)/../include \
-I$(srcdir)/../../w32api/include \
- -nostdinc -nostdinc++
+ -nostdinc -nostdinc++ \
+ -iwithprefixbefore include
ALL_CFLAGS = $(CFLAGS) $(INCLUDES) $(MNO_CYGWIN)
ALL_CXXFLAGS = $(CXXFLAGS) $(INCLUDES) $(MNO_CYGWIN)
@@ -65,7 +66,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 +78,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) $?
@@ -95,22 +102,22 @@ info-html:
install-info: info
install: all
- $(mkinstalldirs) $(tooldir)/lib
+ $(mkinstalldirs) $(inst_libdir)
for i in $(LIBS); do \
- $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \
+ $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \
done
for i in $(CRT0S); do \
- $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \
+ $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \
done
for sub in . ; do \
- $(mkinstalldirs) $(tooldir)/include/$$sub ; \
+ $(mkinstalldirs) $(inst_includedir)/$$sub ; \
for i in $(srcdir)/$$sub/*.h ; do \
- $(INSTALL_DATA) $$i $(tooldir)/include/$$sub/`basename $$i` ; \
+ $(INSTALL_DATA) $$i $(inst_includedir)/$$sub/`basename $$i` ; \
done ; \
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