From ef9a4a4e29567f5d4371b9a0a82881c72e095dee Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 31 Aug 2020 08:33:24 -0600 Subject: [PATCH] cs makefiles: fix cross install for Windows to install include files Closes #3374 --- racket/src/cs/c/Makefile.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/racket/src/cs/c/Makefile.in b/racket/src/cs/c/Makefile.in index 8a428096e2..886f629646 100644 --- a/racket/src/cs/c/Makefile.in +++ b/racket/src/cs/c/Makefile.in @@ -364,6 +364,7 @@ plain-install-upcased: $(STRIP_DEBUG) $(libpltdir)/MzStart.exe $(STRIP_DEBUG) $(libpltdir)/MrStart.exe $(MAKE) system-install + $(MAKE) include-install $(MAKE) install-cross # ---------------------------------------- @@ -475,14 +476,17 @@ common-install: $(ICP) $(srcdir)/../../start/starter-sh "$(DESTDIR)$(libpltdir)/starter-sh" $(RACKET) -cu "$(srcdir)/../../bc/collects-path.rkt" "$(DESTDIR)$(libpltdir)/starter" $(DESTDIR)@COLLECTS_PATH@ $(DESTDIR)@CONFIG_PATH@ $(MAKE) system-install - $(ICP) $(srcdir)/api.h "$(DESTDIR)$(includepltdir)/racketcs.h" - $(ICP) $(srcdir)/boot.h "$(DESTDIR)$(includepltdir)/racketcsboot.h" - $(ICP) $(SCHEME_INC)/scheme.h "$(DESTDIR)$(includepltdir)/chezscheme.h" + $(MAKE) include-install $(MAKE) common-@INSTALL_LIBS_ENABLE@-libs system-install: $(RACKET) -cu "$(srcdir)/gen-system.rkt" $(DESTDIR)$(libpltdir)/system$(CS_INSTALLED).rktd $(TARGET_MACH) @CROSS_COMPILE_TARGET_KIND@ +include-install: + $(ICP) $(srcdir)/api.h "$(DESTDIR)$(includepltdir)/racketcs.h" + $(ICP) $(srcdir)/boot.h "$(DESTDIR)$(includepltdir)/racketcsboot.h" + $(ICP) $(SCHEME_INC)/scheme.h "$(DESTDIR)$(includepltdir)/chezscheme.h" + common-install-libs: $(ICP_LIB) libracketcs.a "$(DESTDIR)$(libdir)/libracketcs.a" $(STRIP_LIB_DEBUG) "$(DESTDIR)$(libdir)/libracketcs.a"