ftp.nice.ch/Attic/openStep/developer/resources/IconKit.4.2.1.sd.tgz#/IconKit.4.2.1/Good_Old_Stuff/2--Installation.rtf

This is 2--Installation.rtf in view mode; [Download] [Up]

Installation

Release 1.2, June 7th, 1994
©1994 by H. Scott Roy




Installation is controlled by the makefiles in the Classes/ subdirectory.  You can work directly from a Terminal window, or else you can use ProjectBuilder by opening Classes/PB.project.  Using ProjectBuilder will give you a quick understanding of the layout of IconKit, as well as making it easier to compile MAB versions of the library and palette.

Either type make in the Terminal window or build the <Default> target in ProjectBuilder to create the IconKit library and palette.  If you're using ProjectBuilder, be sure to build <Default> instead of palette, or else you'll only create the palette and not the library.  At this point you can try out the FileViewer and Widgets examples.  The FileViewer makefiles are configured to look in the Classes/ subdirectory for headers and libraries, so you shouldn't need to move anything.

If you decide you want to use IconKit with your own applications you should do a make install.  Doing so will delete any prior versions of IconKit that might exist, so you should be sure to save any files you don't want erased.  The complete installation consists of seven things:

An InterfaceBuilder palette:	/LocalDeveloper/Palettes/IconKit.palette
A library archive:	/usr/local/lib/libIconKit.a
Header files:	/usr/local/include/iconkit/*
Images:	/usr/local/lib/iconkit/*
Documentation:	/LocalLibrary/Documentation/IconKit/*
Examples:	/LocalDeveloper/Examples/IconKit/*
IconKit source files:	/LocalDeveloper/Source/IconKit/*

You can customize the installation locations by editing Classes/Makefile.preamble, and you can undo the installation by doing a make uninstall.

The HeaderViewer application provides a convenient way to browse the documentation.  After installation, you should add iconkit.p to the list of targets in HeaderViewer and add the IconKit documentation directory to the list of directories to search.  The online help for HeaderViewer contains full instructions.

A small disclaimer: the images that IconKit uses are all taken from the ones that NeXT provides in the NEXTSTEP operating system.  I can't imagine there are any problems distributing them, since anyone using IconKit will already have access to them, but I'll double check on that for a future release.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.