Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

112 lines
3.5 KiB

!include master.env
#
# Libs to link together a FW image
#
EFI_LIBS = \
output\lib\lib.lib
#
# We sometimes link the shell's tools into this build, so include
# libs for all the tools and the shell.
#
# (Note this is for debugging, and a real build should remove
# this as to be sure it's not mistakenly including any parts of
# the shell)
#
!include $(EFI_SOURCE)\shell\inc\shelllib.mak
#
#
#
TARGET_BASENAME=Bios32
OUTPUTS=bin\$(TARGET_BASENAME).exe
all: makemaker
$(OUTPUTS): $(EFI_LIBS)
$(LINK) $(L_FLAGS) $(NT_LIBS) $(EFI_LIBS) /entry:MainEntry /out:$@ /pdb:$*.pdb
#
#? Everything to build
#
makemaker:
$(BUILD_TOOL)\genmake
$(MAKE) -f output\lib\makefile all
$(MAKE) -f output\shell\makefile all
$(MAKE) -f output\apps\test\makefile all
$(MAKE) -f output\apps\test2\makefile all
$(MAKE) -f output\apps\test3\makefile all
$(MAKE) -f output\apps\test4\makefile all
$(MAKE) -f output\apps\fpswa\makefile all
$(MAKE) -f output\apps\osloader\makefile all
bsc:
- dir /s /b *.sbr > temp.rm
$(BSCMAKE) /n /o bin\$(TARGET_BASENAME).bsc "@temp.rm"
- del temp.rm
clean:
- rd /s /q output
- rd /s /q bin
- del VC?0.*
- del $(TARGET_BASENAME).*
floppy: bin\efildr bin\bootsect.com
- copy bin\efildr a:\efildr
bin\efildr.dll: output\corefw\fw\platform\BuildTip\bios32\efildr.obj output\lib\lib.lib
link /nologo /MACHINE:IX86 /subsystem:console /NODEFAULTLIB /INCREMENTAL:NO /MAP /FIXED /BASE:0x00400000 /ENTRY:EfiLoader output\corefw\fw\platform\BuildTip\bios32\efildr.obj output\lib\lib.lib /OUT:bin\efildr.dll
bin\efildr.efi: bin\efildr.dll
$(FWIMAGE) app bin\efildr.dll bin\efildr.efi
bin\Bios32.efi: bin\Bios32.exe
$(FWIMAGE) app bin\Bios32.exe bin\Bios32.efi
bin\efildr32: bin\efildr.efi bin\Bios32.efi
$(BUILD_TOOL)\efildrimage bin\efildr32 bin\efildr.efi bin\Bios32.efi
bin\bootsect.com: output\corefw\fw\platform\BuildTip\bios32\ia32\bootsect.obj
$(MASMLINK) /tiny output\corefw\fw\platform\BuildTip\bios32\ia32\bootsect.obj,bin\bootsect.com,bin\bootsect.map,,,
bin\start.com: output\corefw\fw\platform\BuildTip\bios32\ia32\start.obj
$(MASMLINK) /tiny output\corefw\fw\platform\BuildTip\bios32\ia32\start.obj,bin\start.com,bin\start.map,,,
bin\efi32.com: output\corefw\fw\platform\BuildTip\bios32\ia32\efi32.obj
$(MASMLINK) /tiny output\corefw\fw\platform\BuildTip\bios32\ia32\efi32.obj,bin\efi32.com,bin\efi32.map,,,
bin\efildr: bin\start.com bin\efi32.com bin\efildr32
copy /b bin\start.com+bin\efi32.com+bin\efildr32 bin\efildr
createfloppy:
- $(BUILD_TOOL)\dskimage $(BUILD_TOOL)\efiboot.img a: /f1.44
floppytools:
- copy bin\cp.efi a:
- copy bin\date.efi a:
- copy bin\dblk.efi a:
- copy bin\dmem.efi a:
- copy bin\dmpstore.efi a:
- copy bin\getmtc.efi a:
- copy bin\load.efi a:
- copy bin\ls.efi a:
- copy bin\memmap.efi a:
- copy bin\mkdir.efi a:
- copy bin\mm.efi a:
- copy bin\mode.efi a:
- copy bin\nshell.efi a:
- copy bin\osloader.efi a:
- copy bin\pci.efi a:
- copy bin\rm.efi a:
- copy bin\shellenv.efi a:
- copy bin\stall.efi a:
- copy bin\time.efi a:
- copy bin\type.efi a:
- copy bin\ver.efi a: