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:
authorEarnie Boyd <earnie@users.sf.net>2000-11-22 04:51:53 +0300
committerEarnie Boyd <earnie@users.sf.net>2000-11-22 04:51:53 +0300
commitcc100085ed91b9a002e3e1ac4b27bc2d5ad80ab4 (patch)
treed4bc7e9238c96a1b8406df42424f65bec5bcde96 /winsup/mingw/profile
parent08eac2aedddd2c5d71a70c133e9563ce3ac4e6db (diff)
* Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
Add variables and targets to control binary and source distributions. Add variables and targets to control snapshot distribution. * profile/gmon.h: Add missing #endif for #ifndef. * profile/ChangeLog: Merge entries here and remove. * profile/Makefile.in: Add variables and targets to control distribution. * README: Add. * TODO: ditto. * config.guess: ditto. * config.sub: ditto. * mkinstalldirs: ditto. * install-sh: ditto. * configure: regenerate. * profile/configure: ditto.
Diffstat (limited to 'winsup/mingw/profile')
-rw-r--r--winsup/mingw/profile/ChangeLog25
-rw-r--r--winsup/mingw/profile/Makefile.in8
-rw-r--r--winsup/mingw/profile/gmon.h5
3 files changed, 11 insertions, 27 deletions
diff --git a/winsup/mingw/profile/ChangeLog b/winsup/mingw/profile/ChangeLog
deleted file mode 100644
index d6e94e8c7..000000000
--- a/winsup/mingw/profile/ChangeLog
+++ /dev/null
@@ -1,25 +0,0 @@
-Thu Nov 18 00:20:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
-
- * profil.c (profile_on): Set the profiler thread priority to
- be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
-
-Sun Nov 7 04:17:27 1999 Mumit Khan <khan@xraylith.wisc.edu>
-
- * Makefile.in (install): Fix target.
-
-Thu Nov 4 14:06:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
-
- * Makefile.in: New file.
- * configure.in: New file.
- * configure: Generate.
-
- * gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
- * gmon.h (u_char, u_short, u_int, u_long): Likewise.
- * gmon.c (unistd.h): Include conditionally.
- (sys/param.h): Likewise.
- * mcount.c (sys/param.h): Likewise.
- * profil.c (profile_on): thread id is DWORD, not int.
-
- * Imported profiling sources from winsup-19991026 snapshot.
-
-
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in
index 4359aa82d..1243b8a1d 100644
--- a/winsup/mingw/profile/Makefile.in
+++ b/winsup/mingw/profile/Makefile.in
@@ -25,6 +25,8 @@ INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
mkinstalldirs = $(SHELL) $(srcdir)/../../mkinstalldirs
+DISTFILES = Makefile.in configure configure.in gcrt0.c gmon.c gmon.h mcount.c \
+profil.c profil.h profile.h
CC = @CC@
# FIXME: Which is it, CC or CC_FOR_TARGET?
@@ -117,3 +119,9 @@ distclean:
.c.o:
$(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) $< -o $@
+dist:
+ mkdir $(distdir)/profile
+ chmod 755 $(distdir)/profile
+ @for i in $(DISTFILES); do\
+ cp -p $(srcdir)/$$i $(distdir)/profile/$$i ; \
+ done
diff --git a/winsup/mingw/profile/gmon.h b/winsup/mingw/profile/gmon.h
index ddcd48986..1f01bf418 100644
--- a/winsup/mingw/profile/gmon.h
+++ b/winsup/mingw/profile/gmon.h
@@ -51,13 +51,14 @@
#include <profile.h>
#ifdef __MINGW32__
-#if !defined _BSDTYPES_DEFINED
+#ifndef _BSDTYPES_DEFINED
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
#define _BSDTYPES_DEFINED
-#endif
+#endif /* _BSDTYPES_DEFINED */
+#endif /* __MINGW32__*/
/*
* Structure prepended to gmon.out profiling data file.