VirtualBox

source: kBuild/trunk/src/gmake/dosbuild.bat@ 200

Last change on this file since 200 was 53, checked in by bird, 21 years ago

Initial revision

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1@echo Building Make for MSDOS
2@rem Echo ON so they will see what is going on.
3@echo on
4gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g commands.c -o commands.o
5gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g job.c -o job.o
6gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g dir.c -o dir.o
7gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g file.c -o file.o
8gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g misc.c -o misc.o
9gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g main.c -o main.o
10gcc -c -I. -I./glob -DHAVE_CONFIG_H -DINCLUDEDIR=\"c:/djgpp/include\" -O2 -g read.c -o read.o
11gcc -c -I. -I./glob -DHAVE_CONFIG_H -DLIBDIR=\"c:/djgpp/lib\" -O2 -g remake.c -o remake.o
12gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g rule.c -o rule.o
13gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g implicit.c -o implicit.o
14gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g default.c -o default.o
15gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g variable.c -o variable.o
16gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g expand.c -o expand.o
17gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g function.c -o function.o
18gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g vpath.c -o vpath.o
19gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g version.c -o version.o
20gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g ar.c -o ar.o
21gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g arscan.c -o arscan.o
22gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g signame.c -o signame.o
23gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g remote-stub.c -o remote-stub.o
24gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g getopt.c -o getopt.o
25gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g getopt1.c -o getopt1.o
26@cd glob
27@if exist libglob.a del libglob.a
28gcc -I. -c -DHAVE_CONFIG_H -I.. -O2 -g glob.c -o glob.o
29gcc -I. -c -DHAVE_CONFIG_H -I.. -O2 -g fnmatch.c -o fnmatch.o
30ar rv libglob.a glob.o fnmatch.o
31@echo off
32cd ..
33echo commands.o > respf.$$$
34for %%f in (job dir file misc main read remake rule implicit default variable) do echo %%f.o >> respf.$$$
35for %%f in (expand function vpath version ar arscan signame remote-stub getopt getopt1) do echo %%f.o >> respf.$$$
36echo glob/libglob.a >> respf.$$$
37@echo Linking...
38@echo on
39gcc -o make.new @respf.$$$
40@if exist make.exe echo Make.exe is now built!
41@if not exist make.exe echo Make.exe build failed...
42@if exist make.exe del respf.$$$
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette