[445] | 1 | ####################################################################################################
|
---|
| 2 | # Makefile to build XTIDE Universal BIOS. #
|
---|
| 3 | # #
|
---|
| 4 | # Valid makefile targets are: #
|
---|
[618] | 5 | # all Removes existing files and builds binary files in \Build (without checksums) #
|
---|
| 6 | # small Builds only binaries smaller than or equal to 8 kiB (without checksums) #
|
---|
| 7 | # large Builds only binaries larger than 8 kiB (without checksums) #
|
---|
| 8 | # custom Builds custom binary without checksum (change DEFINES_CUSTOM / BIOS_SIZE_CUSTOM first) #
|
---|
[445] | 9 | # clean Removes all files from \Build #
|
---|
[618] | 10 | # checksum* Same as 'all' but also applies checksums to the binaries #
|
---|
[445] | 11 | # strings* Compress src\Strings.asm to src\StringsCompressed.asm #
|
---|
[511] | 12 | # unused* Checks if there are any unused functions that can be removed to save space #
|
---|
[445] | 13 | # #
|
---|
| 14 | # * at the end of target name means that Perl is required for the job. #
|
---|
| 15 | # Build directory must be created manually if it does not exist. #
|
---|
| 16 | # #
|
---|
| 17 | # #
|
---|
| 18 | # Following modules can be included or excluded: #
|
---|
| 19 | # MODULE_8BIT_IDE Support for 8-BIT IDE cards like XTIDE #
|
---|
[505] | 20 | # MODULE_8BIT_IDE_ADVANCED Support for memory mapped and DMA based cards like JRIDE and XTCF #
|
---|
[589] | 21 | # MODULE_ADVANCED_ATA Native support for some VLB IDE controllers (requires USE_386) #
|
---|
[550] | 22 | # MODULE_COMPATIBLE_TABLES Support for ill behaving software that tries to access DPT directly #
|
---|
[445] | 23 | # MODULE_BOOT_MENU Boot Menu for selection of drive to boot from #
|
---|
| 24 | # MODULE_EBIOS Enhanced functions for accessing drives over 8.4 GB #
|
---|
| 25 | # MODULE_HOTKEYS Hotkey Bar to boot from any drive #
|
---|
| 26 | # MODULE_IRQ IDE IRQ support #
|
---|
| 27 | # MODULE_SERIAL Virtual hard disks using serial port #
|
---|
| 28 | # MODULE_SERIAL_FLOPPY Virtual floppy drives using serial port (requires MODULE_SERIAL) #
|
---|
| 29 | # MODULE_STRINGS_COMPRESSED Use compressed strings to save space #
|
---|
[567] | 30 | # MODULE_VERY_LATE_INIT Initialize on INT 13h if our INT 19h handler is not called #
|
---|
| 31 | # MODULE_POWER_MANAGEMENT Power Management support #
|
---|
[605] | 32 | # MODULE_WIN9X_CMOS_HACK Hack for Windows 9x compatibility #
|
---|
[623] | 33 | # MODULE_MFM_COMPATIBILITY Restores BDA drive count for MFM/SCSI controllers that expect to be #
|
---|
| 34 | # the only hard drive controller in the system #
|
---|
[445] | 35 | # #
|
---|
| 36 | # Not modules but these affect the assembly: #
|
---|
| 37 | # ELIMINATE_CGA_SNOW Prevents CGA snowing at the cost of a few bytes #
|
---|
[522] | 38 | # RELOCATE_INT13H_STACK ** Relocates INT 13h stack to beginning of stolen conventional memory #
|
---|
[580] | 39 | # NO_ATAID_VALIDATION *** Excludes code that tries to ensure proper communication with drives #
|
---|
[618] | 40 | # NO_ATAID_CORRECTION Excludes code that corrects illegal CHS values from some CF cards #
|
---|
[623] | 41 | # USE_086 Applies WORD alignment padding for use with 8086/V30 CPUs only #
|
---|
[445] | 42 | # USE_186 Use instructions supported by 80188/80186 and V20/V30 and later #
|
---|
[511] | 43 | # USE_286 Use instructions supported by 286 and later (defines USE_UNDOC_INTEL)#
|
---|
| 44 | # USE_386 Use instructions supported by 386 and later (defines USE_286) #
|
---|
[445] | 45 | # USE_AT Use features supported on AT and later systems (not available on XT) #
|
---|
[625] | 46 | # USE_PS2 For use with IBM PS/2 machines only (defines USE_AT) #
|
---|
[623] | 47 | # USE_UNDOC_INTEL Optimizations for Intel CPUs - do NOT use on NEC V20/V30/Sony CPUs #
|
---|
| 48 | # USE_NEC_V Optimizations for use with NEC V20/V30 CPUs only #
|
---|
[592] | 49 | # CLD_NEEDED Only needed for compatibility with buggy software/BIOSes #
|
---|
[623] | 50 | # EXTRA_LOOP_UNROLLING_SMALL Improves transfer speed on some CPU + IDE controller combinations #
|
---|
| 51 | # EXTRA_LOOP_UNROLLING_LARGE Same as above but faster and uses more ROM space #
|
---|
[445] | 52 | # #
|
---|
[522] | 53 | # ** AT Builds only (when USE_AT is defined) #
|
---|
[580] | 54 | # *** Use this only when certain known good drives are not being detected (eg WD Caviars) #
|
---|
[445] | 55 | ####################################################################################################
|
---|
[3] | 56 |
|
---|
| 57 | ###########################################
|
---|
| 58 | # Source files and destination executable #
|
---|
| 59 | ###########################################
|
---|
| 60 |
|
---|
| 61 | # Assembly source code file (*.asm):
|
---|
| 62 | SRC_ASM = Src/Main.asm
|
---|
| 63 |
|
---|
| 64 | # Program executable file name without extension:
|
---|
| 65 | PROG = ide
|
---|
| 66 |
|
---|
| 67 |
|
---|
| 68 | #######################################
|
---|
| 69 | # Destination and include directories #
|
---|
| 70 | #######################################
|
---|
| 71 |
|
---|
| 72 | # Directory where binary file will be compiled to
|
---|
| 73 | BUILD_DIR = Build
|
---|
| 74 |
|
---|
| 75 | # Subdirectories where included files are:
|
---|
| 76 | HEADERS = Inc/
|
---|
[363] | 77 | HEADERS += Inc/Controllers/
|
---|
[3] | 78 | HEADERS += Src/
|
---|
| 79 | HEADERS += Src/Handlers/
|
---|
| 80 | HEADERS += Src/Handlers/Int13h/
|
---|
[165] | 81 | HEADERS += Src/Handlers/Int13h/EBIOS/
|
---|
| 82 | HEADERS += Src/Handlers/Int13h/Tools/
|
---|
[392] | 83 | HEADERS += Src/Handlers/Int19h/
|
---|
[150] | 84 | HEADERS += Src/Device/
|
---|
| 85 | HEADERS += Src/Device/IDE/
|
---|
[238] | 86 | HEADERS += Src/Device/MemoryMappedIDE/
|
---|
[150] | 87 | HEADERS += Src/Device/Serial/
|
---|
[3] | 88 | HEADERS += Src/Initialization/
|
---|
[392] | 89 | HEADERS += Src/Initialization/AdvancedAta/
|
---|
| 90 | HEADERS += Src/Menus/
|
---|
| 91 | HEADERS += Src/Menus/BootMenu/
|
---|
[3] | 92 | HEADERS += Src/Libraries/
|
---|
| 93 | HEADERS += Src/VariablesAndDPTs/
|
---|
| 94 |
|
---|
[88] | 95 | # Subdirectories where library files are:
|
---|
| 96 | LIBS = ../Assembly_Library/Inc/
|
---|
| 97 | LIBS += ../Assembly_Library/Src/
|
---|
| 98 | LIBS += ../Assembly_Library/Src/Display/
|
---|
| 99 | LIBS += ../Assembly_Library/Src/File/
|
---|
| 100 | LIBS += ../Assembly_Library/Src/Keyboard/
|
---|
| 101 | LIBS += ../Assembly_Library/Src/Menu/
|
---|
| 102 | LIBS += ../Assembly_Library/Src/Menu/Dialog/
|
---|
| 103 | LIBS += ../Assembly_Library/Src/String/
|
---|
| 104 | LIBS += ../Assembly_Library/Src/Time/
|
---|
| 105 | LIBS += ../Assembly_Library/Src/Util/
|
---|
[277] | 106 | LIBS += ../Assembly_Library/Src/Serial/
|
---|
[88] | 107 | LIBS += ../XTIDE_Universal_BIOS/Inc/
|
---|
| 108 | HEADERS += $(LIBS)
|
---|
[3] | 109 |
|
---|
[88] | 110 |
|
---|
[618] | 111 | ##################################
|
---|
| 112 | # Assembler preprocessor defines #
|
---|
| 113 | ##################################
|
---|
[623] | 114 | DEFINES_COMMON = MODULE_STRINGS_COMPRESSED MODULE_HOTKEYS MODULE_8BIT_IDE MODULE_EBIOS MODULE_SERIAL MODULE_SERIAL_FLOPPY MODULE_POWER_MANAGEMENT NO_ATAID_VALIDATION CLD_NEEDED EXTRA_LOOP_UNROLLING_SMALL
|
---|
| 115 | DEFINES_COMMON_LARGE = MODULE_BOOT_MENU MODULE_8BIT_IDE_ADVANCED MODULE_COMPATIBLE_TABLES EXTRA_LOOP_UNROLLING_LARGE
|
---|
[389] | 116 |
|
---|
[567] | 117 | DEFINES_XT = $(DEFINES_COMMON) ELIMINATE_CGA_SNOW MODULE_8BIT_IDE_ADVANCED
|
---|
[580] | 118 | DEFINES_XTPLUS = $(DEFINES_XT) USE_186
|
---|
[589] | 119 | DEFINES_AT = $(DEFINES_COMMON) USE_AT USE_286 MODULE_IRQ MODULE_COMPATIBLE_TABLES
|
---|
[618] | 120 | DEFINES_386 = $(DEFINES_AT) USE_386 MODULE_ADVANCED_ATA MODULE_WIN9X_CMOS_HACK
|
---|
[625] | 121 | DEFINES_PS2 = USE_PS2 USE_286 MODULE_STRINGS_COMPRESSED MODULE_HOTKEYS MODULE_BOOT_MENU MODULE_EBIOS MODULE_SERIAL MODULE_SERIAL_FLOPPY MODULE_IRQ MODULE_POWER_MANAGEMENT NO_ATAID_VALIDATION CLD_NEEDED
|
---|
[389] | 122 |
|
---|
[397] | 123 | DEFINES_XT_LARGE = $(DEFINES_XT) $(DEFINES_COMMON_LARGE)
|
---|
| 124 | DEFINES_XTPLUS_LARGE = $(DEFINES_XTPLUS) $(DEFINES_COMMON_LARGE)
|
---|
[482] | 125 | DEFINES_AT_LARGE = $(DEFINES_AT) $(DEFINES_COMMON_LARGE)
|
---|
[598] | 126 | DEFINES_386_LARGE = $(DEFINES_386) $(DEFINES_COMMON_LARGE)
|
---|
[625] | 127 | DEFINES_PS2_LARGE = $(DEFINES_PS2) MODULE_COMPATIBLE_TABLES
|
---|
[3] | 128 |
|
---|
[618] | 129 | DEFINES_XT_TINY = MODULE_STRINGS_COMPRESSED MODULE_8BIT_IDE NO_ATAID_VALIDATION NO_ATAID_CORRECTION CLD_NEEDED
|
---|
[3] | 130 |
|
---|
[618] | 131 | DEFINES_CUSTOM = ?
|
---|
| 132 |
|
---|
| 133 |
|
---|
[3] | 134 | ###################
|
---|
| 135 | # Other variables #
|
---|
| 136 | ###################
|
---|
| 137 |
|
---|
[603] | 138 | # Target size of the BIOS, used in Main.asm for number of 512B blocks (CNT_ROM_BLOCKS) and by checksum Perl script below ('make checksum').
|
---|
[592] | 139 | # Note! The size must be a multiple of 2 KB for compatibility reasons.
|
---|
| 140 | BIOS_SIZE_TINY = 4096
|
---|
| 141 | BIOS_SIZE_SMALL = 8192
|
---|
[622] | 142 | BIOS_SIZE_LARGE = 12288
|
---|
[618] | 143 | BIOS_SIZE_CUSTOM = ?
|
---|
[239] | 144 |
|
---|
[3] | 145 | # Add -D in front of every preprocessor define declaration
|
---|
[592] | 146 | DEFS_XT = $(DEFINES_XT:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_SMALL)
|
---|
| 147 | DEFS_XTPLUS = $(DEFINES_XTPLUS:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_SMALL)
|
---|
| 148 | DEFS_AT = $(DEFINES_AT:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_SMALL)
|
---|
[625] | 149 | DEFS_386 = $(DEFINES_386:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_SMALL)
|
---|
| 150 | DEFS_PS2 = $(DEFINES_PS2:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_SMALL)
|
---|
[506] | 151 | DEFS_XT_LARGE = $(DEFINES_XT_LARGE:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_LARGE)
|
---|
| 152 | DEFS_XTPLUS_LARGE = $(DEFINES_XTPLUS_LARGE:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_LARGE)
|
---|
| 153 | DEFS_AT_LARGE = $(DEFINES_AT_LARGE:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_LARGE)
|
---|
[625] | 154 | DEFS_386_LARGE = $(DEFINES_386_LARGE:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_LARGE)
|
---|
| 155 | DEFS_PS2_LARGE = $(DEFINES_PS2_LARGE:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_LARGE)
|
---|
[592] | 156 | DEFS_XT_TINY = $(DEFINES_XT_TINY:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_TINY)
|
---|
[618] | 157 | DEFS_CUSTOM = $(DEFINES_CUSTOM:%=-D%) -DBIOS_SIZE=$(BIOS_SIZE_CUSTOM)
|
---|
[3] | 158 |
|
---|
| 159 | # Add -I in front of all header directories
|
---|
| 160 | IHEADERS = $(HEADERS:%=-I%)
|
---|
| 161 |
|
---|
[145] | 162 | # Path + target file to be built
|
---|
[3] | 163 | TARGET = $(BUILD_DIR)/$(PROG)
|
---|
| 164 |
|
---|
[618] | 165 |
|
---|
[3] | 166 | #########################
|
---|
| 167 | # Compilers and linkers #
|
---|
| 168 | #########################
|
---|
| 169 |
|
---|
| 170 | # Make
|
---|
| 171 | MAKE = mingw32-make.exe
|
---|
| 172 |
|
---|
| 173 | # Assembler
|
---|
[188] | 174 | AS = nasm.exe
|
---|
[3] | 175 |
|
---|
| 176 | # use this command to erase files.
|
---|
| 177 | RM = -del /Q
|
---|
| 178 |
|
---|
| 179 |
|
---|
| 180 | #############################
|
---|
| 181 | # Compiler and linker flags #
|
---|
| 182 | #############################
|
---|
| 183 |
|
---|
| 184 | # Assembly compiler flags
|
---|
| 185 | ASFLAGS = -f bin # Produce binary object files
|
---|
| 186 | ASFLAGS += $(IHEADERS) # Set header file directory paths
|
---|
| 187 | ASFLAGS += -Worphan-labels # Warn about labels without colon
|
---|
[379] | 188 | ASFLAGS += -Ox # Optimize operands to their shortest forms
|
---|
[3] | 189 |
|
---|
| 190 |
|
---|
| 191 | ############################################
|
---|
| 192 | # Build process. Actual work is done here. #
|
---|
| 193 | ############################################
|
---|
| 194 |
|
---|
[272] | 195 | all: clean small large
|
---|
[145] | 196 | @echo All done!
|
---|
[3] | 197 |
|
---|
[625] | 198 | small: xt_tiny xt xtplus at 386 ps2
|
---|
[506] | 199 | @echo All small binaries built!
|
---|
[272] | 200 |
|
---|
[625] | 201 | large: xt_large xtplus_large at_large 386_large ps2_large
|
---|
[506] | 202 | @echo All large binaries built!
|
---|
[272] | 203 |
|
---|
[625] | 204 | ps2:
|
---|
| 205 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_PS2) -l"$(TARGET)_ps2.lst" -o"$(TARGET)_ps2.bin"
|
---|
| 206 | @echo * Small PS/2 version "$(TARGET)_ps2.bin" built.
|
---|
| 207 |
|
---|
| 208 | ps2_large:
|
---|
| 209 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_PS2_LARGE) -l"$(TARGET)_ps2l.lst" -o"$(TARGET)_ps2l.bin"
|
---|
| 210 | @echo * Large PS/2 version "$(TARGET)_ps2l.bin" built.
|
---|
| 211 |
|
---|
| 212 | 386:
|
---|
| 213 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_386) -l"$(TARGET)_386.lst" -o"$(TARGET)_386.bin"
|
---|
| 214 | @echo * Small 386 version "$(TARGET)_386.bin" built.
|
---|
| 215 |
|
---|
| 216 | 386_large:
|
---|
| 217 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_386_LARGE) -l"$(TARGET)_386l.lst" -o"$(TARGET)_386l.bin"
|
---|
| 218 | @echo * Large 386 version "$(TARGET)_386l.bin" built.
|
---|
| 219 |
|
---|
[3] | 220 | at:
|
---|
[80] | 221 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -l"$(TARGET)_at.lst" -o"$(TARGET)_at.bin"
|
---|
[506] | 222 | @echo * Small AT version "$(TARGET)_at.bin" built.
|
---|
[3] | 223 |
|
---|
[238] | 224 | at_large:
|
---|
| 225 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT_LARGE) -l"$(TARGET)_atl.lst" -o"$(TARGET)_atl.bin"
|
---|
[558] | 226 | @echo * Large AT version "$(TARGET)_atl.bin" built.
|
---|
[238] | 227 |
|
---|
[3] | 228 | xtplus:
|
---|
[80] | 229 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS) -l"$(TARGET)_xtp.lst" -o"$(TARGET)_xtp.bin"
|
---|
[506] | 230 | @echo * Small XT Plus version "$(TARGET)_xtp.bin" built.
|
---|
[3] | 231 |
|
---|
[238] | 232 | xtplus_large:
|
---|
| 233 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS_LARGE) -l"$(TARGET)_xtpl.lst" -o"$(TARGET)_xtpl.bin"
|
---|
[558] | 234 | @echo * Large XT Plus version "$(TARGET)_xtpl.bin" built.
|
---|
[238] | 235 |
|
---|
[3] | 236 | xt:
|
---|
[80] | 237 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -l"$(TARGET)_xt.lst" -o"$(TARGET)_xt.bin"
|
---|
[506] | 238 | @echo * Small XT version "$(TARGET)_xt.bin" built.
|
---|
[3] | 239 |
|
---|
[238] | 240 | xt_large:
|
---|
| 241 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_LARGE) -l"$(TARGET)_xtl.lst" -o"$(TARGET)_xtl.bin"
|
---|
[558] | 242 | @echo * Large XT version "$(TARGET)_xtl.bin" built.
|
---|
[277] | 243 |
|
---|
[397] | 244 | xt_tiny:
|
---|
| 245 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_TINY) -l"$(TARGET)_tiny.lst" -o"$(TARGET)_tiny.bin"
|
---|
| 246 | @echo * Tiny XT version "$(TARGET)_tiny.bin" built.
|
---|
[238] | 247 |
|
---|
[618] | 248 | custom:
|
---|
[621] | 249 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_CUSTOM) -l"$(TARGET)_cstm.lst" -o"$(TARGET)_cstm.bin"
|
---|
| 250 | @echo * Custom version "$(TARGET)_cstm.bin" built.
|
---|
[618] | 251 |
|
---|
[322] | 252 | strings: src\Strings.asm
|
---|
[415] | 253 | @$(AS) src\Strings.asm $(ASFLAGS) $(DEFS_AT_LARGE) -DCHECK_FOR_UNUSED_ENTRYPOINTS -DMODULE_STRINGS_COMPRESSED_PRECOMPRESS -o build\Strings.bin -l build\StringsPrecompress.lst
|
---|
[592] | 254 | @perl ..\Tools\StringsCompress.pl < build\StringsPrecompress.lst > src\StringsCompressed.asm
|
---|
[322] | 255 | @echo StringsCompressed.asm updated!
|
---|
[252] | 256 |
|
---|
[3] | 257 | clean:
|
---|
| 258 | @$(RM) $(BUILD_DIR)\*.*
|
---|
| 259 | @echo Deleted "(*.*)" from "$(BUILD_DIR)/"
|
---|
[186] | 260 |
|
---|
[294] | 261 | checksum: all
|
---|
[592] | 262 | @perl ..\Tools\checksum.pl $(TARGET)_tiny.bin $(BIOS_SIZE_TINY)
|
---|
| 263 | @perl ..\Tools\checksum.pl $(TARGET)_xt.bin $(BIOS_SIZE_SMALL)
|
---|
| 264 | @perl ..\Tools\checksum.pl $(TARGET)_xtp.bin $(BIOS_SIZE_SMALL)
|
---|
| 265 | @perl ..\Tools\checksum.pl $(TARGET)_at.bin $(BIOS_SIZE_SMALL)
|
---|
[625] | 266 | @perl ..\Tools\checksum.pl $(TARGET)_386.bin $(BIOS_SIZE_SMALL)
|
---|
| 267 | @perl ..\Tools\checksum.pl $(TARGET)_ps2.bin $(BIOS_SIZE_SMALL)
|
---|
[592] | 268 | @perl ..\Tools\checksum.pl $(TARGET)_xtl.bin $(BIOS_SIZE_LARGE)
|
---|
| 269 | @perl ..\Tools\checksum.pl $(TARGET)_xtpl.bin $(BIOS_SIZE_LARGE)
|
---|
| 270 | @perl ..\Tools\checksum.pl $(TARGET)_atl.bin $(BIOS_SIZE_LARGE)
|
---|
[593] | 271 | @perl ..\Tools\checksum.pl $(TARGET)_386l.bin $(BIOS_SIZE_LARGE)
|
---|
[625] | 272 | @perl ..\Tools\checksum.pl $(TARGET)_ps2l.bin $(BIOS_SIZE_LARGE)
|
---|
[203] | 273 |
|
---|
[491] | 274 | unused:
|
---|
[596] | 275 | @echo "XT Tiny"
|
---|
| 276 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_TINY) -o"$(TARGET)_unused_tiny.asm" -l"$(TARGET)_unused_tiny.lst"
|
---|
| 277 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_TINY) -o"$(TARGET)_unused_tiny.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 278 | @perl ..\Tools\unused.pl $(TARGET)_unused_tiny.lst $(TARGET)_unused_tiny.asm
|
---|
[489] | 279 | @echo "XT Small"
|
---|
| 280 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -o"$(TARGET)_unused_xt.asm" -l"$(TARGET)_unused_xt.lst"
|
---|
| 281 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -o"$(TARGET)_unused_xt.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
[592] | 282 | @perl ..\Tools\unused.pl $(TARGET)_unused_xt.lst $(TARGET)_unused_xt.asm
|
---|
[489] | 283 | @echo "XT Large"
|
---|
| 284 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_LARGE) -o"$(TARGET)_unused_xtl.asm" -l"$(TARGET)_unused_xtl.lst"
|
---|
| 285 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_LARGE) -o"$(TARGET)_unused_xtl.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
[592] | 286 | @perl ..\Tools\unused.pl $(TARGET)_unused_xtl.lst $(TARGET)_unused_xtl.asm
|
---|
[596] | 287 | @echo "XT Plus Small"
|
---|
| 288 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS) -o"$(TARGET)_unused_xtp.asm" -l"$(TARGET)_unused_xtp.lst"
|
---|
| 289 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS) -o"$(TARGET)_unused_xtp.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 290 | @perl ..\Tools\unused.pl $(TARGET)_unused_xtp.lst $(TARGET)_unused_xtp.asm
|
---|
| 291 | @echo "XT Plus Large"
|
---|
| 292 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS_LARGE) -o"$(TARGET)_unused_xtpl.asm" -l"$(TARGET)_unused_xtpl.lst"
|
---|
| 293 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS_LARGE) -o"$(TARGET)_unused_xtpl.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 294 | @perl ..\Tools\unused.pl $(TARGET)_unused_xtpl.lst $(TARGET)_unused_xtpl.asm
|
---|
[489] | 295 | @echo "AT Small"
|
---|
| 296 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -o"$(TARGET)_unused_at.asm" -l"$(TARGET)_unused_at.lst"
|
---|
| 297 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -o"$(TARGET)_unused_at.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
[592] | 298 | @perl ..\Tools\unused.pl $(TARGET)_unused_at.lst $(TARGET)_unused_at.asm
|
---|
[489] | 299 | @echo "AT Large"
|
---|
| 300 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT_LARGE) -o"$(TARGET)_unused_atl.asm" -l"$(TARGET)_unused_atl.lst"
|
---|
| 301 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT_LARGE) -o"$(TARGET)_unused_atl.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
[592] | 302 | @perl ..\Tools\unused.pl $(TARGET)_unused_atl.lst $(TARGET)_unused_atl.asm
|
---|
[596] | 303 | @echo "386 Small"
|
---|
| 304 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_386) -o"$(TARGET)_unused_386.asm" -l"$(TARGET)_unused_386.lst"
|
---|
| 305 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_386) -o"$(TARGET)_unused_386.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 306 | @perl ..\Tools\unused.pl $(TARGET)_unused_386.lst $(TARGET)_unused_386.asm
|
---|
| 307 | @echo "386 Large"
|
---|
| 308 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_386_LARGE) -o"$(TARGET)_unused_386l.asm" -l"$(TARGET)_unused_386l.lst"
|
---|
| 309 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_386_LARGE) -o"$(TARGET)_unused_386l.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 310 | @perl ..\Tools\unused.pl $(TARGET)_unused_386l.lst $(TARGET)_unused_386l.asm
|
---|
[625] | 311 | @echo "PS/2 Small"
|
---|
| 312 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_PS2) -o"$(TARGET)_unused_ps2.asm" -l"$(TARGET)_unused_ps2.lst"
|
---|
| 313 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_PS2) -o"$(TARGET)_unused_ps2.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 314 | @perl ..\Tools\unused.pl $(TARGET)_unused_ps2.lst $(TARGET)_unused_ps2.asm
|
---|
| 315 | @echo "PS/2 Large"
|
---|
| 316 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_PS2_LARGE) -o"$(TARGET)_unused_ps2l.asm" -l"$(TARGET)_unused_ps2l.lst"
|
---|
| 317 | @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_PS2_LARGE) -o"$(TARGET)_unused_ps2l.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 318 | @perl ..\Tools\unused.pl $(TARGET)_unused_ps2l.lst $(TARGET)_unused_ps2l.asm
|
---|
[194] | 319 |
|
---|