Ignore:
Timestamp:
Oct 9, 2016, 10:53:41 PM (9 years ago)
Author:
Ben Rietbroek
Message:

Updated Build Info and added File Commander Build Menus [v1.1.1-testing]

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

Changes:
o Updated Build Info
o Added simple File Commander Build Menus
o Removed tabs from non-recipe sections in Makefiles

Notes:
o RU version currently does not build due to lack of code-space

Will be resolved when FX-code is removed from build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/os2/setaboot/Makefile

    r60 r63  
    11###############################################################################
    2 # Makefile :: Builds the 'set(a)boot' 'setboot' replacement for OS/2  [wmake] #
     2# Makefile :: Builds the 'set(a)boot' 'setboot' replacement for OS/2  [WMake] #
     3# --------------------------------------------------------------------------- #
     4#                                                                             #
     5# This Makefile builds the 'set(a)boot' 'setboot' replacement for OS/2.       #
     6#                                                                             #
    37###############################################################################
    4 # rousseau@ecomstation.com
    5 
    6 
    7 #
    8 # This Makefile builds the 'set(a)boot' 'setboot' replacement for OS/2.
    9 #
     8
    109
    1110#
     
    1312# This is used to compensate for the differences between the target platforms.
    1413#
    15 !include        ../../../include/makefile.mif
     14!include ../../../include/makefile.mif
    1615
    1716
     
    7069# we are building on Linux.
    7170#
    72 !ifdef  __LINUX__
     71!ifdef __LINUX__
    7372!if "$(ASM)"=="masm" | "$(ASM)"=="tasm" | "$(ASM)"=="alp"
    7473ASM=jwasm
     
    7776
    7877!if "$(ASM)"=="jwasm"
    79 # -Cp   = case sensitive symbols
    80 # -zcw  = no _ prefix on symbols (C model)
     78# -Cp   = case sensitive symbols
     79# -zcw = no _ prefix on symbols (C model)
    8180ASM_FLAGS_D0=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DASSEMBLER=JWASM -q -Cp -Fo$^. -Fl=$^&.lst -Fw$^&.err
    8281ASM_FLAGS_D1=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DASSEMBLER=JWASM -q -Cp -Zd -Zi -Fo$^. -Sa -Fl=$^&.lst -Fw$^&.err
     
    159158# If this Makefile was modified, all targets are forcefully rebuilt.
    160159#
    161 all:    .SYMBOLIC Makefile.bu header $(TARGETS) footer
     160all: .SYMBOLIC Makefile.bu header $(TARGETS) footer
    162161
    163162
     
    170169# The second method uses the procedure method, no concatenation problem.
    171170#
    172 #all:   .SYMBOLIC
     171#all: .SYMBOLIC
    173172#       Recursive method (concatenation problem)
    174173#       @for %%i in (header $(TARGETS) footer) do @$(MAKE) -h %%i
     
    181180# Show the header.
    182181#
    183 header: .SYMBOLIC
     182header: .SYMBOLIC
    184183        @echo.
    185184        @echo =====================================================================
     
    192191# Show the footer.
    193192#
    194 footer: .SYMBOLIC
     193footer: .SYMBOLIC
    195194        @echo All targets up to date !
    196195        @echo.
     
    203202# using the new level.
    204203#
    205 Makefile.bu:    Makefile
     204Makefile.bu: Makefile
    206205        @echo.
    207206        @echo Makefile modified, forcing rebuild of all targets !
     
    247246# OS/2 32-bits (LX)
    248247###############################################################################
    249 $(MODULE).exe:  $(MODULE).obj
     248$(MODULE).exe: $(MODULE).obj
    250249        $(LNK) $(LNK_FLAGS) file $^&.obj name $^. sys os2v2
    251         @if exist $^. @echo             $^. $(MSG_SUCCESS)
     250        @if exist $^. @echo $^. $(MSG_SUCCESS)
    252251        @echo.
    253252        #~ wstrip $^.
     
    255254$(MODULE).obj:  $(BASENAME).c $(BASENAME).h
    256255#       @echo.
    257         @echo TARGET: $^&.exe   [OS/2 32-bits Executable]
     256        @echo TARGET: $^&.exe [OS/2 32-bits Executable]
    258257        $(CC32) $(CC32_FLAGS) -I$(%WATCOM)$(DS)h$(DS)os2 -bt=os2 $(BASENAME).c
    259258        @wdis -fi $^. > $^&.wda
     
    268267# Rebuild all targets.
    269268#
    270 rebuild:        .SYMBOLIC
     269rebuild: .SYMBOLIC
    271270        @%MAKE clean
    272271        @%MAKE all
     
    275274# Remove all generated files.
    276275#
    277 clean:  .SYMBOLIC
     276clean: .SYMBOLIC
    278277        @for %%i in ($(TARGETS)) do @if exist %%i $(RM) %%i
    279278        @if exist *.obj $(RM) *.obj
     
    290289# This distributes 'setaboot' 'release'.
    291290# -----------------------------------------------------------------------------
    292 dist:   .SYMBOLIC
     291dist: .SYMBOLIC
    293292        @if exist *.exe $(CP) *.exe ..$(DS)..$(DS)..$(DS)release$(DS)os2
    294293#
    295294# Help on using this Makefile.
    296295#
    297 help:   .SYMBOLIC
    298         @echo.
    299         @echo           The following actions are available:
    300         @echo           wmake           to build all targets
    301         @echo           wmake show      to show the list of buildable targets
    302         @echo           wmake clean     to remove all generated files
    303         @echo           wmake rebuild   to rebuild all targets
    304         @echo           wmake help      for this information
     296help: .SYMBOLIC
     297        @echo.
     298        @echo The following actions are available:
     299        @echo wmake         to build all targets
     300        @echo wmake show    to show the list of buildable targets
     301        @echo wmake clean   to remove all generated files
     302        @echo wmake rebuild to rebuild all targets
     303        @echo wmake help    to show this information
    305304        @echo.
    306305
     
    308307# Show the list of buildable targets.
    309308#
    310 show:   .SYMBOLIC
    311         @echo.
    312         @echo           The following [case sensitive] targets can be built:
    313         @for %%i in ($(TARGETS)) do @echo       %%i
     309show: .SYMBOLIC
     310        @echo.
     311        @echo The following [case sensitive] targets can be built:
     312        @for %%i in ($(TARGETS)) do @echo %%i
    314313        @echo.
    315314# Alias for show
    316 list:   .SYMBOLIC
     315list: .SYMBOLIC
    317316        @%MAKE show
    318317
     
    322321.ERROR
    323322        @echo.
    324         @echo           Oops!
    325         @echo           Some error occured in this build session.
    326         @echo           If it's a linker problem, it could be
    327         @echo           the result of out-of-sync object files.
    328         @echo           Doing a wmake rebuild might resolve the problem.
     323        @echo Oops!
     324        @echo Some error occured in this build session.
     325        @echo If it's a linker problem, it could be
     326        @echo the result of out-of-sync object files.
     327        @echo Doing a wmake rebuild might resolve the problem.
    329328        @%MAKE help
    330329        @echo.
    331 
    332 
Note: See TracChangeset for help on using the changeset viewer.