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-03-01 23:32:34 +0300
committerEarnie Boyd <earnie@users.sf.net>2001-03-01 23:32:34 +0300
commit4124e827f221f3d9869a7e53f4a3f47649b82361 (patch)
tree88dc8690e6b8761af74e622f8b671c71ee82bc8a /winsup/w32api
parent35fc781b4b9f8959b7c1a39d2316c7f2a814ad42 (diff)
2001-03-01 Earnie Boyd <earnie@users.sourceforge.net
* Makefile.in: (snapshot): Add target. * lib/Makefile.in: (install-headers): Use installdir variable. (installdir): Set value based on target-alias.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/Makefile.in9
-rw-r--r--winsup/w32api/lib/Makefile.in8
3 files changed, 20 insertions, 3 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index dcce7f05d..3111b73b0 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,4 +1,10 @@
+2001-03-01 Earnie Boyd <earnie@users.sourceforge.net
+
+ * Makefile.in: (snapshot): Add target.
+ * lib/Makefile.in: (install-headers): Use installdir variable.
+ (installdir): Set value based on target-alias.
+
2001-02-21 Earnie Boyd <earnie@users.sourceforge.net
* include/w32api.h: (_W32API_VERSION): Remove.
diff --git a/winsup/w32api/Makefile.in b/winsup/w32api/Makefile.in
index baab75016..0765891bb 100644
--- a/winsup/w32api/Makefile.in
+++ b/winsup/w32api/Makefile.in
@@ -83,7 +83,11 @@ install uninstall:
(cd $$i; $(MAKE) $@); \
done
-distdir = $(PACKAGE)-$(VERSION)
+ifdef SNAPDATE
+ distdir = $(PACKAGE)-$(VERSION)-$(SNAPDATE)
+else
+ distdir = $(PACKAGE)-$(VERSION)
+endif
dist: srcdist bindist
@@ -108,6 +112,9 @@ bindist:
rm -f $(distdir).tar.gz
cd $(distdir); $(TAR) czf ../$(distdir).tar.gz .
+snapshot:
+ make dist SNAPDATE=$(shell date '+%Y%m%d')
+
Makefile: Makefile.in config.status configure
$(SHELL) config.status
diff --git a/winsup/w32api/lib/Makefile.in b/winsup/w32api/lib/Makefile.in
index 6749b4e52..ec1942456 100644
--- a/winsup/w32api/lib/Makefile.in
+++ b/winsup/w32api/lib/Makefile.in
@@ -35,7 +35,11 @@ tooldir:=$(exec_prefix)/$(target_alias)
endif
datadir = @datadir@
infodir = @infodir@
+ifneq (,$(findstring cygwin,$(target_alias)))
+includedir = $(tooldir)/include/w32api
+else
includedir = @includedir@
+endif
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
@@ -144,9 +148,9 @@ install-libraries: all
done
install-headers:
- $(mkinstalldirs) $(tooldir)/include/w32api
+ $(mkinstalldirs) $(includedir)
for i in $(HEADERS); do \
- $(INSTALL_DATA) $(srcdir)/../include/$$i $(tooldir)/include/w32api/$$i ; \
+ $(INSTALL_DATA) $(srcdir)/../include/$$i $(includedir)/$$i ; \
done
# uninstall headers and libraries from a target specified directory