This is the first working atempt to make a recent SCCS source portable. SCCS is the most mature Revision Control System. This source is: - Based on the original SCCS project that started in 1972 at Bell Labs. - Including all Sun / Solaris extensions. - Large file aware - Allowing to selectively disable/enable expansion of specific SCCS keywords (like %I%, %Q%, ...). - Correctly dealing with lockfiles even in a NFS based multi machine environment. - Using gettext() for internationalized texts. - Completely using a type clean set of function prototypes and external variable definitions. - Ported to and tested on all major OS platforms. To compile, just run "smake" (or Sun make or GNU make). The binaries install to /usr/ccs/bin & /usr/xpg4/bin 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 smake INS_BASE=/usr/sccs install The binaries then are located in /usr/sccs/ccs/bin and /usr/sccs/xpg4/bin Note that you need to at least recompile sccs.c, delta.c, help.c and help2.c in case that you like to change the install directory. The other programs need to be recompiled too, in order to allow them to find their international string translation files. find . ( -name sccs.o -o -name delta.o -o -name help.o -o -name help2.o ) -exec rm {} + smake INS_BASE=/usr/sccs smake INS_BASE=/usr/sccs install or: rm cmd/sccs/cmd/*/OBJ/*/*.o smake INS_BASE=/usr/sccs smake INS_BASE=/usr/sccs install NOTE: If you are compiling using a K&R C-compiler and like to install to a different dir than /usr/ccs, you need to edit all *.c files in the directory cmd/sccs/cmd/src. Look for the comments tagged XXX for further help and edit all strings in the #else parts of #ifdef PROTOTYPES. Replace the "/usr" prefix with your intended install path. 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. If your PATH includes: ${INS_BASE}/xpg4/bin:${INS_BASE}/ccs/bin you will use the POSIX compliant variants of the SCCS tools.