Changeset 1897


Ignore:
Timestamp:
Aug 14, 2022, 9:14:53 PM (3 years ago)
Author:
Gregg Young
Message:

Add FM4_NOWARN_DSPACE this is to quiet FM/4 by skipping disk space check; used for AN main frame backup solution

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1891 r1897  
    853853    pTmpDir = xstrdup(pFM2SaveDirectory, pszSrcFile, __LINE__);
    854854  // Check free space on TMP and FM2 Save drives
     855#ifdef  FM4_NOWARN_DSPACE //Quiet FM/4 for AN main frame backup solution
     856  if (strcmp(appname, "FM/4"))
     857#endif
    855858  {
    856859    if (pTmpDir && CheckDriveSpaceAvail(pTmpDir, ullTmpSpaceNeeded, 0) == 1) {
  • trunk/dll/makefile

    r1890 r1897  
    105105!endif
    106106
     107!ifdef %FM4_NOWARN_DSPACE                   # if defined in environment
     108FM4_NOWARN_DSPACE = $(%FM4_NOWARN_DSPACE)   # use value from environment
     109!endif
     110
    107111# Keep this code in sync with makefile_post.mk
    108112!ifndef NOHIGHMEM
     
    168172!endif
    169173
     174!ifdef FM4_NOWARN_DSPACE
     175CFLAGS += -dFM4_NOWARN_DSPACE
     176!endif
     177
    170178# for fm3res only
    171179CFLAGSR = -bt=os2 -mf -bd -bm         -olirs -s     -j -we -wx -zfp -zgp -zp4 -zq
  • trunk/makefile

    r1890 r1897  
    3333# 13 Aug 11 GKY Build xqs and sym files as part of dll and all targets
    3434# 25 Jan 20 SHL Add PMPRINTF support - PMPRINTF_OPT
     35# 06 Aug 22 GKY Add FM4_NOWARN_DSPACE - FM4_NOWARN_DSPACE_OPT
    3536
    3637# Environment - see makefile_pre.mk and dll\makefile
     
    7374dll: .symbolic
    7475  cd dll
    75   $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT)
     76  $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) $(FM4_NOWARN_DSPACE)
    7677  cd ..
    7778
    7879dllsyms: .symbolic
    7980  cd dll
    80   $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) syms
     81  $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) $(FM4_NOWARN_DSPACE) syms
    8182  cd ..
    8283
     
    9091
    9192allexe: *.mak .symbolic
    92   @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT)
     93  @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) $(FM4_NOWARN_DSPACE)
    9394
    9495# make SYM files
    9596
    9697exesyms: *.mak .symbolic
    97   @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) sym
     98  @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) $(FM4_NOWARN_DSPACE) sym
    9899
    99100# make WPI files
     
    110111lxliteexe: *.mak .symbolic
    111112!ifndef DEBUG
    112   @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) lxlite
     113  @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) $(FM4_NOWARN_DSPACE) lxlite
    113114!endif
    114115
     
    119120  $(MAKE) -h lxlite
    120121# FIXME to be gone
    121 # $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) lxlite
     122# $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) $(FM4_NOWARN_DSPACE) lxlite
    122123  cd ..
    123124!endif
  • trunk/makefile_pre.mk

    r1890 r1897  
    1717# 14 Aug 15 SHL Test hll debug - FIXME to be gone
    1818# 25 Jan 20 SHL Add PMPRINTF support - PMPRINTF_OPT CFLAGS
     19# 06 Aug 22 GKY Add FM4_NOWARN_DSPACE
    1920
    2021# Environment: see dll\makefile
     
    6970PMPRINTF = $(%PMPRINTF)                 # use value from environment
    7071PMPRINTF_OPT = PMPRINTF=$(PMPRINTF)     # set in case needed by sub-make
     72!endif
     73!endif
     74
     75!ifdef FM4_NOWARN_DSPACE                                        # if defined on wmake command line
     76FM4_NOWARN_DSPACE_OPT = FM4_NOWARN_DSPACE=$(FM4_NOWARN_DSPACE)  # set in case needed by sub-make
     77!else
     78!ifdef %FM4_NOWARN_DSPACE
     79FM4_NOWARN_DSPACE = $(%FM4_NOWARN_DSPACE)                       # use value from environment
     80FM4_NOWARN_DSPACE_OPT = FM4_NOWARN_DSPACE=$(FM4_NOWARN_DSPACE)  # set in case needed by sub-make
    7181!endif
    7282!endif
Note: See TracChangeset for help on using the changeset viewer.