mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 16:26:12 +08:00
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.
This commit is contained in:
parent
35fc781b4b
commit
4124e827f2
@ -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
|
2001-02-21 Earnie Boyd <earnie@users.sourceforge.net
|
||||||
|
|
||||||
* include/w32api.h: (_W32API_VERSION): Remove.
|
* include/w32api.h: (_W32API_VERSION): Remove.
|
||||||
|
@ -83,7 +83,11 @@ install uninstall:
|
|||||||
(cd $$i; $(MAKE) $@); \
|
(cd $$i; $(MAKE) $@); \
|
||||||
done
|
done
|
||||||
|
|
||||||
distdir = $(PACKAGE)-$(VERSION)
|
ifdef SNAPDATE
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)-$(SNAPDATE)
|
||||||
|
else
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
endif
|
||||||
|
|
||||||
dist: srcdist bindist
|
dist: srcdist bindist
|
||||||
|
|
||||||
@ -108,6 +112,9 @@ bindist:
|
|||||||
rm -f $(distdir).tar.gz
|
rm -f $(distdir).tar.gz
|
||||||
cd $(distdir); $(TAR) czf ../$(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
|
Makefile: Makefile.in config.status configure
|
||||||
$(SHELL) config.status
|
$(SHELL) config.status
|
||||||
|
|
||||||
|
@ -35,7 +35,11 @@ tooldir:=$(exec_prefix)/$(target_alias)
|
|||||||
endif
|
endif
|
||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
infodir = @infodir@
|
infodir = @infodir@
|
||||||
|
ifneq (,$(findstring cygwin,$(target_alias)))
|
||||||
|
includedir = $(tooldir)/include/w32api
|
||||||
|
else
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
|
endif
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@ -144,9 +148,9 @@ install-libraries: all
|
|||||||
done
|
done
|
||||||
|
|
||||||
install-headers:
|
install-headers:
|
||||||
$(mkinstalldirs) $(tooldir)/include/w32api
|
$(mkinstalldirs) $(includedir)
|
||||||
for i in $(HEADERS); do \
|
for i in $(HEADERS); do \
|
||||||
$(INSTALL_DATA) $(srcdir)/../include/$$i $(tooldir)/include/w32api/$$i ; \
|
$(INSTALL_DATA) $(srcdir)/../include/$$i $(includedir)/$$i ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
# uninstall headers and libraries from a target specified directory
|
# uninstall headers and libraries from a target specified directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user