sj3/sj3.tmpl
Masanori Ogino 381c676eda Import patches from pkgsrc
* Adjust paths to modern conventions.
* Avoid opening /dev/console.
* Consistently provide lowercase and MixedCase options.
* Don't abuse an int as a pointer (optarg).
* Fix compilation errors on NetBSD and DragonFly BSD.
* Fix documentation.
* Import headers and remove redundant declarations.

Signed-off-by: Masanori Ogino <mogino@acm.org>
2023-11-27 11:14:37 +09:00

66 lines
2 KiB
Go Template

/*
* Copyright (c) 1997 Sony Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL SONY CORPORATION BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of Sony Corporation
* shall not be used in advertising or otherwise to promote the sale, use
* or other dealings in this Software without prior written authorization
* from Sony Corporation.
*/
/*
* $SonyRCSfile: sj3.tmpl,v $
* $SonyRevision: 1.1 $
* $SonyDate: 1997/01/23 11:20:57 $
*/
SJ3TOP = $(PREFIX)
SJ3BINDIR = $(SJ3TOP)/bin
SJ3HDRDIR = $(SJ3TOP)/include
SJ3LIBDIR = $(SJ3TOP)/lib
SJ3CONFDIR = $(SJ3TOP)/share/sj3
SJ3DICTDIR = $(IMDICTDIR)/sj3
/*
* Change for FreeBSD.
* Because When the LANG variable is EUC, setlocale function in library libc
* return NULL, use it in library libxpg4
* Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10
*/
#if 0
#if defined(FreeBSDArchitecture)
CODE_LIBS = -lxpg4
SJ3OWNER = bin
SJ3GROUP = bin
#else
SJ3OWNER = root
#if SystemV4 || SystemV
USETLI = -DTLI
SJ3GROUP = bin
#else
SJ3GROUP = staff
#endif
#endif
#endif