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>2001-09-17 16:38:45 +0400
committerEarnie Boyd <earnie@users.sf.net>2001-09-17 16:38:45 +0400
commitf244c34bae8073e67e19f2a3e5e7035ec391dda3 (patch)
tree6ef0b17219a79ba14c16d69acc50c8aec5a6f581 /winsup/mingw
parent60136eb0b28717fb8e861c51f5a798c495960a06 (diff)
* Makefile.in: Increment version.
* include/_mingw.h: Ditto.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog5
-rw-r--r--winsup/mingw/Makefile.in58
-rw-r--r--winsup/mingw/include/_mingw.h4
3 files changed, 46 insertions, 21 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 198f5664e..fc122b755 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-17 Earnie Boyd <earnie@SF.net>
+
+ * Makefile.in: Increment version.
+ * include/_mingw.h: Ditto.
+
2001-09-10 Earnie Boyd <earnie@SF.net>
* dossh: Remove inadvertantly imported file.
diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in
index d2f384ca1..293be5f9f 100644
--- a/winsup/mingw/Makefile.in
+++ b/winsup/mingw/Makefile.in
@@ -18,12 +18,15 @@
# This makefile requires GNU make.
PACKAGE = mingw-runtime
-VERSION = 1.0
+VERSION = 1.1
+CYGRELEASE = 1
VPATH = @srcdir@
srcdir = @srcdir@
objdir = .
+host_alias = @host_alias@
+build_alias = @build_alias@
target_alias = @target_alias@
prefix = @prefix@
@@ -31,10 +34,27 @@ program_transform_name = @program_transform_name@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
+ifeq ($(target_alias),$(host_alias))
+ifeq ($(build_alias),$(host_alias))
+tooldir:=$(exec_prefix)
+else
+tooldir:=$(exec_prefix)/$(target_alias)
+endif
+else
+tooldir:=$(exec_prefix)/$(target_alias)
+endif
datadir = @datadir@
infodir = @infodir@
includedir = @includedir@
+ifneq (,$(findstring cygwin,$(target_alias)))
+inst_bindir:=$(tooldir)/usr/bin
+inst_includedir:=$(tooldir)/usr/include/mingw
+inst_libdir:=$(tooldir)/usr/lib/mingw
+else
+inst_bindir:=$(bindir)
+inst_includedir:=$(includedir)
+inst_libdir:=$(libdir)
+endif
# The Mingw headers are installed under a subdirectory of
# $(tooldir)/include when configuring in Cygwin.
@@ -113,6 +133,9 @@ FLAGS_TO_PASS:=\
datadir="$(datadir)" \
infodir="$(infodir)" \
includedir="$(includedir)" \
+ inst_bindir="$(inst_bindir)" \
+ inst_includedir="$(inst_includedir)" \
+ inst_libdir="$(inst_libdir)" \
prefix="$(prefix)" \
target_alias="$(target_alias)"
@@ -143,7 +166,7 @@ all_dlls_host: $(DLLS)
install_dlls_host:
for i in $(DLLS); do \
- $(INSTALL_PROGRAM) $$i $(bindir)/$$i ; \
+ $(INSTALL_PROGRAM) $$i $(inst_bindir)/$$i ; \
done
_libm_dummy.o:
@@ -237,9 +260,13 @@ distclean:
-rm -f Makefile
ifdef SNAPDATE
- distdir=$(PACKAGE)-$(VERSION)-$(SNAPDATE)
+ distdir=$(PACKAGE)-$(VERSION)-$(SNAPDATE)
else
- distdir=$(PACKAGE)-$(VERSION)
+ ifneq (,$(findstring cygwin, $(target_alias)))
+ distdir=$(PACKAGE)-$(VERSION)-$(CYGRELEASE)
+ else
+ distdir=$(PACKAGE)-$(VERSION)
+ endif
endif
dist: srcdist bindist
@@ -270,16 +297,8 @@ bindist:
chmod 755 $(distdir)
$(MAKE) install prefix=$(shell pwd)/$(distdir)
rm -f $(distdir).tar.gz
-#FIXME does the install process really need to install into the $(tooldir)?
- cd $(distdir) ; \
- cd $(target_alias); \
- for i in *; do \
- mv $$i ../; \
- done; \
- cd ..; \
- rmdir $(target_alias); \
+ cd $(distdir); \
$(TAR) czf ../$(distdir).tar.gz *
-#end FIXME
snapshot:
make dist SNAPDATE=$(shell date '+%Y%m%d')
@@ -291,18 +310,19 @@ info-html:
install-info: info
install-dirs:
- $(mkinstalldirs) $(bindir)
- $(mkinstalldirs) $(tooldir)/lib$(subdirforlib)
+ $(mkinstalldirs) $(inst_bindir)
+ $(mkinstalldirs) $(inst_includedir)
+ $(mkinstalldirs) $(inst_libdir)
install: all install-dirs $(install_dlls_host)
for i in $(LIBS); do \
- $(INSTALL_DATA) $$i $(tooldir)/lib$(subdirforlib)/$$i ; \
+ $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \
done
for i in $(CRT0S); do \
- $(INSTALL_DATA) $$i $(tooldir)/lib/$(subdirforlib)/$$i ; \
+ $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \
done
for sub in . sys ; do \
- dstdir=$(tooldir)/include/$(HEADER_SUBDIR)/$$sub ; \
+ dstdir=$(inst_includedir)/$$sub ; \
$(mkinstalldirs) $$dstdir ; \
for i in $(srcdir)/include/$$sub/*.h ; do \
$(INSTALL_DATA) $$i $$dstdir/`basename $$i` ; \
diff --git a/winsup/mingw/include/_mingw.h b/winsup/mingw/include/_mingw.h
index c8774e71a..66090a8f4 100644
--- a/winsup/mingw/include/_mingw.h
+++ b/winsup/mingw/include/_mingw.h
@@ -60,9 +60,9 @@
# define __int64 long long
#endif /* __GNUC__ */
-#define __MINGW32_VERSION 1.0
+#define __MINGW32_VERSION 1.1
#define __MINGW32_MAJOR_VERSION 1
-#define __MINGW32_MINOR_VERSION 0
+#define __MINGW32_MINOR_VERSION 1
#endif /* __MINGW_H */