added build files for msdos extenders

This commit is contained in:
hyung-hwan 2013-02-02 03:49:28 +00:00
parent 7aa63462f1
commit 2402f6f92b
14 changed files with 3149 additions and 2012 deletions

View File

@ -0,0 +1,770 @@
# =========================================================================
# This makefile was generated by
# Bakefile 0.2.9 (http://www.bakefile.org)
# Do not modify, all changes will be overwritten!
# =========================================================================
# -------------------------------------------------------------------------
# These are configurable options:
# -------------------------------------------------------------------------
# DOS32 mode/extender [X32VM,X32,PMODEW,CAUSEWAY,DOS32A,DOS4GW]
# X32VM - FlashTek X-32VM DOS extender
# X32 - FlashTek X-32 DOS extender
# PMODEW - PMODE/W
# CAUSEWAY - CauseWay DOS extender
# DOS32A - DOS32/A
# DOS4GW - Tenberry/Watcom 32-bit DOS extender
DOS32 = DOS4GW
# C compiler
CC = wcc386
# C++ compiler
CXX = wpp386
# Standard flags for CC
CFLAGS =
# Standard flags for C++
CXXFLAGS =
# Standard preprocessor flags (common for CC and CXX)
CPPFLAGS =
# Standard linker flags
LDFLAGS =
# [debug,release]
BUILD = release
# [wchar,mchar]
CHAR = wchar
# [on,off]
XCMGRS = on
# [on,off]
BUNDLED_UNICODE = on
# [on,off]
TCPV40HDRS = off
# -------------------------------------------------------------------------
# Do not modify the rest of this file!
# -------------------------------------------------------------------------
# Speed up compilation a bit:
!ifdef __LOADDLL__
! loaddll wcc wccd
! loaddll wccaxp wccdaxp
! loaddll wcc386 wccd386
! loaddll wpp wppdi86
! loaddll wppaxp wppdaxp
! loaddll wpp386 wppd386
! if $(__VERSION__) >= 1280
! loaddll wlink wlinkd
! else
! loaddll wlink wlink
! endif
! loaddll wlib wlibd
!endif
# We need these variables in some bakefile-made rules:
WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
### Conditionally set variables: ###
__DOS_LDFLAG =
!ifeq DOS32 CAUSEWAY
__DOS_LDFLAG = CAUSEWAY
!endif
!ifeq DOS32 DOS32A
__DOS_LDFLAG = DOS32A
!endif
!ifeq DOS32 DOS4GW
__DOS_LDFLAG = DOS4G
!endif
!ifeq DOS32 PMODEW
__DOS_LDFLAG = PMODEW
!endif
!ifeq DOS32 X32
__DOS_LDFLAG = X32R
!endif
!ifeq DOS32 X32VM
__DOS_LDFLAG = X32RV
!endif
BUILDDIR_BUILD =
!ifeq BUILD debug
BUILDDIR_BUILD = debug
!endif
!ifeq BUILD release
BUILDDIR_BUILD = release
!endif
BUILDDIR_CHAR =
!ifeq CHAR mchar
BUILDDIR_CHAR = mchar
!endif
!ifeq CHAR wchar
BUILDDIR_CHAR = wchar
!endif
CPPFLAGS_BUILD =
!ifeq BUILD debug
CPPFLAGS_BUILD = -DQSE_BUILD_DEBUG -DDEBUG -D_DEBUG
!endif
!ifeq BUILD release
CPPFLAGS_BUILD = -DNDEBUG
!endif
CPPFLAGS_CHAR =
!ifeq CHAR mchar
CPPFLAGS_CHAR = -DQSE_CHAR_IS_MCHAR=1
!endif
!ifeq CHAR wchar
CPPFLAGS_CHAR = -DQSE_CHAR_IS_WCHAR=1
!endif
CPPFLAGS_XCMGRS =
!ifeq XCMGRS off
CPPFLAGS_XCMGRS = -UQSE_ENABLE_XCMGRS
!endif
!ifeq XCMGRS on
CPPFLAGS_XCMGRS = -DQSE_ENABLE_XCMGRS=1
!endif
CPPFLAGS_BUNDLED_UNICODE =
!ifeq BUNDLED_UNICODE off
CPPFLAGS_BUNDLED_UNICODE = -UQSE_ENABLE_BUNDLED_UNICODE
!endif
!ifeq BUNDLED_UNICODE on
CPPFLAGS_BUNDLED_UNICODE = -DQSE_ENABLE_BUNDLED_UNICODE=1
!endif
CPPFLAGS_TCPV40HDRS =
!ifeq TCPV40HDRS off
CPPFLAGS_TCPV40HDRS = -UTCPV40HDRS
!endif
!ifeq TCPV40HDRS on
CPPFLAGS_TCPV40HDRS = -DTCPV40HDRS
!endif
____SOURCES_XCMGRS_FILENAMES_OBJECTS =
!ifeq XCMGRS on
____SOURCES_XCMGRS_FILENAMES_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_cp949.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_cp950.obj
!endif
____SOURCES_BUNDLED_UNICODE_FILENAMES_OBJECTS =
!ifeq BUNDLED_UNICODE on
____SOURCES_BUNDLED_UNICODE_FILENAMES_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_uni.obj
!endif
__DEBUG_INFO_0 =
!ifeq BUILD debug
__DEBUG_INFO_0 = debug all
!endif
!ifeq BUILD release
__DEBUG_INFO_0 =
!endif
____DOS_CFLAG_p =
!ifeq DOS32 CAUSEWAY
____DOS_CFLAG_p = -dDOS4GW
!endif
!ifeq DOS32 DOS32A
____DOS_CFLAG_p = -dDOS4GW
!endif
!ifeq DOS32 DOS4GW
____DOS_CFLAG_p = -dDOS4GW
!endif
!ifeq DOS32 PMODEW
____DOS_CFLAG_p = -dDOS4GW
!endif
!ifeq DOS32 X32
____DOS_CFLAG_p = -dX32VM
!endif
!ifeq DOS32 X32VM
____DOS_CFLAG_p = -dX32VM
!endif
__DEBUG_INFO =
!ifeq BUILD debug
__DEBUG_INFO = -d2
!endif
!ifeq BUILD release
__DEBUG_INFO = -d0
!endif
### Variables: ###
LIBQSECMN_CFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox $(CPPFLAGS) $(CFLAGS)
LIBQSECMN_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_base64.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_rand.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_search.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_sort.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_assert.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_chr.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_dir.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_dll.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_env.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_gdl.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_htb.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fio.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fma.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fmt.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fs.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fs_err.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fs_move.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_glob.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_hton.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_ipad.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_lda.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_main.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mb8.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mbwc.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mbwc_str.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mem.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mux.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwad.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwad_skad.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwif.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwif_cfg.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwio.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_oht.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_opt.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_path_basename.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_path_canon.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_pio.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_pma.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_rbt.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_rex.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_sio.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_sll.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_slmb.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_stdio.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_beg.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cat.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_chr.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cnv.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cmp.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cpy.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_del.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_dup.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_dynm.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_dynw.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_end.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_excl.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_fcpy.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_fnmat.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_incl.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_len.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_pac.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_pbrk.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_put.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_rev.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_rot.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_set.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_spl.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_spn.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_str.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_subst.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_tok.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_trm.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_word.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_task.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_time.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tio.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_ast.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_compile.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_match_backtrack.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_match_parallel.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_parse.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_stack.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_uri.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_utf8.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_xma.obj &
$(____SOURCES_XCMGRS_FILENAMES_OBJECTS) &
$(____SOURCES_BUNDLED_UNICODE_FILENAMES_OBJECTS)
LIBQSEAWK_CFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox $(CPPFLAGS) $(CFLAGS)
LIBQSEAWK_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_awk.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_err.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_tree.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_parse.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_run.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_rec.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_val.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_fnc.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_misc.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_rio.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_std.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_mod_dir.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_mod_str.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_mod_sys.obj
LIBQSESED_CFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox $(CPPFLAGS) $(CFLAGS)
LIBQSESED_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed_sed.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed_err.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed_std.obj
EXEQSEAWK_CFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox $(CPPFLAGS) $(CFLAGS)
EXEQSEAWK_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk_awk.obj
EXEQSESED_CFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox $(CPPFLAGS) $(CFLAGS)
EXEQSESED_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed_sed.obj
LIBQSECMNXX_CXXFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox -xs $(CPPFLAGS) $(CXXFLAGS)
LIBQSECMNXX_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmnxx_Mmgr.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmnxx_StdMmgr.obj
LIBQSEAWKXX_CXXFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox -xs $(CPPFLAGS) $(CXXFLAGS)
LIBQSEAWKXX_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawkxx_Awk.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawkxx_StdAwk.obj
LIBQSESEDXX_CXXFLAGS = $(____DOS_CFLAG_p) -i=..\..\include $(CPPFLAGS_BUILD) &
$(CPPFLAGS_CHAR) $(CPPFLAGS_XCMGRS) $(CPPFLAGS_BUNDLED_UNICODE) &
-DQSE_ENABLE_STATIC_MODULE $(CPPFLAGS_TCPV40HDRS) -wx $(__DEBUG_INFO) -bm -ot &
-ox -xs $(CPPFLAGS) $(CXXFLAGS)
LIBQSESEDXX_OBJECTS = &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesedxx_Sed.obj &
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesedxx_StdSed.obj
all : $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR) :
-if not exist $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR) mkdir $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)
### Targets: ###
all : .SYMBOLIC $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.exe $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.exe $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmnxx.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawkxx.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesedxx.lib
clean : .SYMBOLIC
-if exist $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.obj del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.obj
-if exist $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.res del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.res
-if exist $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.lbc del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.lbc
-if exist $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.ilk del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.ilk
-if exist $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.pch del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\*.pch
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.exe
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.exe
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmnxx.lib
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawkxx.lib
-del $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesedxx.lib
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib : $(LIBQSECMN_OBJECTS)
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn.lbc
@for %i in ($(LIBQSECMN_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn.lbc +%i
wlib -q -p4096 -n -b $^@ @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib : $(LIBQSEAWK_OBJECTS) $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk.lbc
@for %i in ($(LIBQSEAWK_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk.lbc +%i
wlib -q -p4096 -n -b $^@ @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib : $(LIBQSESED_OBJECTS) $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed.lbc
@for %i in ($(LIBQSESED_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed.lbc +%i
wlib -q -p4096 -n -b $^@ @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.exe : $(EXEQSEAWK_OBJECTS) $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc option quiet
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc name $^@
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc option caseexact
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc $(__DEBUG_INFO_0) system $(__DOS_LDFLAG) $(LDFLAGS)
@for %i in ($(EXEQSEAWK_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc file %i
@for %i in ( $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib ) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc library %i
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc
@for %i in (256k) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc option stack=%i
wlink @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.exe : $(EXEQSESED_OBJECTS) $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc option quiet
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc name $^@
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc option caseexact
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc $(__DEBUG_INFO_0) system $(__DOS_LDFLAG) $(LDFLAGS)
@for %i in ($(EXEQSESED_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc file %i
@for %i in ( $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc library %i
@%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc
@for %i in (256k) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc option stack=%i
wlink @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmnxx.lib : $(LIBQSECMNXX_OBJECTS) $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmnxx.lbc
@for %i in ($(LIBQSECMNXX_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmnxx.lbc +%i
wlib -q -p4096 -n -b $^@ @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmnxx.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawkxx.lib : $(LIBQSEAWKXX_OBJECTS) $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmnxx.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmnxx.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qseawk.lib
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawkxx.lbc
@for %i in ($(LIBQSEAWKXX_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawkxx.lbc +%i
wlib -q -p4096 -n -b $^@ @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawkxx.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesedxx.lib : $(LIBQSESEDXX_OBJECTS) $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmn.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmnxx.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsecmnxx.lib $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\qsesed.lib
@%create $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesedxx.lbc
@for %i in ($(LIBQSESEDXX_OBJECTS)) do @%append $(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesedxx.lbc +%i
wlib -q -p4096 -n -b $^@ @$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesedxx.lbc
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_base64.obj : .AUTODEPEND ..\..\lib\cmn\alg-base64.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_rand.obj : .AUTODEPEND ..\..\lib\cmn\alg-rand.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_search.obj : .AUTODEPEND ..\..\lib\cmn\alg-search.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_alg_sort.obj : .AUTODEPEND ..\..\lib\cmn\alg-sort.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_assert.obj : .AUTODEPEND ..\..\lib\cmn\assert.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_chr.obj : .AUTODEPEND ..\..\lib\cmn\chr.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_dir.obj : .AUTODEPEND ..\..\lib\cmn\dir.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_dll.obj : .AUTODEPEND ..\..\lib\cmn\dll.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_env.obj : .AUTODEPEND ..\..\lib\cmn\env.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_gdl.obj : .AUTODEPEND ..\..\lib\cmn\gdl.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_htb.obj : .AUTODEPEND ..\..\lib\cmn\htb.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fio.obj : .AUTODEPEND ..\..\lib\cmn\fio.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fma.obj : .AUTODEPEND ..\..\lib\cmn\fma.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fmt.obj : .AUTODEPEND ..\..\lib\cmn\fmt.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fs.obj : .AUTODEPEND ..\..\lib\cmn\fs.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fs_err.obj : .AUTODEPEND ..\..\lib\cmn\fs-err.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_fs_move.obj : .AUTODEPEND ..\..\lib\cmn\fs-move.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_glob.obj : .AUTODEPEND ..\..\lib\cmn\glob.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_hton.obj : .AUTODEPEND ..\..\lib\cmn\hton.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_ipad.obj : .AUTODEPEND ..\..\lib\cmn\ipad.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_lda.obj : .AUTODEPEND ..\..\lib\cmn\lda.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_main.obj : .AUTODEPEND ..\..\lib\cmn\main.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mb8.obj : .AUTODEPEND ..\..\lib\cmn\mb8.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mbwc.obj : .AUTODEPEND ..\..\lib\cmn\mbwc.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mbwc_str.obj : .AUTODEPEND ..\..\lib\cmn\mbwc-str.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mem.obj : .AUTODEPEND ..\..\lib\cmn\mem.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_mux.obj : .AUTODEPEND ..\..\lib\cmn\mux.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwad.obj : .AUTODEPEND ..\..\lib\cmn\nwad.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwad_skad.obj : .AUTODEPEND ..\..\lib\cmn\nwad-skad.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwif.obj : .AUTODEPEND ..\..\lib\cmn\nwif.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwif_cfg.obj : .AUTODEPEND ..\..\lib\cmn\nwif-cfg.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_nwio.obj : .AUTODEPEND ..\..\lib\cmn\nwio.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_oht.obj : .AUTODEPEND ..\..\lib\cmn\oht.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_opt.obj : .AUTODEPEND ..\..\lib\cmn\opt.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_path_basename.obj : .AUTODEPEND ..\..\lib\cmn\path-basename.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_path_canon.obj : .AUTODEPEND ..\..\lib\cmn\path-canon.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_pio.obj : .AUTODEPEND ..\..\lib\cmn\pio.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_pma.obj : .AUTODEPEND ..\..\lib\cmn\pma.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_rbt.obj : .AUTODEPEND ..\..\lib\cmn\rbt.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_rex.obj : .AUTODEPEND ..\..\lib\cmn\rex.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_sio.obj : .AUTODEPEND ..\..\lib\cmn\sio.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_sll.obj : .AUTODEPEND ..\..\lib\cmn\sll.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_slmb.obj : .AUTODEPEND ..\..\lib\cmn\slmb.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_stdio.obj : .AUTODEPEND ..\..\lib\cmn\stdio.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_beg.obj : .AUTODEPEND ..\..\lib\cmn\str-beg.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cat.obj : .AUTODEPEND ..\..\lib\cmn\str-cat.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_chr.obj : .AUTODEPEND ..\..\lib\cmn\str-chr.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cnv.obj : .AUTODEPEND ..\..\lib\cmn\str-cnv.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cmp.obj : .AUTODEPEND ..\..\lib\cmn\str-cmp.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_cpy.obj : .AUTODEPEND ..\..\lib\cmn\str-cpy.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_del.obj : .AUTODEPEND ..\..\lib\cmn\str-del.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_dup.obj : .AUTODEPEND ..\..\lib\cmn\str-dup.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_dynm.obj : .AUTODEPEND ..\..\lib\cmn\str-dynm.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_dynw.obj : .AUTODEPEND ..\..\lib\cmn\str-dynw.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_end.obj : .AUTODEPEND ..\..\lib\cmn\str-end.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_excl.obj : .AUTODEPEND ..\..\lib\cmn\str-excl.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_fcpy.obj : .AUTODEPEND ..\..\lib\cmn\str-fcpy.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_fnmat.obj : .AUTODEPEND ..\..\lib\cmn\str-fnmat.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_incl.obj : .AUTODEPEND ..\..\lib\cmn\str-incl.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_len.obj : .AUTODEPEND ..\..\lib\cmn\str-len.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_pac.obj : .AUTODEPEND ..\..\lib\cmn\str-pac.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_pbrk.obj : .AUTODEPEND ..\..\lib\cmn\str-pbrk.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_put.obj : .AUTODEPEND ..\..\lib\cmn\str-put.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_rev.obj : .AUTODEPEND ..\..\lib\cmn\str-rev.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_rot.obj : .AUTODEPEND ..\..\lib\cmn\str-rot.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_set.obj : .AUTODEPEND ..\..\lib\cmn\str-set.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_spl.obj : .AUTODEPEND ..\..\lib\cmn\str-spl.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_spn.obj : .AUTODEPEND ..\..\lib\cmn\str-spn.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_str.obj : .AUTODEPEND ..\..\lib\cmn\str-str.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_subst.obj : .AUTODEPEND ..\..\lib\cmn\str-subst.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_tok.obj : .AUTODEPEND ..\..\lib\cmn\str-tok.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_trm.obj : .AUTODEPEND ..\..\lib\cmn\str-trm.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_str_word.obj : .AUTODEPEND ..\..\lib\cmn\str-word.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_task.obj : .AUTODEPEND ..\..\lib\cmn\task.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_time.obj : .AUTODEPEND ..\..\lib\cmn\time.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tio.obj : .AUTODEPEND ..\..\lib\cmn\tio.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre.obj : .AUTODEPEND ..\..\lib\cmn\tre.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_ast.obj : .AUTODEPEND ..\..\lib\cmn\tre-ast.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_compile.obj : .AUTODEPEND ..\..\lib\cmn\tre-compile.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_match_backtrack.obj : .AUTODEPEND ..\..\lib\cmn\tre-match-backtrack.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_match_parallel.obj : .AUTODEPEND ..\..\lib\cmn\tre-match-parallel.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_parse.obj : .AUTODEPEND ..\..\lib\cmn\tre-parse.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_tre_stack.obj : .AUTODEPEND ..\..\lib\cmn\tre-stack.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_uri.obj : .AUTODEPEND ..\..\lib\cmn\uri.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_utf8.obj : .AUTODEPEND ..\..\lib\cmn\utf8.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_xma.obj : .AUTODEPEND ..\..\lib\cmn\xma.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_cp949.obj : .AUTODEPEND ..\..\lib\cmn\cp949.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_cp950.obj : .AUTODEPEND ..\..\lib\cmn\cp950.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmn_uni.obj : .AUTODEPEND ..\..\lib\cmn\uni.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSECMN_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_awk.obj : .AUTODEPEND ..\..\lib\awk\awk.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_err.obj : .AUTODEPEND ..\..\lib\awk\err.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_tree.obj : .AUTODEPEND ..\..\lib\awk\tree.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_parse.obj : .AUTODEPEND ..\..\lib\awk\parse.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_run.obj : .AUTODEPEND ..\..\lib\awk\run.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_rec.obj : .AUTODEPEND ..\..\lib\awk\rec.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_val.obj : .AUTODEPEND ..\..\lib\awk\val.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_fnc.obj : .AUTODEPEND ..\..\lib\awk\fnc.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_misc.obj : .AUTODEPEND ..\..\lib\awk\misc.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_rio.obj : .AUTODEPEND ..\..\lib\awk\rio.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_std.obj : .AUTODEPEND ..\..\lib\awk\std.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_mod_dir.obj : .AUTODEPEND ..\..\lib\awk\mod-dir.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_mod_str.obj : .AUTODEPEND ..\..\lib\awk\mod-str.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawk_mod_sys.obj : .AUTODEPEND ..\..\lib\awk\mod-sys.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed_sed.obj : .AUTODEPEND ..\..\lib\sed\sed.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSESED_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed_err.obj : .AUTODEPEND ..\..\lib\sed\err.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSESED_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesed_std.obj : .AUTODEPEND ..\..\lib\sed\std.c
$(CC) -bt=dos -zq -fo=$^@ $(LIBQSESED_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqseawk_awk.obj : .AUTODEPEND ..\..\cmd\awk\awk.c
$(CC) -bt=dos -zq -fo=$^@ $(EXEQSEAWK_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\exeqsesed_sed.obj : .AUTODEPEND ..\..\cmd\sed\sed.c
$(CC) -bt=dos -zq -fo=$^@ $(EXEQSESED_CFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmnxx_Mmgr.obj : .AUTODEPEND ..\..\lib\cmn\Mmgr.cpp
$(CXX) -bt=dos -zq -fo=$^@ $(LIBQSECMNXX_CXXFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsecmnxx_StdMmgr.obj : .AUTODEPEND ..\..\lib\cmn\StdMmgr.cpp
$(CXX) -bt=dos -zq -fo=$^@ $(LIBQSECMNXX_CXXFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawkxx_Awk.obj : .AUTODEPEND ..\..\lib\awk\Awk.cpp
$(CXX) -bt=dos -zq -fo=$^@ $(LIBQSEAWKXX_CXXFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqseawkxx_StdAwk.obj : .AUTODEPEND ..\..\lib\awk\StdAwk.cpp
$(CXX) -bt=dos -zq -fo=$^@ $(LIBQSEAWKXX_CXXFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesedxx_Sed.obj : .AUTODEPEND ..\..\lib\sed\Sed.cpp
$(CXX) -bt=dos -zq -fo=$^@ $(LIBQSESEDXX_CXXFLAGS) $<
$(BUILDDIR_BUILD)-$(BUILDDIR_CHAR)\libqsesedxx_StdSed.obj : .AUTODEPEND ..\..\lib\sed\StdSed.cpp
$(CXX) -bt=dos -zq -fo=$^@ $(LIBQSESEDXX_CXXFLAGS) $<

21
qse/bld/msdos.bkgen Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0" ?>
<bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen">
<input>
qse.bkl
</input>
<add-formats>
watcom
</add-formats>
<add-flags>
-DPLATFORM_MSDOS=1
</add-flags>
<add-flags formats="watcom">
-o$(INPUT_FILE_DIR)/msdos-watcom/makefile
</add-flags>
</bakefile-gen>

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,10 @@
<values>on,off</values>
<default-value>on</default-value>
</option>
<option name="STATIC_MODULE">
<values>on,off</values>
<default-value>off</default-value>
</option>
<option name="TCPV40HDRS">
<!-- this is OS/2 specific. no effect on other platforms -->
<values>on,off</values>
@ -46,6 +50,32 @@
<if cond="PLATFORM_UNIX=='1'"></if>
</set>
<!-- =========================================================
Varibles to use as conditionals
========================================================= -->
<set var="ENABLE_NETWORKING">
<if cond="PLATFORM_WIN32=='1'">1</if>
<if cond="PLATFORM_OS2=='1'">1</if>
<if cond="PLATFORM_MSDOS=='1'">0</if>
<if cond="PLATFORM_UNIX=='1'">1</if>
</set>
<set var="ENABLE_DLL">
<if cond="PLATFORM_WIN32=='1'">1</if>
<if cond="PLATFORM_OS2=='1'">1</if>
<if cond="PLATFORM_MSDOS=='1'">0</if>
<if cond="PLATFORM_UNIX=='1'">1</if>
</set>
<set var="ENABLE_STATIC_MODULE">
<if cond="STATIC_MODULE=='on'">1</if>
<if cond="STATIC_MODULE=='off'">0</if>
<!-- Force ENABLE_STATIC_MODULE to be 1 on the
platforms where no DLL is supported -->
<if cond="ENABLE_DLL=='0'">1</if>
</set>
<!-- =========================================================
BUILD DIRECTORY
========================================================= -->
@ -80,6 +110,10 @@
<if cond="BUNDLED_UNICODE=='on'">-DQSE_ENABLE_BUNDLED_UNICODE=1</if>
<if cond="BUNDLED_UNICODE=='off'">-UQSE_ENABLE_BUNDLED_UNICODE</if>
</set>
<set var="CPPFLAGS_STATIC_MODULE">
<if cond="ENABLE_STATIC_MODULE=='1'">-DQSE_ENABLE_STATIC_MODULE</if>
<if cond="ENABLE_STATIC_MODULE=='0'">-UQSE_ENABLE_STATIC_MODULE</if>
</set>
<set var="CPPFLAGS_TCPV40HDRS">
<if cond="TCPV40HDRS=='on'">-DTCPV40HDRS</if>
<if cond="TCPV40HDRS=='off'">-UTCPV40HDRS</if>
@ -89,6 +123,7 @@
$(CPPFLAGS_CHAR)
$(CPPFLAGS_XCMGRS)
$(CPPFLAGS_BUNDLED_UNICODE)
$(CPPFLAGS_STATIC_MODULE)
$(CPPFLAGS_TCPV40HDRS)
</set>
@ -101,7 +136,7 @@
</set>
<!-- =========================================================
CONDITIONAL SOURCE FILES
SOURCE FILES
========================================================= -->
<set var="SOURCES_XCMGRS">
<if cond="XCMGRS=='on'">cp949.c cp950.c</if>
@ -110,41 +145,7 @@
<if cond="BUNDLED_UNICODE=='on'">uni.c</if>
</set>
<!-- =========================================================
CONDITIONAL SYSTEM LIBRARIES
========================================================= -->
<set var="SYSLIB_SOCKET">
<if cond="PLATFORM_WIN32=='1'">ws2_32</if>
<if cond="PLATFORM_OS2=='1' and TCPV40HDRS=='on'">tcp32dll</if>
<if cond="PLATFORM_OS2=='1' and TCPV40HDRS=='off'">tcpip32</if>
</set>
<set var="SYSLIB_SOCKET2">
<if cond="PLATFORM_OS2=='1' and TCPV40HDRS=='on'">so32dll</if>
</set>
<!-- =========================================================
TEMPLATES
========================================================= -->
<template id="base">
<include>../../include</include>
<cppflags>$(CPPFLAGS_EXTRA)</cppflags>
<warnings>max</warnings>
<debug-info>$(DEBUG_INFO)</debug-info>
<threading>multi</threading>
<optimize>speed</optimize>
</template>
<template id="basexx">
<cxx-exceptions>on</cxx-exceptions>
</template>
<!-- =========================================================
TARGETS
========================================================= -->
<dll id="dllqsecmn" template="base">
<libname>qsecmn</libname>
<dllname>qsecmn</dllname>
<set-srcdir>../../lib/cmn</set-srcdir>
<sources>
<set var="SOURCES_LIBQSECMN">
alg-base64.c
alg-rand.c
alg-search.c
@ -233,16 +234,13 @@
xma.c
$(SOURCES_XCMGRS)
$(SOURCES_BUNDLED_UNICODE)
</sources>
<sys-lib>$(SYSLIB_SOCKET)</sys-lib>
<sys-lib>$(SYSLIB_SOCKET2)</sys-lib>
</dll>
</set>
<dll id="dllqseawk" template="base">
<libname>qseawk</libname>
<dllname>qseawk</dllname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>
<set var="SOURCES_STATIC_AWK_MODULE">
<if cond="ENABLE_STATIC_MODULE=='1'">mod-dir.c mod-str.c mod-sys.c</if>
</set>
<set var="SOURCES_LIBQSEAWK">
awk.c
err.c
tree.c
@ -254,59 +252,16 @@
misc.c
rio.c
std.c
</sources>
<library>dllqsecmn</library>
<depends>dllqsecmn</depends>
</dll>
$(SOURCES_STATIC_AWK_MODULE)
</set>
<dll id="modqseawkdir" template="base">
<dllname>$(AWKMODPREFIX)dir$(AWKMODPOSTFIX)</dllname>
<libname>$(AWKMODPREFIX)dir$(AWKMODPOSTFIX)</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>mod-dir.c</sources>
<library>dllqsecmn</library>
<library>dllqseawk</library>
<depends>dllqseawk</depends>
</dll>
<dll id="modqseawkstr" template="base">
<dllname>$(AWKMODPREFIX)str$(AWKMODPOSTFIX)</dllname>
<libname>$(AWKMODPREFIX)str$(AWKMODPOSTFIX)</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>mod-str.c</sources>
<library>dllqsecmn</library>
<library>dllqseawk</library>
<depends>dllqseawk</depends>
</dll>
<dll id="modqseawksys" template="base">
<dllname>$(AWKMODPREFIX)sys$(AWKMODPOSTFIX)</dllname>
<libname>$(AWKMODPREFIX)sys$(AWKMODPOSTFIX)</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>mod-sys.c</sources>
<library>dllqsecmn</library>
<library>dllqseawk</library>
<depends>dllqseawk</depends>
</dll>
<dll id="dllqsesed" template="base">
<libname>qsesed</libname>
<dllname>qsesed</dllname>
<set-srcdir>../../lib/sed</set-srcdir>
<sources>
<set var="SOURCES_LIBQSESED">
sed.c
err.c
std.c
</sources>
<library>dllqsecmn</library>
<depends>dllqsecmn</depends>
</dll>
</set>
<dll id="dllqsenet" template="base">
<libname>qsenet</libname>
<dllname>qsenet</dllname>
<set-srcdir>../../lib/net</set-srcdir>
<sources>
<set var="SOURCES_LIBQSENET">
http.c
htre.c
htrd.c
@ -320,21 +275,163 @@
httpd-task.c
httpd-text.c
upxd.c
</sources>
<library>dllqsecmn</library>
<depends>dllqsecmn</depends>
</set>
<set var="SOURCES_LIBQSECMNXX">
Mmgr.cpp
StdMmgr.cpp
</set>
<set var="SOURCES_LIBQSEAWKXX">
Awk.cpp
StdAwk.cpp
</set>
<set var="SOURCES_LIBQSESEDXX">
Sed.cpp
StdSed.cpp
</set>
<!-- =========================================================
CONDITIONAL SYSTEM LIBRARIES
========================================================= -->
<set var="SYSLIB_SOCKET">
<if cond="PLATFORM_WIN32=='1'">ws2_32</if>
<if cond="PLATFORM_OS2=='1' and TCPV40HDRS=='on'">tcp32dll</if>
<if cond="PLATFORM_OS2=='1' and TCPV40HDRS=='off'">tcpip32</if>
</set>
<set var="SYSLIB_SOCKET2">
<if cond="PLATFORM_OS2=='1' and TCPV40HDRS=='on'">so32dll</if>
</set>
<!-- =========================================================
TEMPLATES
========================================================= -->
<template id="base">
<include>../../include</include>
<cppflags>$(CPPFLAGS_EXTRA)</cppflags>
<warnings>max</warnings>
<debug-info>$(DEBUG_INFO)</debug-info>
<threading>multi</threading>
<optimize>speed</optimize>
</template>
<template id="basexx">
<cxx-exceptions>on</cxx-exceptions>
</template>
<!-- =========================================================
TARGETS
========================================================= -->
<dll id="libqsecmn" template="base" cond="ENABLE_DLL=='1'">
<libname>qsecmn</libname>
<dllname>qsecmn</dllname>
<set-srcdir>../../lib/cmn</set-srcdir>
<sources>$(SOURCES_LIBQSECMN)</sources>
<sys-lib>$(SYSLIB_SOCKET)</sys-lib>
<sys-lib>$(SYSLIB_SOCKET2)</sys-lib>
</dll>
<lib id="libqsecmn" template="base" cond="ENABLE_DLL=='0'">
<libname>qsecmn</libname>
<set-srcdir>../../lib/cmn</set-srcdir>
<sources>$(SOURCES_LIBQSECMN)</sources>
<sys-lib>$(SYSLIB_SOCKET)</sys-lib>
<sys-lib>$(SYSLIB_SOCKET2)</sys-lib>
</lib>
<dll id="libqseawk" template="base" cond="ENABLE_DLL=='1'">
<libname>qseawk</libname>
<dllname>qseawk</dllname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>$(SOURCES_LIBQSEAWK)</sources>
<library>libqsecmn</library>
<depends>libqsecmn</depends>
</dll>
<lib id="libqseawk" template="base" cond="ENABLE_DLL=='0'">
<libname>qseawk</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>$(SOURCES_LIBQSEAWK)</sources>
<depends>libqsecmn</depends>
</lib>
<dll id="modqseawkdir" template="base" cond="ENABLE_STATIC_MODULE=='0'">
<dllname>$(AWKMODPREFIX)dir$(AWKMODPOSTFIX)</dllname>
<libname>$(AWKMODPREFIX)dir$(AWKMODPOSTFIX)</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>mod-dir.c</sources>
<library>libqsecmn</library>
<library>libqseawk</library>
<depends>libqseawk</depends>
</dll>
<dll id="modqseawkstr" template="base" cond="ENABLE_STATIC_MODULE=='0'">
<dllname>$(AWKMODPREFIX)str$(AWKMODPOSTFIX)</dllname>
<libname>$(AWKMODPREFIX)str$(AWKMODPOSTFIX)</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>mod-str.c</sources>
<library>libqsecmn</library>
<library>libqseawk</library>
<depends>libqseawk</depends>
</dll>
<dll id="modqseawksys" template="base" cond="ENABLE_STATIC_MODULE=='0'">
<dllname>$(AWKMODPREFIX)sys$(AWKMODPOSTFIX)</dllname>
<libname>$(AWKMODPREFIX)sys$(AWKMODPOSTFIX)</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>mod-sys.c</sources>
<library>libqsecmn</library>
<library>libqseawk</library>
<depends>libqseawk</depends>
</dll>
<dll id="libqsesed" template="base" cond="ENABLE_DLL=='1'">
<libname>qsesed</libname>
<dllname>qsesed</dllname>
<set-srcdir>../../lib/sed</set-srcdir>
<sources>$(SOURCES_LIBQSESED)</sources>
<library>libqsecmn</library>
<depends>libqsecmn</depends>
</dll>
<lib id="libqsesed" template="base" cond="ENABLE_DLL=='0'">
<libname>qsesed</libname>
<set-srcdir>../../lib/sed</set-srcdir>
<sources>$(SOURCES_LIBQSESED)</sources>
<library>libqsecmn</library>
<depends>libqsecmn</depends>
</lib>
<dll id="libqsenet" template="base" cond="ENABLE_DLL+ENABLE_NETWORKING=='11'">
<libname>qsenet</libname>
<dllname>qsenet</dllname>
<set-srcdir>../../lib/net</set-srcdir>
<sources>$(SOURCES_LIBQSENET)</sources>
<library>libqsecmn</library>
<depends>libqsecmn</depends>
<sys-lib>$(SYSLIB_SOCKET)</sys-lib>
<sys-lib>$(SYSLIB_SOCKET2)</sys-lib>
</dll>
<lib id="libqsenet" template="base" cond="ENABLE_DLL+ENABLE_NETWORKING=='01'">
<libname>qsenet</libname>
<set-srcdir>../../lib/net</set-srcdir>
<sources>$(SOURCES_LIBQSENET)</sources>
<library>libqsecmn</library>
<depends>libqsecmn</depends>
<sys-lib>$(SYSLIB_SOCKET)</sys-lib>
<sys-lib>$(SYSLIB_SOCKET2)</sys-lib>
</lib>
<exe id="exeqseawk" template="base">
<exename>qseawk</exename>
<app-type>console</app-type>
<set-srcdir>../../cmd/awk</set-srcdir>
<sources>awk.c</sources>
<library>dllqsecmn</library>
<library>dllqseawk</library>
<depends>dllqseawk</depends>
<library>libqsecmn</library>
<library>libqseawk</library>
<depends>libqseawk</depends>
<sys-lib>$(SYSLIB_SOCKET)</sys-lib>
<sys-lib>$(SYSLIB_SOCKET2)</sys-lib>
</exe>
@ -344,63 +441,84 @@
<app-type>console</app-type>
<set-srcdir>../../cmd/sed</set-srcdir>
<sources>sed.c</sources>
<library>dllqsecmn</library>
<library>dllqsesed</library>
<depends>dllqsesed</depends>
<library>libqsecmn</library>
<library>libqsesed</library>
<depends>libqsesed</depends>
</exe>
<exe id="exeqsehttpd" template="base">
<exe id="exeqsehttpd" template="base" cond="ENABLE_NETWORKING=='1'">
<exename>qsehttpd</exename>
<app-type>console</app-type>
<set-srcdir>../../cmd/net</set-srcdir>
<sources>httpd.c</sources>
<library>dllqsecmn</library>
<library>dllqsenet</library>
<depends>dllqsenet</depends>
<library>libqsecmn</library>
<library>libqsenet</library>
<depends>libqsenet</depends>
<sys-lib>$(SYSLIB_SOCKET)</sys-lib>
<sys-lib>$(SYSLIB_SOCKET2)</sys-lib>
</exe>
<dll id="dllqsecmnxx" template="base,basexx">
<dll id="libqsecmnxx" template="base,basexx" cond="ENABLE_DLL=='1'">
<libname>qsecmnxx</libname>
<dllname>qsecmnxx</dllname>
<set-srcdir>../../lib/cmn</set-srcdir>
<sources>
Mmgr.cpp
StdMmgr.cpp
</sources>
<library>dllqsecmn</library>
<depends>dllqsecmn</depends>
<sources>$(SOURCES_LIBQSECMNXX)</sources>
<library>libqsecmn</library>
<depends>libqsecmn</depends>
</dll>
<dll id="dllqseawkxx" template="base,basexx">
<lib id="libqsecmnxx" template="base,basexx" cond="ENABLE_DLL=='0'">
<libname>qsecmnxx</libname>
<set-srcdir>../../lib/cmn</set-srcdir>
<sources>$(SOURCES_LIBQSECMNXX)</sources>
<library>libqsecmn</library>
<depends>libqsecmn</depends>
</lib>
<dll id="libqseawkxx" template="base,basexx" cond="ENABLE_DLL=='1'">
<libname>qseawkxx</libname>
<dllname>qseawkxx</dllname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>
Awk.cpp
StdAwk.cpp
</sources>
<library>dllqsecmn</library>
<library>dllqsecmnxx</library>
<library>dllqseawk</library>
<depends>dllqsecmnxx</depends>
<depends>dllqseawk</depends>
<sources>$(SOURCES_LIBQSEAWKXX)</sources>
<library>libqsecmn</library>
<library>libqsecmnxx</library>
<library>libqseawk</library>
<depends>libqsecmnxx</depends>
<depends>libqseawk</depends>
</dll>
<dll id="dllqsesedxx" template="base,basexx">
<lib id="libqseawkxx" template="base,basexx" cond="ENABLE_DLL=='0'">
<libname>qseawkxx</libname>
<set-srcdir>../../lib/awk</set-srcdir>
<sources>$(SOURCES_LIBQSEAWKXX)</sources>
<library>libqsecmn</library>
<library>libqsecmnxx</library>
<library>libqseawk</library>
<depends>libqsecmnxx</depends>
<depends>libqseawk</depends>
</lib>
<dll id="libqsesedxx" template="base,basexx" cond="ENABLE_DLL=='1'">
<libname>qsesedxx</libname>
<dllname>qsesedxx</dllname>
<set-srcdir>../../lib/sed</set-srcdir>
<sources>
Sed.cpp
StdSed.cpp
</sources>
<library>dllqsecmn</library>
<library>dllqsecmnxx</library>
<library>dllqsesed</library>
<depends>dllqsecmnxx</depends>
<depends>dllqsesed</depends>
<sources>$(SOURCES_LIBQSESEDXX)</sources>
<library>libqsecmn</library>
<library>libqsecmnxx</library>
<library>libqsesed</library>
<depends>libqsecmnxx</depends>
<depends>libqsesed</depends>
</dll>
<lib id="libqsesedxx" template="base,basexx" cond="ENABLE_DLL=='0'">
<libname>qsesedxx</libname>
<set-srcdir>../../lib/sed</set-srcdir>
<sources>$(SOURCES_LIBQSESEDXX)</sources>
<library>libqsecmn</library>
<library>libqsecmnxx</library>
<library>libqsesed</library>
<depends>libqsecmnxx</depends>
<depends>libqsesed</depends>
</lib>
</makefile>

View File

@ -20,4 +20,5 @@ You can execute the following commands to regenerate the makefiles.
- bakefile_gen -d os2.bkgen
- bakefile_gen -d win32.bkgen
- bakefile_gen -d msdos.bkgen

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -112,7 +112,4 @@
# error Define the size of various data types.
#endif
/* well, supporting dynamic modules in DOS is nearly impossible */
#define QSE_ENABLE_STATIC_MODULE 1
#include <qse/conf-inf.h>

View File

@ -6534,8 +6534,24 @@ static qse_awk_mod_t* query_module (
qse_awk_mod_data_t md;
qse_awk_mod_load_t load;
qse_awk_mod_spec_t spec;
qse_char_t buf[64 + 15] = QSE_T("_qse_awk_mod_");
qse_size_t buflen;
/*qse_char_t buf[64 + 15] = QSE_T("_qse_awk_mod_");*/
qse_char_t buf[64 + 15] =
{
QSE_T('_'),
QSE_T('q'),
QSE_T('s'),
QSE_T('e'),
QSE_T('_'),
QSE_T('a'),
QSE_T('w'),
QSE_T('k'),
QSE_T('m'),
QSE_T('o'),
QSE_T('d'),
QSE_T('_')
/* the terminating null isn't needed */
};
if (segs[0].len > QSE_COUNTOF(buf) - 15)
{

View File

@ -318,7 +318,13 @@ static int custom_awk_sprintf (
static void* custom_awk_modopen (qse_awk_t* awk, const qse_awk_mod_spec_t* spec)
{
#if defined(USE_LTDL)
#if defined(QSE_ENABLE_STATIC_MODULE)
/* this won't be called at all when modules are linked into
* the main library. */
qse_awk_seterrnum (awk, QSE_AWK_ENOIMPL, QSE_NULL);
return QSE_NULL;
#elif defined(USE_LTDL)
void* h;
qse_mchar_t* modpath;
const qse_char_t* tmp[4];
@ -449,7 +455,10 @@ static void* custom_awk_modopen (qse_awk_t* awk, const qse_awk_mod_spec_t* spec)
static void custom_awk_modclose (qse_awk_t* awk, void* handle)
{
#if defined(USE_LTDL)
#if defined(QSE_ENABLE_STATIC_MODULE)
/* this won't be called at all when modules are linked into
* the main library. */
#elif defined(USE_LTDL)
lt_dlclose (handle);
#elif defined(_WIN32)
FreeLibrary ((HMODULE)handle);
@ -478,7 +487,12 @@ static void* custom_awk_modsym (qse_awk_t* awk, void* handle, const qse_char_t*
}
#endif
#if defined(USE_LTDL)
#if defined(QSE_ENABLE_STATIC_MODULE)
/* this won't be called at all when modules are linked into
* the main library. */
s = QSE_NULL;
#elif defined(USE_LTDL)
s = lt_dlsym (handle, mname);
#elif defined(_WIN32)
@ -501,7 +515,6 @@ static void* custom_awk_modsym (qse_awk_t* awk, void* handle, const qse_char_t*
#endif
return s;
}
static int add_globals (qse_awk_t* awk);

View File

@ -97,12 +97,12 @@
{ \
switch (e) \
{ \
case ENOMEM: return __SYSERRNUM__ (syserrobj, ENOMEM); \
case EINVAL: return __SYSERRNUM__ (syserrobj, EINVAL); \
case EACCES: return __SYSERRNUM__ (syserrobj, EACCES); \
case ENOENT: return __SYSERRNUM__ (syserrobj, ENOENT); \
case EEXIST: return __SYSERRNUM__ (syserrobj, EEXIST); \
default: return __SYSERRNUM__ (syserrobj, ESYSERR); \
case ENOMEM: return __SYSERRNUM__ (obj2, ENOMEM); \
case EINVAL: return __SYSERRNUM__ (obj2, EINVAL); \
case EACCES: return __SYSERRNUM__ (obj2, EACCES); \
case ENOENT: return __SYSERRNUM__ (obj2, ENOENT); \
case EEXIST: return __SYSERRNUM__ (obj2, EEXIST); \
default: return __SYSERRNUM__ (obj2, ESYSERR); \
} \
}

View File

@ -44,7 +44,7 @@ awk24_SOURCES = awk24.cpp
awk25_SOURCES = awk25.cpp
awk26_SOURCES = awk26.cpp
awk27_SOURCES = awk27.cpp
awk28_SOURCES = awk27.cpp
awk28_SOURCES = awk28.cpp
awk21_LDADD = $(CXXLIB) $(LDADD)
awk22_LDADD = $(CXXLIB) $(LDADD)

View File

@ -151,8 +151,8 @@ am__awk27_SOURCES_DIST = awk27.cpp
awk27_OBJECTS = $(am_awk27_OBJECTS)
@ENABLE_CXX_TRUE@awk27_DEPENDENCIES = $(am__DEPENDENCIES_1) \
@ENABLE_CXX_TRUE@ $(am__DEPENDENCIES_3)
am__awk28_SOURCES_DIST = awk27.cpp
@ENABLE_CXX_TRUE@am_awk28_OBJECTS = awk27.$(OBJEXT)
am__awk28_SOURCES_DIST = awk28.cpp
@ENABLE_CXX_TRUE@am_awk28_OBJECTS = awk28.$(OBJEXT)
awk28_OBJECTS = $(am_awk28_OBJECTS)
@ENABLE_CXX_TRUE@awk28_DEPENDENCIES = $(am__DEPENDENCIES_1) \
@ENABLE_CXX_TRUE@ $(am__DEPENDENCIES_3)
@ -399,7 +399,7 @@ awk15_SOURCES = awk15.c $(CMNFILES)
@ENABLE_CXX_TRUE@awk25_SOURCES = awk25.cpp
@ENABLE_CXX_TRUE@awk26_SOURCES = awk26.cpp
@ENABLE_CXX_TRUE@awk27_SOURCES = awk27.cpp
@ENABLE_CXX_TRUE@awk28_SOURCES = awk27.cpp
@ENABLE_CXX_TRUE@awk28_SOURCES = awk28.cpp
@ENABLE_CXX_TRUE@awk21_LDADD = $(CXXLIB) $(LDADD)
@ENABLE_CXX_TRUE@awk22_LDADD = $(CXXLIB) $(LDADD)
@ENABLE_CXX_TRUE@awk23_LDADD = $(CXXLIB) $(LDADD)
@ -576,6 +576,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/awk25.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/awk26.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/awk27.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/awk28.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<