This section
pertains only to users who are licensed to redistribute the Amzi! Prolog
Runtime.
In order package up your PLM files into a distributable module, you first need to create an XPL file for your application as described in the section on A4LNK.
For command-line environments like the Windows Console, Solaris or Linux, you need to create an EXE file. The simplist way to do this is to copy A4RUN.EXE to YOURPROG.EXE, where your compiled and linked Prolog module is called YOURPROG.XPL. When YOURPROG.EXE is run, it will automatically run YOURPROG.XPL. The source code for A4RUN is included in the 'source' directory. It is in file ARUN.CPP. A VC++ 4.0 make file is included as well, which is A4RUN.MAK.
To ship your program to other users, the following files are required:
Your users simply copy these files into a directory and run the program by typing its name at the operating system prompt. If that directory is in their PATH statement, they can run your application from any directory on their machine.
The following files may be distributed with your Amzi! Prolog application:
A4RUN.EXE AMZI4.DLL, AMZI4C.DLL A4J_JS10.DLL, A4J_MS10.DLL *.LSX
You may distribute the contents of the following files if they are linked into your XPL file (A4LIB.PLM is always linked in):
A4CGI.PLM, A4LIB.PLM, A4SOCK.PLM, DOS.PLM, LIST.PLM, LS4ODBC.PLM, MISC.PLM
You may distribute the following files if they are linked into your EXE file:
AMZI4.LIB, AMZI4B.LIB, AMZI4C.LIB
You may incorporate all or part of any of the sample or library files (in the SAMPLES and SOURCE subdirectories) into your applications, but you may not distribute the source code in any form (see your License Agreement for details).
You may not
distribute any other files not explicitly listed here without the prior
written authorization of Amzi! inc. This includes, but is not limited to
the system software files, A4BLD.EXE, A4LIS.EXE, A4LIS.XPL, A4CMP.EXE,
A4CMP.XPL, A4IDEA.EXE, A4IDEW.EXE, A4IDL.XPL, A4LNK.EXE, A4LNK.DLL, A4PKG.EXE,
and source code for files that support the development of Logic Server
applications, such as AMZI4.H, AMZI4.BAS, and AMZI4.PAS.
Copyright ©1987-1997 Amzi! inc. All Rights Reserved.