Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SNOBOL4SETUP(3)			CSNOBOL4 Manual		       SNOBOL4SETUP(3)

NAME
       snobol4setup - SNOBOL4 Loadable module setup utility

SYNOPSIS
       snobol4 setup.sno command

DESCRIPTION
       The example program below (canonically called setup.sno)	can be invoked
       (portably across	different operating systems) with the following
       commands:

OPTIONS
       build
	   Compiles and	links a	dynamicly loadable executable file named
	   modulename (with the	appropriate extension for the local system).
	   modulename.sno will be created from pre.sno (if it exists), any
	   LOAD() present in comments and any lines starting with *=pea	and
	   ending with *=cut in	sourcefiles, and finally funcs.sno (if it
	   exists).

       install
	   installs binary, include and	man page files.

       clean
	   cleans up.

EXAMPLE
	   -INCLUDE 'setuputil.sno'
		   t = TABLE()
		   t['module'] = 'modulename'
		   t['sources']	= 'sourcefile.c,othername.c'
		   t['author'] = t['maintainer'] = 'Yourname Here'
		   t['author_email'] = t['maintainer_email'] = 'name@doma.in'
		   t['include_dirs'] = 'list,of,dirs,to,search'
		   t['library_dirs'] = 'list,of,dirs,to,search'
		   t['libraries'] = 'list,of,library,names,to,link,against'
		   t['license']	= 'BSD'
		   setup(t)
	   end

NOT CONFORMING TO
       Inspired	by Python setuptools, easyinstall, et.al.

AUTHOR
       Philip L. Budne

BUGS
       Only tested under OS X, FreeBSD,	Linux, CYGWIN, MINGW, Visual Studio.

SEE ALSO
       snobol4(1), snopea(1)

CSNOBOL4B 2.1.6			August 9, 2020		       SNOBOL4SETUP(3)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLE | NOT CONFORMING TO | AUTHOR | BUGS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=snobol4setup&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help