Porting BSD make to SunOS September 1999 Wolfram Schneider http://wolfram.schneider.org INTRODUCTION ---------------------------------------- BSD make (also known als pmake) is a make implementation used by many BSD based operating systems (FreeBSD, NetBSD, OpenBSD, BSD/OS) for building the complete OS. I ported pmake to SunOS 5.5.1, 5.6, and 5.7. The port based on the FreeBSD-4.0-current make version from 9th September 1999. The directory structure: bin/make make binary doc/ Pmake documentation man/ Pmake Manpage share/mk/ system makefile directory (from FreeBSD 4.0) INSTALLING: ---------------------------------------- extract the file archive in /usr/local. $ cd /usr/local $ zcat /tmp/pmake-XYZ.tgz | tar xfv - Now you are done ;-) HACKING ---------------------------------------- If you don't have write access to /usr/local, you can use also another directory, e.g. your home directory. In this case you must edit the make binary and replace the hard-wired /usr/local/share/mk filename with the new filename. I added a list of slashes '/' as placeholder for long directories. E.g. to replace /usr/local/share/mk with /home/wosch/share/mk, run this perl script: $ perl -i.bak -npe 's%///////////////////////usr/local/share/mk%//////////////////////home/wosch/share/mk%' make NOTE: make sure that you don't delete or add characters! The number of bytes must be the same as before. Otherwise, the binary will not run and dump core. -wosch