' ************************************************** ' * _zerhack.inc * ' * meta compiler file for GMT * ' ************************************************** ' compile under pbdll 6.1 ' Metaconstants used as compiler directives: ' The value we give to these constants is unimportant. ' The fact of being declared, steers the compiler. ' We set the values to 1 (not %True, since at this point in the code, ' this declaration fails), to be able to compare them with %True. #COMPILE EXE "zerhacker" #RESOURCE "resource\gmt_zerhacker.pbr" ' metacompilation file for %gwr = 1 ' If declared, the code will include gmt_gwr.bas and further ' compiler instructions included therein. [need g_glib.dll] '%NiDAQ = 1 ' should only be set to true for computers that do have this hardware! ' (National Instruments data acquisition cards + NiDAQ 6.81 library). '%Debug = 1 %zerhacker = 1 ' ---------------------------------------------------------------------------------------- ' The order in which the following includes appear is very important! ' Do not change unless you understand what you are doing. Keep all filenames lowercase. ' Includes for sourcecode libraries: #INCLUDE "..\winapi\g_win.inc" ' Next we declare all our own constants, using an include file: #INCLUDE "g_kons.bi" ' only integer and string constants can be declared in PB #INCLUDE "g_type.bi" ' This declares all our own structures, user defined types #INCLUDE "gmt_glob.bi" ' This declares all variables shared across modules ' must appear after win32api: we use Win32 types as globals #INCLUDE "g_indep.bi" ' includes context independent functions and procedures. Source is in g_indep.bas #INCLUDE "g_file.bi" #INCLUDE "g_lib.bi" ' loads the library DLL, by including its declarations. ' g_lib.bas should be compiled with the PB-DLL compiler, ' as it contains all source code and resources. #INCLUDE "g_mus.bi" ' music library #INCLUDE "gmt.bi" ' kernel procedure declaration file #INCLUDE "g_glib.bi" ' includes Godfrieds specific DLL $kompilfile = $kompil_zerhacker '"zerhacker" ' following includes only for NiDAQ devices. However, even without having NiDAQ devices on your system it should be ' harmless to include these declarations. (if alone, to avoid double definitions...) [26.09.2000] #INCLUDE "..\winapi\Nidaqcns-pb.inc" #INCLUDE "..\winapi\Nidaqerr-pb.inc" #INCLUDE "g_h.bi" #INCLUDE "gmt_gwr.bi" ' contains further metacompilation instructions. #IF %DEF (%Debug) #INCLUDE "gmt_debu.inc" ' specific debugging/ demo code and tasks #ENDIF #IF %DEF (%zerhacker) #INCLUDE "zerhacker\zerhacker.inc" ' #ENDIF #INCLUDE "gmt_gwr.inc" ' required for all compositions by Godfried-Willem Raes '[EOF]