This is the first atempt to make a recent SCCS source portable. To compile, just run "smake". The binaries install to /usr/ccs & /usr/xpg4 If you like to install SCCS to a different directory, you need to do the following: If you like to install to e.g. /usr/sccs, call: smake INS_BASE=/usr/sccs 'COPTX=-DXPROGPATH=\"/usr/sccs\"' Note that you need to at least recompile sccs.c in case that you like to change the install directory. find . -name sccs.o -exec rm {} + smake INS_BASE=/usr/sccs 'COPTX=-DXPROGPATH=\"/usr/sccs\"' smake INS_BASE=/usr/sccs 'COPTX=-DXPROGPATH=\"/usr/sccs\"' install If you like to "install" to a different intermediate directory, call e.g.: smake install DESTDIR=/tmp If you like to use sccs, you need to add /usr/ccs/bin to your PATH.