From: Mike Hopkirk(hops) <ho...@sc...> - 2000-04-21 23:55:42
|
I added Makefiles for building on osr5 and uw7 (svr5) and corresponding changes to 2 source files. Added a contrib dir, README for its contents and a wrapper script (ocs) from osd eng that supports cscope databases for a recursive directory set (and control over where database go ...) THe osr5 (and uw7) builds use flex. It will build and run with the native lex but it seems to be failing to strip out comment lines for the created database. Petr it may be workwhile to supply the original (non flexed) scanner.l file (in all its twisted glory) for those that want to use the AT&T lex to build this .... build/Makefile.osr5 Change macro for LIBS (curses and libl) Change macros for DEFLIST (define osr5 ) Add macros for lexer binary and lex flags allow possibility of both lex and flex use, default to flex parameterise flag for static build add CC description that includes -belf and allow possibility of gcc. build/Makefile.svr5 define STRERROR so uses strerror fn rather than str_errlist ditto lex/flex above common/display.c remove errno sys_errlist extern, include errno.h instead myperror() ifdef on STRERROR use of strerror instead of sys_errlist common/exec.c remove dfn pid_t - include sys/types.h new : contrib contrib/README contrib/ocs - shell wrapper for cscope hadling dir recursion etc -- - hops Everything disclaimed (including disclaimer) ------<ho...@sc...>-------------------------------------- Mike Hopkirk (hops) | Whenever possible steal code. SCO Inc | Tom Duff. (ex) Bell Labs |