Skip to content

Commit 64ae299

Browse files
committed
Add GNU Make to the toolchain
1 parent 282fefd commit 64ae299

File tree

14 files changed

+924
-8
lines changed

14 files changed

+924
-8
lines changed

.gitmodules

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
[submodule "src/vasm"]
22
path = src/vasm
3-
url = http://github.com/leffmann/vasm
3+
url = https://github.com/leffmann/vasm
44
[submodule "src/vlink"]
55
path = src/vlink
6-
url = http://github.com/leffmann/vlink
6+
url = https://github.com/leffmann/vlink
77
[submodule "src/vbcc"]
88
path = src/vbcc
9-
url = http://github.com/leffmann/vbcc
9+
url = https://github.com/leffmann/vbcc
10+
[submodule "src/make"]
11+
path = src/make
12+
url = https://github.com/mirror/make

make/make.rc

4.2 KB
Binary file not shown.

make/make.vcxproj

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGuid>{7CAD1152-EB08-4AC6-B682-5CEC612C745E}</ProjectGuid>
23+
<Keyword>Win32Proj</Keyword>
24+
<RootNamespace>make</RootNamespace>
25+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
26+
</PropertyGroup>
27+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29+
<ConfigurationType>Application</ConfigurationType>
30+
<UseDebugLibraries>true</UseDebugLibraries>
31+
<PlatformToolset>v140</PlatformToolset>
32+
<CharacterSet>Unicode</CharacterSet>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
35+
<ConfigurationType>Application</ConfigurationType>
36+
<UseDebugLibraries>false</UseDebugLibraries>
37+
<PlatformToolset>v140</PlatformToolset>
38+
<WholeProgramOptimization>true</WholeProgramOptimization>
39+
<CharacterSet>MultiByte</CharacterSet>
40+
</PropertyGroup>
41+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42+
<ConfigurationType>Application</ConfigurationType>
43+
<UseDebugLibraries>true</UseDebugLibraries>
44+
<PlatformToolset>v140</PlatformToolset>
45+
<CharacterSet>Unicode</CharacterSet>
46+
</PropertyGroup>
47+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48+
<ConfigurationType>Application</ConfigurationType>
49+
<UseDebugLibraries>false</UseDebugLibraries>
50+
<PlatformToolset>v140</PlatformToolset>
51+
<WholeProgramOptimization>true</WholeProgramOptimization>
52+
<CharacterSet>Unicode</CharacterSet>
53+
</PropertyGroup>
54+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55+
<ImportGroup Label="ExtensionSettings">
56+
</ImportGroup>
57+
<ImportGroup Label="Shared">
58+
</ImportGroup>
59+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61+
</ImportGroup>
62+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
63+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64+
</ImportGroup>
65+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
66+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67+
</ImportGroup>
68+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
69+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70+
</ImportGroup>
71+
<PropertyGroup Label="UserMacros" />
72+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73+
<LinkIncremental>true</LinkIncremental>
74+
</PropertyGroup>
75+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76+
<LinkIncremental>true</LinkIncremental>
77+
</PropertyGroup>
78+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79+
<LinkIncremental>false</LinkIncremental>
80+
<OutDir>$(SolutionDir)\build\bin\</OutDir>
81+
<IntDir>$(SolutionDir)\build\$(ProjectName)\$(Configuration)\</IntDir>
82+
</PropertyGroup>
83+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
84+
<LinkIncremental>false</LinkIncremental>
85+
</PropertyGroup>
86+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
87+
<ClCompile>
88+
<PrecompiledHeader>
89+
</PrecompiledHeader>
90+
<WarningLevel>Level3</WarningLevel>
91+
<Optimization>Disabled</Optimization>
92+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
93+
<SDLCheck>true</SDLCheck>
94+
</ClCompile>
95+
<Link>
96+
<SubSystem>Console</SubSystem>
97+
<GenerateDebugInformation>true</GenerateDebugInformation>
98+
</Link>
99+
</ItemDefinitionGroup>
100+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
101+
<ClCompile>
102+
<PrecompiledHeader>
103+
</PrecompiledHeader>
104+
<WarningLevel>Level3</WarningLevel>
105+
<Optimization>Disabled</Optimization>
106+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
107+
<SDLCheck>true</SDLCheck>
108+
</ClCompile>
109+
<Link>
110+
<SubSystem>Console</SubSystem>
111+
<GenerateDebugInformation>true</GenerateDebugInformation>
112+
</Link>
113+
</ItemDefinitionGroup>
114+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
115+
<ClCompile>
116+
<WarningLevel>Level3</WarningLevel>
117+
<PrecompiledHeader>
118+
</PrecompiledHeader>
119+
<Optimization>MaxSpeed</Optimization>
120+
<FunctionLevelLinking>true</FunctionLevelLinking>
121+
<IntrinsicFunctions>true</IntrinsicFunctions>
122+
<PreprocessorDefinitions>GUILE=N; HAVE_CONFIG_H; WINDOWS32; WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
123+
<SDLCheck>true</SDLCheck>
124+
<AdditionalIncludeDirectories>$(SolutionDir)\src; $(SolutionDir)\src\make; $(SolutionDir)\src\make\glob; $(SolutionDir)\src\make\w32\include</AdditionalIncludeDirectories>
125+
<OmitFramePointers>true</OmitFramePointers>
126+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
127+
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
128+
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
129+
</ClCompile>
130+
<Link>
131+
<SubSystem>Console</SubSystem>
132+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
133+
<OptimizeReferences>true</OptimizeReferences>
134+
<GenerateDebugInformation>true</GenerateDebugInformation>
135+
<AdditionalDependencies>notelemetry.obj; setargv.obj; kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
136+
</Link>
137+
</ItemDefinitionGroup>
138+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
139+
<ClCompile>
140+
<WarningLevel>Level3</WarningLevel>
141+
<PrecompiledHeader>
142+
</PrecompiledHeader>
143+
<Optimization>MaxSpeed</Optimization>
144+
<FunctionLevelLinking>true</FunctionLevelLinking>
145+
<IntrinsicFunctions>true</IntrinsicFunctions>
146+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
147+
<SDLCheck>true</SDLCheck>
148+
</ClCompile>
149+
<Link>
150+
<SubSystem>Console</SubSystem>
151+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
152+
<OptimizeReferences>true</OptimizeReferences>
153+
<GenerateDebugInformation>true</GenerateDebugInformation>
154+
</Link>
155+
</ItemDefinitionGroup>
156+
<ItemGroup>
157+
<ClInclude Include="resource.h" />
158+
</ItemGroup>
159+
<ItemGroup>
160+
<ResourceCompile Include="make.rc" />
161+
</ItemGroup>
162+
<ItemGroup>
163+
<ClCompile Include="..\src\make\ar.c" />
164+
<ClCompile Include="..\src\make\arscan.c" />
165+
<ClCompile Include="..\src\make\commands.c" />
166+
<ClCompile Include="..\src\make\default.c" />
167+
<ClCompile Include="..\src\make\dir.c" />
168+
<ClCompile Include="..\src\make\expand.c" />
169+
<ClCompile Include="..\src\make\file.c" />
170+
<ClCompile Include="..\src\make\function.c" />
171+
<ClCompile Include="..\src\make\getloadavg.c" />
172+
<ClCompile Include="..\src\make\getopt.c" />
173+
<ClCompile Include="..\src\make\getopt1.c" />
174+
<ClCompile Include="..\src\make\glob\fnmatch.c" />
175+
<ClCompile Include="..\src\make\glob\glob.c" />
176+
<ClCompile Include="..\src\make\guile.c" />
177+
<ClCompile Include="..\src\make\hash.c" />
178+
<ClCompile Include="..\src\make\implicit.c" />
179+
<ClCompile Include="..\src\make\job.c" />
180+
<ClCompile Include="..\src\make\load.c" />
181+
<ClCompile Include="..\src\make\loadapi.c" />
182+
<ClCompile Include="..\src\make\main.c" />
183+
<ClCompile Include="..\src\make\misc.c" />
184+
<ClCompile Include="..\src\make\output.c" />
185+
<ClCompile Include="..\src\make\read.c" />
186+
<ClCompile Include="..\src\make\remake.c" />
187+
<ClCompile Include="..\src\make\remote-stub.c" />
188+
<ClCompile Include="..\src\make\rule.c" />
189+
<ClCompile Include="..\src\make\signame.c" />
190+
<ClCompile Include="..\src\make\strcache.c" />
191+
<ClCompile Include="..\src\make\variable.c" />
192+
<ClCompile Include="..\src\make\version.c" />
193+
<ClCompile Include="..\src\make\vpath.c" />
194+
<ClCompile Include="..\src\make\w32\compat\dirent.c" />
195+
<ClCompile Include="..\src\make\w32\compat\posixfcn.c" />
196+
<ClCompile Include="..\src\make\w32\pathstuff.c" />
197+
<ClCompile Include="..\src\make\w32\subproc\misc.c">
198+
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\misc2.obj</ObjectFileName>
199+
</ClCompile>
200+
<ClCompile Include="..\src\make\w32\subproc\sub_proc.c" />
201+
<ClCompile Include="..\src\make\w32\subproc\w32err.c" />
202+
<ClCompile Include="..\src\make\w32\w32os.c" />
203+
</ItemGroup>
204+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
205+
<ImportGroup Label="ExtensionTargets">
206+
</ImportGroup>
207+
</Project>

