+ Fixes for installation targets.

+ Use target SCSH_INITIALIZERS
This commit is contained in:
mainzelm 2001-06-20 07:40:09 +00:00
parent a4b45eda9f
commit 37c0a585f3
1 changed files with 6 additions and 6 deletions

View File

@ -135,7 +135,8 @@ SCSHOBJS = \
scsh/sighandlers1.o \
scsh/regexp/libregex.a
SCSH_INITIALIZERS = s48_init_syslog
SCSH_INITIALIZERS = s48_init_syslog s48_init_userinfo s48_init_sighandlers \
s48_init_re_low
UNIX_OBJS = c/unix/misc.o c/unix/io.o c/unix/fd-io.o c/unix/event.o
@ -172,8 +173,7 @@ EXTERNAL_FLAGS = $(SOCKET_FLAGS)
EXTERNAL_INITIALIZERS = $(ADDITIONAL_INITIALIZER) $(SOCKET_INITIALIZERS) \
$(LOOKUP_INITIALIZERS) \
$(SCSH_INITIALIZERS) \
s48_init_cig $(CIGGEDINIT) s48_init_userinfo s48_init_sighandlers \
s48_init_re_low
s48_init_cig $(CIGGEDINIT)
# Rules for any external code.
@ -372,7 +372,7 @@ inst-doc:
done
inst-script:
script=$(bindir)/$(BUILD_RUNNABLE) && \
script=$(bindir)/$(RUNNABLE) && \
echo '#!/bin/sh' >$$script && \
echo >>$$script && \
echo 'lib=$(LIB)' >>$$script && \
@ -853,11 +853,11 @@ install-scsh: scsh install-scsh-image
do $(INSTALL_DATA) $$f $(LIB)/scsh/; done
install-scsh-image:
rm -f '/tmp/scsh.image' &&
rm -f '/tmp/scsh.image' && \
( echo ',translate =scheme48 $(LIB)'; \
echo '(dump-scsh "/tmp/scsh.image")'; \
echo ',exit'; \
) | ./$(VM) -i scsh/scsh.image &&
) | ./$(VM) -i scsh/scsh.image && \
$(INSTALL_DATA) /tmp/scsh.image $(LIB)/scsh.image
clean-scsh: