#ifndef _dip_def_
#define _dip_def_
KCOM toolbox.def
KCOM toolbox configuration file for toolbox "dip"

/*
 * #include <TOOLBOX>_INCLUDE - specify toolboxes this toolbox depends on.
 *
 * The following list are the toolboxes that the dip toolbox
 * directly depends on.  The order of this list is important, because it
 * tells the imake system the order for include and library paths.
 *
 * For example:
 *
 * #include BOOTSTRAP_INCLUDE












 * 
 * includes the bootstrap toolbox.
 */

/* -toolbox_include_toolboxes */
#include DESIGN_INCLUDE
/* -toolbox_include_toolboxes_end */

/*
 * TOOLBOX_INCLUDE - extend search path for include files
 *
 * The +<= variable syntax prepends the toolbox include path to the variable
 * TOOLBOX_INCLUDE.  If TOOLBOX_INCLUDE was previously undefined, it will
 * just set it to the -I path below.  This is necessary so that the toolbox
 * include directory is included in the compile commands.
 */

/* -toolbox_include_path */
TOOLBOX_INCLUDE +<= -I$(DIP_PATH)/include
/* -toolbox_include_path_end */


/*
 * TOOLBOX_LIBDIR - extend search path for libraries
 *
 * The +<= variable syntax prepends the toolbox library path to the variable
 * TOOLBOX_LIBDIR.  If TOOLBOX_LIBDIR was previously undefined, it will
 * just set it to the -L path below.  This is necessary so that the toolbox
 * library directory is included in the link command.
 */

/* -toolbox_library_path */
TOOLBOX_LIBDIR +<= -L$(DIP_LIBDIR)
/* -toolbox_library_path_end */


/*
 * TOOLBOX_DEFINES - optional symbols for additional preprocessor definitions
 *
 * The +<= variable syntax prepends the toolbox defines to the variable
 * TOOLBOX_DEFINES.  If TOOLBOX_DEFINES was previously undefined, it will
 * just set it to the value below.  This is necessary so that the toolbox
 * defines is included in the compile and link commands.
 */

/* -toolbox_cpp_defines */
TOOLBOX_DEFINES +<= /**/
/* -toolbox_cpp_defines_end */


/*
 * Addlibrary(lname, type) - macro to add library to load line for toolbox
 *
 * The following list are the libraries that the dip toolbox
 * depends on.  This list must be in reverse order.  The AddLibrary macro
 * takes two parameters.  The first is the library archive name, and the
 * second is one of C, FOR, or X.  Note, different library types will
 * automatically be ordered correctly.
 *
 * For example, suppose this toolbox has three libraries: two C libraries named
 * libfred.a and libwilma.a and one X library named libxdino.a.  If the fred
 * library depends on the wilma library, then you would use following
 * AddLibrary lines:
 *
 * AddLibrary(wilma, C, $(DIP_LIBDIR))
 * AddLibrary(fred, C, $(DIP_LIBDIR))
 * AddLibrary(xdino, X, $(DIP_LIBDIR))
 *
 * Note, the placement of xdino could have been anywhere, because it is
 * of a different type than fred and wilma.
 */

/* -toolbox_libraries */
/* -toolbox_libraries_end */


/*
 * BINDIR - where to install binaries
 * LIBDIR - where to install libraries
 * KLD_RUN_PATH - used on systems with shared libraries to define the
 *                path to the directory where the libraries are.
 *
 * Define the directories where the program binaries will be installed and
 * where the library archive files will be installed.
 */

BINDIR = $(DIP_BINDIR)
LIBDIR = $(DIP_LIBDIR)
KLD_RUN_PATH +<:= $(DIP_LIBDIR)


#endif /* _dip_def_ */
/* Don't add after this point */