make/make.vcxproj.filters

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<ClInclude Include="resource.h">
19+
<Filter>Header Files</Filter>
20+
</ClInclude>
21+
</ItemGroup>
22+
<ItemGroup>
23+
<ResourceCompile Include="make.rc">
24+
<Filter>Resource Files</Filter>
25+
</ResourceCompile>
26+
</ItemGroup>
27+
<ItemGroup>
28+
<ClCompile Include="..\src\make\ar.c">
29+
<Filter>Source Files</Filter>
30+
</ClCompile>
31+
<ClCompile Include="..\src\make\arscan.c">
32+
<Filter>Source Files</Filter>
33+
</ClCompile>
34+
<ClCompile Include="..\src\make\commands.c">
35+
<Filter>Source Files</Filter>
36+
</ClCompile>
37+
<ClCompile Include="..\src\make\default.c">
38+
<Filter>Source Files</Filter>
39+
</ClCompile>
40+
<ClCompile Include="..\src\make\dir.c">
41+
<Filter>Source Files</Filter>
42+
</ClCompile>
43+
<ClCompile Include="..\src\make\expand.c">
44+
<Filter>Source Files</Filter>
45+
</ClCompile>
46+
<ClCompile Include="..\src\make\file.c">
47+
<Filter>Source Files</Filter>
48+
</ClCompile>
49+
<ClCompile Include="..\src\make\function.c">
50+
<Filter>Source Files</Filter>
51+
</ClCompile>
52+
<ClCompile Include="..\src\make\getloadavg.c">
53+
<Filter>Source Files</Filter>
54+
</ClCompile>
55+
<ClCompile Include="..\src\make\getopt.c">
56+
<Filter>Source Files</Filter>
57+
</ClCompile>
58+
<ClCompile Include="..\src\make\getopt1.c">
59+
<Filter>Source Files</Filter>
60+
</ClCompile>
61+
<ClCompile Include="..\src\make\guile.c">
62+
<Filter>Source Files</Filter>
63+
</ClCompile>
64+
<ClCompile Include="..\src\make\hash.c">
65+
<Filter>Source Files</Filter>
66+
</ClCompile>
67+
<ClCompile Include="..\src\make\implicit.c">
68+
<Filter>Source Files</Filter>
69+
</ClCompile>
70+
<ClCompile Include="..\src\make\job.c">
71+
<Filter>Source Files</Filter>
72+
</ClCompile>
73+
<ClCompile Include="..\src\make\load.c">
74+
<Filter>Source Files</Filter>
75+
</ClCompile>
76+
<ClCompile Include="..\src\make\loadapi.c">
77+
<Filter>Source Files</Filter>
78+
</ClCompile>
79+
<ClCompile Include="..\src\make\main.c">
80+
<Filter>Source Files</Filter>
81+
</ClCompile>
82+
<ClCompile Include="..\src\make\output.c">
83+
<Filter>Source Files</Filter>
84+
</ClCompile>
85+
<ClCompile Include="..\src\make\read.c">
86+
<Filter>Source Files</Filter>
87+
</ClCompile>
88+
<ClCompile Include="..\src\make\remake.c">
89+
<Filter>Source Files</Filter>
90+
</ClCompile>
91+
<ClCompile Include="..\src\make\remote-stub.c">
92+
<Filter>Source Files</Filter>
93+
</ClCompile>
94+
<ClCompile Include="..\src\make\rule.c">
95+
<Filter>Source Files</Filter>
96+
</ClCompile>
97+
<ClCompile Include="..\src\make\signame.c">
98+
<Filter>Source Files</Filter>
99+
</ClCompile>
100+
<ClCompile Include="..\src\make\strcache.c">
101+
<Filter>Source Files</Filter>
102+
</ClCompile>
103+
<ClCompile Include="..\src\make\variable.c">
104+
<Filter>Source Files</Filter>
105+
</ClCompile>
106+
<ClCompile Include="..\src\make\version.c">
107+
<Filter>Source Files</Filter>
108+
</ClCompile>
109+
<ClCompile Include="..\src\make\vpath.c">
110+
<Filter>Source Files</Filter>
111+
</ClCompile>
112+
<ClCompile Include="..\src\make\glob\fnmatch.c">
113+
<Filter>Source Files</Filter>
114+
</ClCompile>
115+
<ClCompile Include="..\src\make\glob\glob.c">
116+
<Filter>Source Files</Filter>
117+
</ClCompile>
118+
<ClCompile Include="..\src\make\w32\compat\posixfcn.c">
119+
<Filter>Source Files</Filter>
120+
</ClCompile>
121+
<ClCompile Include="..\src\make\w32\pathstuff.c">
122+
<Filter>Source Files</Filter>
123+
</ClCompile>
124+
<ClCompile Include="..\src\make\w32\w32os.c">
125+
<Filter>Source Files</Filter>
126+
</ClCompile>
127+
<ClCompile Include="..\src\make\w32\subproc\sub_proc.c">
128+
<Filter>Source Files</Filter>
129+
</ClCompile>
130+
<ClCompile Include="..\src\make\w32\subproc\w32err.c">
131+
<Filter>Source Files</Filter>
132+
</ClCompile>
133+
<ClCompile Include="..\src\make\w32\compat\dirent.c">
134+
<Filter>Source Files</Filter>
135+
</ClCompile>
136+
<ClCompile Include="..\src\make\w32\subproc\misc.c">
137+
<Filter>Source Files</Filter>
138+
</ClCompile>
139+
<ClCompile Include="..\src\make\misc.c">
140+
<Filter>Source Files</Filter>
141+
</ClCompile>
142+
</ItemGroup>
143+
</Project>

make/make.vcxproj.user

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup />
4+
</Project>

make/resource.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Visual C++ generated include file.
3+
// Used by make.rc
4+
5+
// Next default values for new objects
6+
//
7+
#ifdef APSTUDIO_INVOKED
8+
#ifndef APSTUDIO_READONLY_SYMBOLS
9+
#define _APS_NEXT_RESOURCE_VALUE 101
10+
#define _APS_NEXT_COMMAND_VALUE 40001
11+
#define _APS_NEXT_CONTROL_VALUE 1001
12+
#define _APS_NEXT_SYMED_VALUE 101
13+
#endif
14+
#endif

0 commit comments

Comments
 (0)