From cc100085ed91b9a002e3e1ac4b27bc2d5ad80ab4 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Wed, 22 Nov 2000 01:51:53 +0000 Subject: * 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. --- winsup/mingw/profile/ChangeLog | 25 ------------------------- winsup/mingw/profile/Makefile.in | 8 ++++++++ winsup/mingw/profile/gmon.h | 5 +++-- 3 files changed, 11 insertions(+), 27 deletions(-) delete mode 100644 winsup/mingw/profile/ChangeLog (limited to 'winsup/mingw/profile') 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 - - * profil.c (profile_on): Set the profiler thread priority to - be time critical. Thanks to Pascal Obry . - -Sun Nov 7 04:17:27 1999 Mumit Khan - - * Makefile.in (install): Fix target. - -Thu Nov 4 14:06:21 1999 Mumit Khan - - * 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 #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. -- cgit v1.2.3