Changeset 1890
- Timestamp:
- Jan 30, 2020, 7:39:42 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r1878 r1890 174 174 #include "pathutil.h" // AddBackslashToPath 175 175 #include "copyf.h" // ignorereadonly 176 #if 0 177 #define __PMPRINTF__ 176 177 #ifdef PMPRINTF 178 #define _PMPRINTF_ // Enable debug macros 178 179 #include "PMPRINTF.H" 179 180 #endif -
trunk/dll/filldir.c
r1880 r1890 168 168 #include "pathutil.h" // AddBackslashToPath 169 169 #include "tmrsvcs.h" // ITIMER_DESC 170 #if 0 171 #define __PMPRINTF__ 170 171 #ifdef PMPRINTF 172 #define _PMPRINTF_ // Enable debug macros 172 173 #include "PMPRINTF.H" 173 174 #endif -
trunk/dll/flesh.c
r1882 r1890 79 79 #include "common.h" // IncrThreadUsage DecrThreadUsage 80 80 #include "pathutil.h" 81 #if 0 82 #define __PMPRINTF__ 81 82 #ifdef PMPRINTF 83 #define _PMPRINTF_ // Enable debug macros 83 84 #include "PMPRINTF.H" 84 85 #endif … … 88 89 89 90 static PSZ pszSrcFile = __FILE__; 90 91 91 92 92 static INT tidFleshWorkListThread = -1; // 2015-08-08 SHL -
trunk/dll/makefile
r1856 r1890 3 3 4 4 # Copyright (c) 1993-98 M. Kimes 5 # Copyright (c) 2002 , 2015Steven H. Levine5 # Copyright (c) 2002-2020 Steven H. Levine 6 6 7 7 # 22 May 03 SHL Correct icon dependencies … … 48 48 # 24 Feb 14 JBS Ticket #500: Suspended use of high memory by commenting out the calls to exehdr 49 49 # 13 Aug 15 SHL Add listutil 50 # 25 Jan 20 SHL Add PMPRINTF support 50 51 51 52 # Environment: see makefile_pre.mk and makefile_post.mk … … 54 55 # WARNALL - add more warnings if defined, standard warnings if not defined 55 56 # FORTIFY - enable FORTIFY heap checking if defined, omit FORITY support if not defined 57 # PMPRINTF - enable PMPRINTF support, omit PMPRINTF support if not defined 56 58 # USE_RC - use rc.exe if defined, use wrc.exe if not defined 57 59 # NOHIGHMEM - support high memory use (i.e exehdir /highmem) 60 61 # PMPRINTF support assumes PMPRINTF.H in INCLUDE path 62 # PMPRINTF support assumes PMPRINTF.LIB in LIB path 58 63 59 64 BASE = fm3dll … … 159 164 !endif 160 165 166 !ifdef PMPRINTF 167 CFLAGS += -dPMPRINTF 168 !endif 169 161 170 # for fm3res only 162 171 CFLAGSR = -bt=os2 -mf -bd -bm -olirs -s -j -we -wx -zfp -zgp -zp4 -zq … … 362 371 -del *~ 363 372 373 # eof -
trunk/dll/misc.c
r1840 r1890 122 122 #include "fortify.h" 123 123 #include "info.h" // driveflags 124 #if 0 125 #define __PMPRINTF__ 124 125 #ifdef PMPRINTF 126 #define _PMPRINTF_ // Enable debug macros 126 127 #include "PMPRINTF.H" 127 128 #endif -
trunk/dll/select.c
r1883 r1890 74 74 #include "flesh.h" 75 75 #include "treecnr.h" // fExpandAll 76 #if 0 77 #define __PMPRINTF__ 76 77 #ifdef PMPRINTF 78 #define _PMPRINTF_ // Enable debug macros 78 79 #include "PMPRINTF.H" 79 80 #endif -
trunk/dll/sortcnr.c
r1851 r1890 28 28 #include "sortcnr.h" 29 29 #include "valid.h" // TestCDates 30 #if 0 31 #define __PMPRINTF__ 30 31 #ifdef PMPRINTF 32 #define _PMPRINTF_ // Enable debug macros 32 33 #include "PMPRINTF.H" 33 34 #endif -
trunk/dll/update.c
r1876 r1890 51 51 #include "misc.h" // PostMsg 52 52 #include "fortify.h" 53 #if 0 54 #define __PMPRINTF__ 53 54 #ifdef PMPRINTF 55 #define _PMPRINTF_ // Enable debug macros 55 56 #include "PMPRINTF.H" 56 57 #endif -
trunk/dll/valid.c
r1877 r1890 696 696 } 697 697 } 698 698 else if (*argv[x] == '`' && isalpha(argv[x][1])) { 699 699 700 700 CHAR *p = &argv[x][1]; -
trunk/makefile
r1620 r1890 3 3 4 4 # Copyright (c) 1993-98 M. Kimes 5 # Copyright (c) 2002 ,2010 Steven H. Levine5 # Copyright (c) 2002-2010 Steven H. Levine 6 6 7 7 # 24 May 05 SHL Add clean and cleanobj target … … 32 32 # 04 Jul 11 GKY Add eFTE backup files (*~) to clean target 33 33 # 13 Aug 11 GKY Build xqs and sym files as part of dll and all targets 34 # 25 Jan 20 SHL Add PMPRINTF support - PMPRINTF_OPT 34 35 35 36 # Environment - see makefile_pre.mk and dll\makefile … … 72 73 dll: .symbolic 73 74 cd dll 74 $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) 75 $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) 75 76 cd .. 76 77 77 78 dllsyms: .symbolic 78 79 cd dll 79 $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) syms80 $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) syms 80 81 cd .. 81 82 … … 89 90 90 91 allexe: *.mak .symbolic 91 @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) 92 @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) 92 93 93 94 # make SYM files 94 95 95 96 exesyms: *.mak .symbolic 96 @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) sym97 @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) sym 97 98 98 99 # make WPI files … … 109 110 lxliteexe: *.mak .symbolic 110 111 !ifndef DEBUG 111 @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) lxlite112 @for %f in ($<) do $(MAKE) -h -f %f $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) lxlite 112 113 !endif 113 114 … … 117 118 cd dll 118 119 $(MAKE) -h lxlite 119 # $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) lxlite 120 # FIXME to be gone 121 # $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) $(PMPRINTF_OPT) lxlite 120 122 cd .. 121 123 !endif … … 147 149 !include makefile_post.mk 148 150 149 # The end151 # eof -
trunk/makefile_post.mk
r1730 r1890 2 2 # $Id$ 3 3 4 # Copyright (c) 2002 , 2012Steven H. Levine4 # Copyright (c) 2002-2020 Steven H. Levine 5 5 6 6 # 16 Aug 05 SHL Clean up … … 18 18 # 25 Jan 12 SHL Renamae LOW -> NOHIGHMEM and allow set from enviroment 19 19 # 17 Jan 14 JBS Ticket 500: Stop setting exe objects to high-memory 20 # 25 Jan 20 SHL Comments 20 21 21 22 !ifndef MAKERES … … 24 25 # Common parameters go in .lrf 25 26 # Executable specific paramters go in .def 26 # Put 32-bit data in high memory tunless overridden27 # Put 32-bit data in high memory unless overridden 27 28 28 29 !ifndef NOHIGHMEM -
trunk/makefile_pre.mk
r1661 r1890 3 3 4 4 # Copyright (c) 1993-98 M. Kimes 5 # Copyright (c) 2002 , 2012Steven H. Levine5 # Copyright (c) 2002-2020 Steven H. Levine 6 6 7 7 # 03 Jan 08 SHL Switch to wrc.exe default; support USE_RC from environment … … 15 15 # 07 Jan 11 SHL sort map 16 16 # 25 Jan 12 SHL Comments 17 # 14 Aug 15 SHL Test hll debug - FIXME to be gone 18 # 25 Jan 20 SHL Add PMPRINTF support - PMPRINTF_OPT CFLAGS 17 19 18 20 # Environment: see dll\makefile … … 61 63 !endif 62 64 65 !ifdef PMPRINTF # if defined on wmake command line 66 PMPRINTF_OPT = PMPRINTF=$(PMPRINTF) # set in case needed by sub-make 67 !else 68 !ifdef %PMPRINTF # if defined in environment 69 PMPRINTF = $(%PMPRINTF) # use value from environment 70 PMPRINTF_OPT = PMPRINTF=$(PMPRINTF) # set in case needed by sub-make 71 !endif 72 !endif 73 63 74 SYMS = $(BASE).sym # target for building SYM files 64 75 … … 94 105 95 106 # We always compile with debug info to avoid needing a full rebuild just to debug 107 # 2015-08-14 SHL HLL debug testing 108 # CFLAGS = -bt=os2 -mf -bm -d2 -olirs -s -j -wx -zfp -zgp -zp4 -zq -hc 96 109 CFLAGS = -bt=os2 -mf -bm -d2 -olirs -s -j -wx -zfp -zgp -zp4 -zq -hd 97 110 … … 106 119 !endif 107 120 121 !ifdef PMPRINTF 122 CFLAGS += -dPMPRINTF 123 !endif 124 108 125 LFLAGS = sys os2v2_pm op quiet op verbose op cache op caseexact op map sort global 109 126 !ifdef DEBUG 110 127 CFLAGS += -d$DEBUG_OPT 128 # 2015-08-14 SHL HLL debug testing 129 # LFLAGS += debug hll all 111 130 LFLAGS += debug dwarf all 112 131 !endif … … 144 163 $(CC) $(CFLAGS) $*.c 145 164 146 # The end165 # eof
Note:
See TracChangeset
for help on using the changeset viewer.