makefile: more fixes for install of include files on Windows
This commit is contained in:
parent
ba5cbaf2e2
commit
f90b1f21bf
|
@ -54,6 +54,9 @@
|
|||
|
||||
(if (directory-exists? incdir) (void) (make-directory incdir))
|
||||
(copy-if-newer mzconfdir "mzconfig.h")
|
||||
(if (file-exists? (build-path mzconfdir "bc_suffix.h"))
|
||||
(copy-if-newer mzconfdir "bc_suffix.h")
|
||||
(void))
|
||||
(copy-if-newer mzsrcdir "sconfig.h")
|
||||
(copy-if-newer mzsrcdir "uconfig.h")
|
||||
(copy-if-newer mzsrcdir "include/escheme.h")
|
||||
|
|
|
@ -63,6 +63,8 @@ cd ..
|
|||
if "%BUILD_LEVEL%"=="3m" goto doneBuilding
|
||||
if "%BUILD_LEVEL%"=="bc" goto doneBuilding
|
||||
|
||||
..\..\racketcgc -cu ..\bc\mkincludes.rkt ..\..\include ..\bc .
|
||||
|
||||
cd mzstart
|
||||
msbuild mzstart%PLTSLNVER%.sln /p:Configuration=Release /p:Platform=%BUILDMODE%
|
||||
if errorlevel 1 exit /B 1
|
||||
|
|
|
@ -249,6 +249,7 @@
|
|||
(make-directory* "../../etc")
|
||||
(make-directory* "../../doc")
|
||||
(make-directory* "../../share")
|
||||
(make-directory* "../../include")
|
||||
|
||||
(copy-file "../LICENSE-libscheme.txt"
|
||||
"../../share/LICENSE-libscheme.txt"
|
||||
|
@ -266,6 +267,15 @@
|
|||
"../../share/LICENSE-GPL.txt"
|
||||
#t)
|
||||
|
||||
(copy-file "../cs/c/api.h"
|
||||
"../../include/racketcs.h"
|
||||
#t)
|
||||
(copy-file "../cs/c/boot.h"
|
||||
"../../include/racketcsboot.h"
|
||||
#t)
|
||||
(copy-file (build-path scheme-dir machine "boot" machine "scheme.h")
|
||||
"../../include//chezscheme.h")
|
||||
|
||||
(parameterize ([current-directory "mzstart"])
|
||||
(system*! "msbuild"
|
||||
(format "mzstart~a.sln" pltslnver)
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="
if exist "$(TargetPath)" goto :MzOK
echo Error: did not find $(TargetPath)
exit 1
:MzOK
"$(TargetPath)" -cu ..\..\bc\mkincludes.rkt "$(TargetDir)/include/" ..\..\bc ..
if errorlevel 1 exit 1
"$(TargetPath)" -cu ..\..\bc\mksystem.rkt "$(TargetDir)/lib/system.rktd"
cd ..\..\bc\dynsrc
call mkmzdyn.bat $(ConfigurationName) $(PlatformName)
cd ..\..\worksp\racket
addman.bat

"
|
||||
CommandLine="
cd ..\..\bc\dynsrc
call mkmzdyn.bat $(ConfigurationName) $(PlatformName)
cd ..\..\worksp\racket
addman.bat

"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
|
|
|
@ -72,12 +72,6 @@
|
|||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>
|
||||
if exist "$(TargetPath)" goto :MzOK
|
||||
echo Error: did not find $(TargetPath)
|
||||
exit 1
|
||||
:MzOK
|
||||
"$(TargetPath)" -cu ..\..\bc\mkincludes.rkt "$(TargetDir)/include/" ..\..\bc ..
|
||||
if errorlevel 1 exit 1
|
||||
cd ..\..\bc\dynsrc
|
||||
call mkmzdyn.bat $(Configuration) $(Platform)
|
||||
cd ..\..\worksp\racket
|
||||
|
|
Loading…
Reference in New Issue
Block a user