The MinGW.org Windows System Libraries
リビジョン | b95d3b266051084843c1ae03878c1de1d3bc6c1b (tree) |
---|---|
日時 | 2013-07-29 10:54:19 |
作者 | Earnie Boyd <earnie@user...> |
コミッター | Earnie Boyd |
Correction for issue #2007.
@@ -1,3 +1,13 @@ | ||
1 | +2013-07-28 Earnie Boyd <earnie@users.sourceforge.net> | |
2 | + | |
3 | + Correction for issue #2007. | |
4 | + | |
5 | + * Makefile.in: Corrected for missing libgmon.a objects and headers. | |
6 | + * misc/gpl/profile/profil.h: Move to ... | |
7 | + * misc/gpl/include/profil.h: Here. | |
8 | + * misc/src/libcrt/profile/gmon.h: Move to ... | |
9 | + * misc/src/include/gmon.h: Here. | |
10 | + | |
1 | 11 | 2013-06-28 Earnie Boyd <earnie@users.sourceforge.net> |
2 | 12 | |
3 | 13 | * include/tchar.h (_tcsclen): Add missing define. |
@@ -58,6 +58,7 @@ MKDIR_P = @MKDIR_P@ | ||
58 | 58 | |
59 | 59 | INCLUDES=-I$(top_srcdir)/include -I$(srcdir)/include \ |
60 | 60 | -I$(top_srcdir)/src/libcrt/include -I$(top_srcdir)/misc/src/include \ |
61 | + -I$(top_srcdir)/misc/include -I$(top_srcdir)/misc/gpl/include \ | |
61 | 62 | -nostdinc -iwithprefixbefore include |
62 | 63 | ALL_CFLAGS=$(CFLAGS) $(INCLUDES) -DNTDDI_VERSION=0x04000000 |
63 | 64 |
@@ -527,7 +528,7 @@ SRCDIR := misc/src/libcrt/profile | ||
527 | 528 | profile_SOURCES := \ |
528 | 529 | $(SRCDIR)/gmon.c \ |
529 | 530 | $(SRCDIR)/mcount.c \ |
530 | - misc/gpl/profile/profil.c \ | |
531 | + misc/gpl/profile/profil.c | |
531 | 532 | libgmon_a_SOURCES := $(profile_SOURCES) |
532 | 533 | libgmon_a_OBJECTS := $(libgmon_a_SOURCES:.c=.o) |
533 | 534 |
@@ -948,12 +949,24 @@ install-includes: | ||
948 | 949 | for INC in $(top_srcdir)/include/*.h; do \ |
949 | 950 | $(INSTALL_DATA) $$INC $(DESTDIR)$(includedir) ; \ |
950 | 951 | done |
952 | + for INC in $(top_srcdir)/misc/include/*.h; do \ | |
953 | + $(INSTALL_DATA) $$INC $(DESTDIR)$(includedir) ; \ | |
954 | + done | |
955 | + for INC in $(top_srcdir)/misc/gpl/include/*.h; do \ | |
956 | + $(INSTALL_DATA) $$INC $(DESTDIR)$(includedir) ; \ | |
957 | + done | |
951 | 958 | for I in `find $(top_srcdir)/include/* -type d`; do \ |
952 | 959 | J=`basename $$I`; \ |
953 | 960 | for INC in $$I/*.h; do \ |
954 | 961 | $(INSTALL_DATA) $$INC $(DESTDIR)$(includedir)/$$J ; \ |
955 | 962 | done \ |
956 | 963 | done |
964 | + for I in `find $(top_srcdir)/misc/include/* -type d`; do \ | |
965 | + J=`basename $$I`; \ | |
966 | + for INC in $$I/*.h; do \ | |
967 | + $(INSTALL_DATA) $$INC $(DESTDIR)$(includedir)/$$J ; \ | |
968 | + done \ | |
969 | + done | |
957 | 970 | |
958 | 971 | install-bins: all |
959 | 972 | for BIN in $(bin_LIBRARIES); do \ |
@@ -991,6 +1004,9 @@ mingwrt_lib_SYS_INCLUDES := \ | ||
991 | 1004 | fcntl.h locking.h stat.h timeb.h unistd.h \ |
992 | 1005 | file.h param.h time.h types.h utime.h |
993 | 1006 | |
1007 | +mingwrt_lib_MISC_INCLUDES := \ | |
1008 | + misc/include/profile.h \ | |
1009 | + misc/gpl/include/profil.h | |
994 | 1010 | |
995 | 1011 | install-mingwrt: install-mingwrt-dirs |
996 | 1012 | for BIN in $(mingwrt_bin_LIBRARIES); do \ |
@@ -1002,6 +1018,9 @@ install-mingwrt: install-mingwrt-dirs | ||
1002 | 1018 | for INC in $(addprefix $(top_srcdir)/include/sys/,$(mingwrt_lib_SYS_INCLUDES)); do \ |
1003 | 1019 | $(INSTALL_DATA) $$INC $(DESTDIR)$(includedir)/sys/ ; \ |
1004 | 1020 | done |
1021 | + for INC in $(addprefix $(top_srcdir)/,$(mingwrt_lib_MISC_INCLUDES)); do \ | |
1022 | + $(INSTALL_DATA) $$INC $(DESTDIR)$(includedir)/ ; \ | |
1023 | + done | |
1005 | 1024 | for LIB in $(mingwrt_lib_LIBRARIES); do \ |
1006 | 1025 | $(INSTALL_DATA) $$LIB $(DESTDIR)$(libdir)/ ; \ |
1007 | 1026 | done |