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:
Diffstat (limited to 'winsup/w32api/lib')
-rw-r--r--winsup/w32api/lib/Makefile.in8
1 files changed, 6 insertions, 2 deletions
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