Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

Creating a New Application

A new application is created by creating a new copy of an existing application directory and naming it app (where app is the application name). The basic slisp application sl is useful as a template for creating new applications.

Within slisp/app, edit the modules file to determine which x modules are included, edit install_aux for installing any special files in the install locations, and edit the documentation in the info directory.

The documentation file is built from app/info/Makefile. The documentation consists of several files that are included in the top level, which is generally called app.texi (eg sl.texi for the basic slisp application). This file then includes intro.texi, which introduces the application, a tutorial (if present) and ref.texi which is built automatically from the included files. The reference file is begun by ref.header, which always must exist with the name ref.header, but which can be customized for the application.

The script slisp/bin/Smake is then run to configure a Makefile and auxiliary files for the application, which are saved within the application directory. This script must be run from within slisp/app, where app is the name of the application.

Once the app is configured it is built by the following:

  1. cd to slisp/app
  2. make clobber, to remove any previous versions
  3. make all, to make the application and the documentation
  4. make check, runs various test routines and writes the log in app/check.log.
  5. make install, (as root) installs the application, documentation and loaded lsp files in directories specified in the system file.

Go to the first, previous, next, last section, table of contents.