* scm/Makefile.am:
+ Deprecated siteinfo.scm. + Distribute .scm files in /usr/share/elk. git-svn-id: svn://svn.zoy.org/elk/trunk@31 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
3dfe34b363
commit
67e7e23f48
|
@ -0,0 +1,27 @@
|
|||
NULL =
|
||||
pkgdata_DATA = \
|
||||
apropos.scm \
|
||||
bitstring.scm \
|
||||
cscheme.scm \
|
||||
debug.scm \
|
||||
describe.scm \
|
||||
gdbmtest.scm \
|
||||
initscheme.scm \
|
||||
motif.scm \
|
||||
oops.scm \
|
||||
parse.scm \
|
||||
pp.scm \
|
||||
qsort.scm \
|
||||
record.scm \
|
||||
recordutil.scm \
|
||||
regexp.scm \
|
||||
safe-env.scm \
|
||||
setf.scm \
|
||||
struct.scm \
|
||||
toplevel.scm \
|
||||
trace.scm \
|
||||
unix.scm \
|
||||
xlib.scm \
|
||||
xt.scm \
|
||||
xwidgets.scm \
|
||||
$(NULL)
|
66
scm/build
66
scm/build
|
@ -1,66 +0,0 @@
|
|||
. ../config/system
|
||||
. ../config/site
|
||||
|
||||
echo Building Makefile.local...
|
||||
cat >Makefile.local <<EOT
|
||||
# This Makefile was produced by running ./build in this directory.
|
||||
|
||||
SHELL=/bin/sh
|
||||
|
||||
FILES= apropos.scm\\
|
||||
bitstring.scm\\
|
||||
cscheme.scm\\
|
||||
debug.scm\\
|
||||
describe.scm\\
|
||||
gdbmtest.scm\\
|
||||
initscheme.scm\\
|
||||
motif.scm\\
|
||||
oops.scm\\
|
||||
parse.scm\\
|
||||
pp.scm\\
|
||||
qsort.scm\\
|
||||
record.scm\\
|
||||
recordutil.scm\\
|
||||
regexp.scm\\
|
||||
safe-env.scm\\
|
||||
setf.scm\\
|
||||
siteinfo.scm\\
|
||||
struct.scm\\
|
||||
toplevel.scm\\
|
||||
trace.scm\\
|
||||
unix.scm\\
|
||||
xlib.scm\\
|
||||
xt.scm\\
|
||||
xwidgets.scm
|
||||
|
||||
TARGETS= siteinfo.scm
|
||||
|
||||
all: \$(TARGETS)
|
||||
|
||||
localize: \$(TARGETS)
|
||||
|
||||
siteinfo.scm: ../config/system ../config/site
|
||||
\$(SHELL) ./build-siteinfo
|
||||
|
||||
install: \$(TARGETS)
|
||||
-@if [ ! -d $install_dir/share ]; then \\
|
||||
echo mkdir $install_dir/share; \\
|
||||
mkdir $install_dir/share; \\
|
||||
fi
|
||||
-@if [ ! -d $install_dir/share/elk ]; then \\
|
||||
echo mkdir $install_dir/share/elk; \\
|
||||
mkdir $install_dir/share/elk; \\
|
||||
fi
|
||||
@for i in \$(FILES) ;\\
|
||||
do \\
|
||||
echo cp \$\$i $install_dir/share/elk; \\
|
||||
cp \$\$i $install_dir/share/elk; \\
|
||||
done
|
||||
|
||||
lint:
|
||||
|
||||
clean:
|
||||
|
||||
distclean:
|
||||
rm -f \$(TARGETS) Makefile.local
|
||||
EOT
|
|
@ -1,67 +0,0 @@
|
|||
. ../config/system
|
||||
. ../config/site
|
||||
|
||||
if [ _$load_obj = _ld -o _$load_obj = _dl ]; then
|
||||
force_load_xm="-u ${syms_begin_with}XmIsMotifWMRunning"
|
||||
fi
|
||||
|
||||
# In HP-UX, the Motif libraries must be linked with xt-motif.o instead
|
||||
# of placing them into the load-libraries (I don't know why). So just
|
||||
# flush $libxmotif at this point.
|
||||
|
||||
if [ _$load_obj = _shl ]; then
|
||||
libxmotif=
|
||||
fi
|
||||
|
||||
# Take apart $system:
|
||||
|
||||
IFS=-
|
||||
set $system
|
||||
machine=$1
|
||||
os=$2
|
||||
cc=$3
|
||||
|
||||
# Get version number
|
||||
|
||||
rel=`../util/getversion ../README`
|
||||
IFS=.
|
||||
set $rel
|
||||
major=$1
|
||||
minor=$2
|
||||
IFS=
|
||||
|
||||
echo Building siteinfo.scm
|
||||
cat <<EOT >siteinfo.scm
|
||||
;;; -*-Scheme-*-
|
||||
;;;
|
||||
;;; This file has been produced automatically from the information in
|
||||
;;; your config/system and config/site files. Do not edit!
|
||||
|
||||
|
||||
;;; Miscellaneous parameters from config/system:
|
||||
|
||||
(define site-machine "$machine")
|
||||
(define site-os "$os")
|
||||
(define site-cc "$cc")
|
||||
|
||||
(define site-version '($major . $minor))
|
||||
|
||||
|
||||
;;; Various pathnames/options for dynamically loading the X extensions:
|
||||
|
||||
(define site-lib-xlib
|
||||
"$libxlib")
|
||||
|
||||
(define site-lib-xt
|
||||
"$libxt")
|
||||
|
||||
(define site-lib-xaw
|
||||
"$libxaw")
|
||||
|
||||
(define site-lib-xmotif
|
||||
"$libxmotif")
|
||||
|
||||
(define site-force-load-xm "$force_load_xm")
|
||||
|
||||
(provide 'siteinfo)
|
||||
EOT
|
|
@ -2,8 +2,6 @@
|
|||
;;;
|
||||
;;; The Scheme part of the Xlib extension.
|
||||
|
||||
(require 'siteinfo)
|
||||
|
||||
(fluid-let ((load-libraries (string-append site-lib-xlib " " load-libraries)))
|
||||
(require 'xlib.so))
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
;;;
|
||||
;;; The Scheme part of the Xt extension.
|
||||
|
||||
(require 'siteinfo)
|
||||
|
||||
(if (feature? 'motif)
|
||||
(fluid-let ((load-libraries
|
||||
(string-append site-force-load-xm " " site-lib-xmotif " "
|
||||
|
|
Loading…
Reference in New Issue