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