diff options
Diffstat (limited to 'winsup/mingw/profile')
-rw-r--r-- | winsup/mingw/profile/ChangeLog | 25 | ||||
-rw-r--r-- | winsup/mingw/profile/Makefile.in | 8 | ||||
-rw-r--r-- | winsup/mingw/profile/gmon.h | 5 |
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. |