' ************************************************** ' * _wsb.inc * ' * meta compiler file for GMT * ' ************************************************** #COMPILE EXE "gmt_wsb" #RESOURCE "resource\gmt_wsb.pbr" %gwr = 1 ' If declared, the code will include gmt_gwr.bas and further %gmt_wsb = 1 ' include for server application ' compiles to gmt_wsb.exe. Needs %gwr to be declared. %gmt_ftp = 1 ' includes g_ftp.bi, but requires fce32.dll to be installed under windows. ' ---------------------------------------------------------------------------------------- ' The order in which the following includes appear is very important! ' %NOMMIDS = 1 ' no Multimedia ID definitions ' %NONEWWAVE = 1 ' no new waveform types except WAVEFORMATEX are defined ' %NONEWRIFF = 1 ' no new RIFF formats are defined ' %NOJPEGDIB = 1 ' no JPEG DIB definitions ' %NONEWIC = 1 ' no new Image Compressor types are defined ' %NOBITMAP = 1 ' no extended bitmap info header definition #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 "g_har.bi" #INCLUDE "g_net.bi" ' ---------------------------- #INCLUDE "gmt.bi" ' kernel procedure declaration file #INCLUDE "g_glib.bi" ' includes Godfrieds specific DLL ' 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] 'we have to use the 8.3 dos convention for file names. #INCLUDE "..\winapi\Nidaqcns-pb.inc" '=nidaqcns-pb.inc" = constants declaration V6.8 #INCLUDE "..\winapi\Nidaqerr-pb.inc" '=nidaqerr-pb.inc" = constants for error handling procs. and msg's. #INCLUDE "g_h.bi" #INCLUDE "g_mm.bi" #INCLUDE "g_mm.inc" #INCLUDE "gmt_gwr.bi" ' contains further metacompilation instructions. #INCLUDE "gmt_gwr.inc" ' required for all compositions by Godfried-Willem Raes #IF %DEF (%Debug) #INCLUDE "gmt_debu.inc" ' specific debugging code and tasks #ENDIF #INCLUDE "g_ftp.bi" #INCLUDE "WebStrikesBack\wsb.inc" ' server application for $kompilfile = $kompil_wsb '"gmt_wsb" '[EOF]