home *** CD-ROM | disk | FTP | other *** search
- /*--------------------------------------------------------------------------*/
- /*- FILE PSKELTON.CNF: Skeleton PREPCOMP configuration file. -*/
- /*--------------------------------------------------------------------------*/
- /*--------------------------------------------------------------------------*/
- /*- -*/
- /*- PREPCOMP configuration file for: <program_name>. -*/
- /*- -*/
- /*- NOTE: You can copy this file to your own name (e.g., prog.cnf), -*/
- /*- and modify it to suit your needs: -*/
- /*- Change OUTPUT_PATH to your desired output path; -*/
- /*- Change SOURCE_DIR to your source file directory(ies); -*/
- /*- Fill in the source files for your program in the source_file -*/
- /*- fact; -*/
- /*- Delete or modify the remaining configuration facts. -*/
- /*- -*/
- /*- (For a sample configuration file, see PSAMPLE.CNF) -*/
- /*- -*/
- /*--------------------------------------------------------------------------*/
-
- /*--------------------------------------------------------------------------*/
- /*- SECTION A -*/
- /*- REQUIRED FACTS: -*/
- /*--------------------------------------------------------------------------*/
-
- /*- OUTPUT PATH FOR .HDR AND .BAT FILES CREATED: -*/
- /*- (This is where your source files will be copied, -*/
- /*- with the .HDR files prepended. None of your -*/
- /*- source files can be here:) -*/
-
- output_path($C:\work\specs\comp$).
-
- /*- SOURCE FILES: -*/
- /*- These are the source files for the program. -*/
- /*- They must be in a different subdirectory from that -*/
- /*- specified by output_path. If they aren't, PREPCOMP.EXE -*/
- /*- will give an error message and terminate. -*/
- /*- They don't all have to be in the same subdirectory. -*/
- /*- -*/
- /*- NOTE: You can use wildcards (e.g., *.ARI) to specify source files, -*/
- /*- but it's safer not to. -*/
-
- source_files([
- $C:\work\specs\SPECS.ARI$ ,
- $C:\work\specs\LIB.ARI$ ,
- $C:\work\specs\arity5.ARI$ ,
- $C:\work\specs\newTRACE.ARI$ ,
- $C:\work\specs\BACK.ARI$ ,
- $C:\work\specs\STUBS.ARI$ ,
- $C:\work\specs\FRAME.ARI$ ,
- $C:\work\specs\FILEMOD.ARI$ ,
- $C:\work\specs\NEXT_TOK.ARI$ ,
- $C:\work\specs\spechelp.ARI$
- ]).
- /*--------------------------------------------------------------------------*/
- /*- SECTION B -*/
- /*- OPTIONAL FACTS: (DEFAULT VALUES ARE USED FOR FACTS NOT HERE): -*/
- /*--------------------------------------------------------------------------*/
-
- /*- (More documentation upcoming). -*/
-
- /*- Defaults to: $ARICOPY.BAT$ -*/
- copy_batch_file_name($spec_cpy.BAT$).
-
- /*- Defaults to: $ARICOMP.BAT$ -*/
- comp_batch_file_name($spec_cmp.BAT$).
-
- /*- Defaults to: $ARILINK.BAT$ -*/
- link_batch_file_name($spec_lnk.BAT$).
-
- /*- Defaults to: $ARILINK.LNK$ -*/
- link_response_file_name($spec_.LNK$).
-
- /*- Defaults to: $APC$ -*/
- arity_compiler($C:\arity51\APC$).
-
- /*- Defaults to: $$ -*/
- arity_code_path($C:\arity51$).
-
- /*- Defaults to: $$ -*/
- arity_lib_path($C:\arity51$).
-
- /*- The file name to used for visible declarations needed because of -*/
- /*- resource files or calls to send_dialog_msg: -*/
-
- /* Defaults to CTRLVIS.ARI: */
- ctrl_vis_file_name($ctrlvis.ari$).
-
- /*--------------------------------------------------------------------------*/
- /*- SECTION C -*/
- /*- OPTIONAL FACTS: (ASSUMED NOT TO APPLY, IF NOT SPECIFIED HERE): -*/
- /*--------------------------------------------------------------------------*/
-
- /*- LOG FILE -*/
- /*- (Always recommended that you have one.) -*/
-
- log_file($C:\work\specs\comp.LOG$).
-
- /*- MAKE ALL BATCH FILE -*/
- /*- So you can just type 'go' and have your program copied, compiled, -*/
- /*- and linked. -*/
-
- makeall_batch_file_name($C:\work\specs\go.BAT$).
-
- /*- LIST OF SEGMENTS -*/
- /*- -*/
- /*- The 'segments' fact has a list as its single argument. -*/
- /*- -*/
- /*- The list has elements which each are of the form: -*/
- /*- -*/
- /*- segment_name : [$SourceFile1$, $SourceFile2$, ... $SourceFileN$] -*/
- /*- -*/
- /*- (Remember that segment_name must be a Prolog atom.) -*/
- /*- -*/
- /*- If you want to segment your program, list each segment name, -*/
- /*- followed by a colon, then the list of source files that -*/
- /*- are in that segment. You don't have to list files that are in -*/
- /*- the default segment (whose name is code.) -*/
- /*- -*/
- /*- NOTE: Don't use more than one 'segments' fact! -*/
-
- segments([ % code : [
- % $C:\work\specs\SPECS.ARI$ ,
- % $C:\work\specs\newTRACE.ARI$ ,
- % $C:\work\specs\BACK.ARI$ ,
- % $C:\work\specs\STUBS.ARI$
- % ],
- libseg : [
- $C:\work\specs\LIB.ARI$ ,
- $C:\work\specs\arity5.ARI$ ,
- $C:\work\specs\FRAME.ARI$ ,
- $C:\work\specs\FILEMOD.ARI$ ,
- $C:\work\specs\NEXT_TOK.ARI$ ,
- $C:\work\specs\spechelp.ARI$
- ]
- ]).
-
- /*- INTERPRETED SOURCE FILES: -*/
- /*- These are source files your program will consult at runtime. -*/
- /*- They must be in a different subdirectory from that -*/
- /*- specified by output_path. If they aren't, PREPCOMP.EXE -*/
- /*- will give an error message and terminate. -*/
- /*- -*/
- /*- (More documentation upcoming). -*/
- /*- NOTE: You can use wildcards (e.g., *.ARI) to specify source files, -*/
- /*- but it's safer not to. -*/
-
- interp_source_files([
- $c:\work\specs\specs.cfg$
- ]).
-
- /*- RESOURCE FILES: -*/
- /*- These are resource files your program will consult at runtime. -*/
- /*- They have the control definitions for dialog boxes. -*/
- /*- They must be in a different subdirectory from that -*/
- /*- specified by output_path. If they aren't, PREPCOMP.EXE -*/
- /*- will give an error message and terminate. -*/
- /*- -*/
- /*- (More documentation upcoming). -*/
- /*- NOTE: You can use wildcards (e.g., *.ARI) to specify source files, -*/
- /*- but it's safer not to. -*/
- /*
- resource_files([$C:SOURCE_DIR\file1.ari$,
- $C:SOURCE_DIR\file2.ari$
- ]).
-
- default_invis_dec_file_name($file.ext$).
- */
- /*--------------------------------------------------------------------------*/
- /*- END OF FILE -*/
- /*--------------------------------------------------------------------------*/
-