bhost.mif

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MIF 代码 · 共 103 行

MIF
103
字号
# build host specific macros - should query WMAKE for details
!ifdef __OS2__
bld_sys         = os2v2
bld_incs        = $(bld_extra_incs) -I$(lang_root)\h -I$(watcom_dir)\h
lang_bin        = $(lang_root)\binp
nlang_bin       = $(nlang_root)\binp
lang_dll        = $(lang_root)\binp\dll
nlang_dll       = $(nlang_root)\binp\dll
nulldevice      = nul
!else ifdef __MSDOS__
bld_sys         = dos4g
bld_incs        = $(bld_extra_incs) -I$(lang_root)\h -I$(watcom_dir)\h
lang_bin        = $(lang_root)\binw
nlang_bin       = $(nlang_root)\binw
nulldevice      = nul
# DOS should never need the DLL related macros
!else ifdef __NTAXP__
bld_sys         = ntaxp
bld_incs        = $(bld_extra_incs) -I$(lang_root)\h -I$(watcom_dir)\h
lang_bin        = $(lang_root)\axpnt
nlang_bin       = $(nlang_root)\axpnt
lang_dll        = $(lang_root)\axpnt
nlang_dll       = $(nlang_root)\axpnt
nulldevice      = nul
!else ifdef __NT386__
bld_sys         = nt
bld_incs        = $(bld_extra_incs) -I$(lang_root)\h -I$(watcom_dir)\h
lang_bin        = $(lang_root)\binnt
nlang_bin       = $(nlang_root)\binnt
lang_dll        = $(lang_root)\binnt
nlang_dll       = $(nlang_root)\binnt
nulldevice      = nul
!else ifdef __LINUX__
!ifndef bootstrapmode
bld_sys         = linux
!else ifdef __LINUXPPC__
bld_sys         = bld_linuxppc
!else ifdef __LINUXMIPS__
bld_sys         = bld_linuxmips
!else
bld_sys         = bld_linux
!endif
bld_incs        = $(bld_extra_incs) -I$(hdr_dir)/linux -I$(watcom_dir)/h
lang_bin        = $(lang_root)/binnt
nlang_bin       = $(nlang_root)/binnt
lang_dll        = $(lang_root)/binnt
nlang_dll       = $(nlang_root)/binnt
nulldevice      = /dev/null
!else ifdef __NT__
#
# This is an old make - really should report an error
#
!error Please correct this makefile, see bld\build\mif\bhost.mif for details.
bld_sys         = nt
bld_incs        = $(bld_extra_incs) -I$(lang_root)\h -I$(watcom_dir)\h
nulldevice      = nul
!else
!error HOST OS not set
!endif

!ifdef __NTAXP__
bld_cc          = *wccaxp $(bld_incs)
!else
bld_cc          = *wcc386 $(bld_incs)
!endif

!ifdef __NTAXP__
bcl             = wclaxp
!else ifdef __LINUXPPC__
bcl             = wclppc
!else ifdef __LINUXMIPS__
bcl             = wclmps
!else
bcl             = bwcl386
!endif

bld_cl          = $(bcl) -l=$(bld_sys) $(bld_incs)

bld_link        = *wlink sys $(bld_sys)

!ifeq host_cpu axp
bas             = $(as)
!else ifeq host_cpu ppc
bas             = $(as)
!else ifeq host_cpu mps
bas             = $(as)
!else
bas             = *bwasm
!endif

bvi             = bvi -q -d -i
blib            = *bwlib
bre2c           = re2c
w32bind         = w32bind
byacc           = byacc
brc             = bwrc
!ifdef __UNIX__
os2ldr          = $(%OWBINDIR)/os2ldr.exe
!else
os2ldr          = $(%OWBINDIR)\os2ldr.exe
!endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?