]> git.8kb.co.uk Git - dataflex/df32func/blob - src/df32/df32func.mk
Just pushing the latest copy of my development / staging DataFlex stuff into git...
[dataflex/df32func] / src / df32 / df32func.mk
1 //-------------------------------------------------------------------------\r
2 // df32func.mk\r
3 //              Primary source file for DateFlex 3.2 Console Mode "df32func" extentions\r
4 //\r
5 // This is the file to be compiled by the dfcomp command\r
6 //\r
7 // Copyright (c) 2006-2015, glyn@8kb.co.uk\r
8 // \r
9 // df32func/df32func.mk\r
10 //-------------------------------------------------------------------------\r
11 //#NOISY 99\r
12 //#NOISY 1\r
13 \r
14 #REM ----------------------------------------------------------------------\r
15 #REM Compiling df32func.inc\r
16 #REM If precompiling ensure df32func.flp is with your \r
17 #REM bytecode and df32func.pki is with your packages\r
18 #REM ----------------------------------------------------------------------\r
19 \r
20 //-------------------------------------------------------------------------\r
21 // Set dataflex epoch and set date format to 4 digit years\r
22 //-------------------------------------------------------------------------\r
23 \r
24 set_date_attribute date4_state                  to dftrue\r
25 set_date_attribute epoch_value                  to 80\r
26 set_date_attribute sysdate4_state               to dftrue\r
27 \r
28 //-------------------------------------------------------------------------\r
29 // Standard DF32 Console Mode packages \r
30 //-------------------------------------------------------------------------\r
31 \r
32 Use CASE                                        //this package allows the use of switch statements in DataFlex\r
33 Use UI                                          //this package contains all the user interface / data classes for OO DataFlex\r
34 Use MONARRAY                                    //this package allows the easy monitoring of an array\r
35 Use TIMER                                       //this package allows the use of timers to control events\r
36 Use DLL                                         //this package allows import of dynamic link libraries, N.B. It contains fake\r
37                                                 //WORD and BYTE types that are incorrect for use in C struct types\r
38 //-------------------------------------------------------------------------\r
39 // Defines used to control some compile time behaviour\r
40 //-------------------------------------------------------------------------\r
41 \r
42 //Define ENABLE_DFASSERT\r
43 \r
44 Define NO_BACKSLASH_QUOTE\r
45 \r
46 #IFDEF DEFAULT_FILE_CHANNEL\r
47 #ELSE\r
48     Define DEFAULT_FILE_CHANNEL                                         for 9\r
49 #ENDIF\r
50 \r
51 #IFDEF MAX_DFREGEX_BUFFER\r
52 #ELSE\r
53     Define MAX_DFREGEX_BUFFER                                           for 16384\r
54 #ENDIF\r
55 \r
56 #IFDEF ERRORS_TO_STDERR\r
57 #ELSE\r
58     Define ERRORS_TO_STDERR                                                     for 0\r
59 #ENDIF\r
60 \r
61 \r
62 //-------------------------------------------------------------------------\r
63 // Global variables used to control some runtime behaviour\r
64 //-------------------------------------------------------------------------\r
65 \r
66 // Turn on any debug lines at runtime\r
67 indicator show_debug_lines\r
68 \r
69 //Used by set msxsl function (string.inc) - set to true to keep msxsl binary in one particular place\r
70 indicator g_bMsxslPresent                       \r
71 string g_sMsxslEngine\r
72 \r
73 //used by runtime (date.inc)\r
74 integer g_nRuntime_entry \r
75 \r
76 //used by replacement GET_FILE_MOD_TIME command (depmacro.inc)                     \r
77 string  g_sGetfileModTime\r
78 \r
79 indicate g_bMsxslPresent false                  \r
80 move "c:\msxsl.exe" to g_sMsxslEngine\r
81 move 0 to g_nRuntime_entry\r
82 indicate show_debug_lines false\r
83 \r
84 \r
85 //-------------------------------------------------------------------------\r
86 // Include main content\r
87 //-------------------------------------------------------------------------\r
88 \r
89 //Including header file win32.h\r
90 #INCLUDE win32.h\r
91 //Including include file df32func.h\r
92 #INCLUDE df32func.h\r
93 //Including include file console.h\r
94 #INCLUDE console.h\r
95 //Including include file encode.h\r
96 #INCLUDE encode.h\r
97 //Including include file errors.h\r
98 #INCLUDE errors.h\r
99 //Including include file macro.inc\r
100 #INCLUDE macro.inc\r
101 //Including include file math.inc\r
102 #INCLUDE math.inc\r
103 //Including include file tap.inc\r
104 #INCLUDE tap.inc\r
105 //Including include file regex.inc\r
106 #INCLUDE regex.inc\r
107 //Including include file win32.inc\r
108 #INCLUDE win32.inc\r
109 //Including include file string.inc\r
110 #INCLUDE string.inc\r
111 //Including include file date.inc\r
112 #INCLUDE date.inc\r
113 //Including include file console.inc\r
114 #INCLUDE hash.inc\r
115 //Including include file data.inc\r
116 #INCLUDE data.inc\r
117 //Including include file depmacro.inc\r
118 #INCLUDE console.inc\r
119 //Including include file hash.inc\r
120 #INCLUDE depmacro.inc\r
121 //Including include file tstamp.inc\r
122 #INCLUDE tstamp.inc\r
123 //Including include file encode.inc\r
124 #INCLUDE encode.inc\r