-# Makefile.in generated by automake 1.11 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
"$(DESTDIR)$(docdir)"
PROGRAMS = $(bin_PROGRAMS)
-am__dirstamp = $(am__leading_dot)dirstamp
am_shellinaboxd_OBJECTS = shellinaboxd.$(OBJEXT) \
externalfile.$(OBJEXT) launcher.$(OBJEXT) privileges.$(OBJEXT) \
- service.$(OBJEXT) session.$(OBJEXT) usercss.$(OBJEXT) \
- shellinabox/cgi_root.$(OBJEXT) shellinabox/root_page.$(OBJEXT) \
- shellinabox/vt100.$(OBJEXT) \
- shellinabox/shell_in_a_box.$(OBJEXT) \
- shellinabox/styles.$(OBJEXT) \
- shellinabox/print-styles.$(OBJEXT) \
- shellinabox/enabled.$(OBJEXT) shellinabox/favicon.$(OBJEXT) \
- shellinabox/beep.$(OBJEXT)
+ service.$(OBJEXT) session.$(OBJEXT) usercss.$(OBJEXT)
shellinaboxd_OBJECTS = $(am_shellinaboxd_OBJECTS)
shellinaboxd_DEPENDENCIES = liblogging.la libhttp.la
shellinaboxd_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
-lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
demo/demo.jspp \
demo/demo.xml \
demo/enabled.gif \
+ demo/keyboard.html \
+ demo/keyboard.png \
demo/styles.css \
demo/print-styles.css \
demo/vt100.js \
debian/shellinabox.install \
debian/shellinabox.postinst \
debian/shellinabox.postrm \
+ debian/source/format \
debian/watch
LIBLOGGING_INCLUDES = logging/logging.h \
shellinabox/print-styles.css \
shellinabox/enabled.gif \
shellinabox/favicon.ico \
+ shellinabox/keyboard.png \
+ shellinabox/keyboard-layout.html \
shellinabox/beep.wav \
config.h
+BUILT_SOURCES = shellinabox/beep.h \
+ shellinabox/cgi_root.h \
+ shellinabox/enabled.h \
+ shellinabox/favicon.h \
+ shellinabox/keyboard.h \
+ shellinabox/keyboard-layout.h \
+ shellinabox/print-styles.h \
+ shellinabox/root_page.h \
+ shellinabox/shell_in_a_box.h \
+ shellinabox/shell_in_a_box.js \
+ shellinabox/styles.h \
+ shellinabox/vt100.h \
+ shellinabox/vt100.js
+
shellinaboxd_LDADD = liblogging.la \
libhttp.la
shellinaboxd_LDFLAGS = -static
-objcopyflags = case "$(host_cpu)" in \
- i[0-9]86)echo '-O elf32-i386 -B i386';; \
- x86_64) echo '-O elf64-x86-64 -B i386:x86-64';; \
- *) trap 'rm -f /tmp/probe$$$$.o' EXIT; \
- $(CC) $(AM_CFLAGS) $(CFLAGS) -c -xc \
- -o /tmp/probe$$$$.o /dev/null && \
- $(OBJDUMP) -f /tmp/probe$$$$.o | \
- sed -e 's/.*file format */-O /;t; \
- s/architecture: *\([^,]*\).*/-B \1/;t; \
- d';; \
- esac
-
-renamesymbols = \
- sed -e 's/\(.*\/\)\([^.]*\)\([.].*\)/\1\2\3=\2 /' \
+symbolname = \
+ sed -e 's/.*\/\([^.]*\)[.].*/\1/' \
-e 't0' \
- -e 's/\([^.]*\)\([.].*\)/\1\2=\1 /' \
- -e 't0' \
- -e 's/.*/&=& /' \
+ -e 's/\([^.]*\)[.].*/\1/' \
-e ':0' \
- -e 's/$$/aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ/' \
+ -e 's/$$/ aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ/' \
-e ':1' \
- -e 's/\(=[^-_]*\)[-_]\([a-z]\)\([^ ]* .*\2\)\(.\)/\1\4\3\4/' \
+ -e 's/\([^-_]*\)[-_]\([a-z]\)\([^ ]* .*\2\)\(.\)/\1\4\3\4/' \
-e 't1' \
-e 's/.\{53\}$$//' \
- -e 's/[-/.]/_/g' \
- -e 's/^/--redefine-sym _binary_/' \
- -e 's/\([^=]*\)\(=[^ ]*\)/& \1_end\2End/' \
- -e 's/\([^=]*\)\(=[^ ]*\)/& \1_start\2Start/' \
- -e 's/[^ ]*\([^=]*\)=[^ ]*/-N\1_size/'
+ -e 's/[-/.]/_/g'
-all: config.h
+all: $(BUILT_SOURCES) config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
-.SUFFIXES: .c .css .gif .html .ico .js .jspp .lo .o .obj .wav
+.SUFFIXES: .c .css .gif .h .html .ico .js .jspp .lo .o .obj .png .wav
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
-shellinabox/$(am__dirstamp):
- @$(MKDIR_P) shellinabox
- @: > shellinabox/$(am__dirstamp)
-shellinabox/$(DEPDIR)/$(am__dirstamp):
- @$(MKDIR_P) shellinabox/$(DEPDIR)
- @: > shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/cgi_root.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/root_page.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/vt100.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/shell_in_a_box.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/styles.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/print-styles.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/enabled.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/favicon.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
-shellinabox/beep.$(OBJEXT): shellinabox/$(am__dirstamp) \
- shellinabox/$(DEPDIR)/$(am__dirstamp)
shellinaboxd$(EXEEXT): $(shellinaboxd_OBJECTS) $(shellinaboxd_DEPENDENCIES)
@rm -f shellinaboxd$(EXEEXT)
$(shellinaboxd_LINK) $(shellinaboxd_OBJECTS) $(shellinaboxd_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
- -rm -f shellinabox/beep.$(OBJEXT)
- -rm -f shellinabox/cgi_root.$(OBJEXT)
- -rm -f shellinabox/enabled.$(OBJEXT)
- -rm -f shellinabox/favicon.$(OBJEXT)
- -rm -f shellinabox/print-styles.$(OBJEXT)
- -rm -f shellinabox/root_page.$(OBJEXT)
- -rm -f shellinabox/shell_in_a_box.$(OBJEXT)
- -rm -f shellinabox/styles.$(OBJEXT)
- -rm -f shellinabox/vt100.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
fi; \
done
-test -n "$(am__skip_mode_fix)" \
- || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lzma*) \
- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
-check: check-am
+check: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) \
config.h
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
-install: install-am
+install: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- -rm -f shellinabox/$(DEPDIR)/$(am__dirstamp)
- -rm -f shellinabox/$(am__dirstamp)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-libtool clean-local \
uninstall-man: uninstall-man1
-.MAKE: all install-am install-strip
+.MAKE: all check install install-am install-strip
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-generic clean-libtool clean-local \
uninstall-man uninstall-man1
-OBJCOPY ?= objcopy
-OBJDUMP ?= objdump
-
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
${top_srcdir}/demo/demo.js: ${top_srcdir}/demo/beep.wav \
${top_srcdir}/demo/demo.jspp \
+ ${top_srcdir}/demo/enabled.gif \
${top_srcdir}/demo/favicon.ico \
+ ${top_srcdir}/demo/keyboard.html \
+ ${top_srcdir}/demo/keyboard.png \
${top_srcdir}/demo/styles.css \
${top_srcdir}/demo/print-styles.css \
${top_srcdir}/demo/vt100.js \
${top_srcdir}/demo/beep.wav: ${top_srcdir}/shellinabox/beep.wav
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/enabled.gif: ${top_srcdir}/shellinabox/enabled.gif
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/favicon.ico: ${top_srcdir}/shellinabox/favicon.ico
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
+
+${top_srcdir}/demo/keyboard.html: ${top_srcdir}/shellinabox/keyboard-layout.html
+ @rm -f "$@"
+ ln "$?" "$@"
+
+${top_srcdir}/demo/keyboard.png: ${top_srcdir}/shellinabox/keyboard.png
+ @rm -f "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/styles.css: ${top_srcdir}/shellinabox/styles.css
@rm -f "$@"
- sed -e '/\[if DEFINES_COLORS\]/,/\[endif DEFINES_COLORS\]/d' "$<" >"$@"
+ sed -e '/\[if DEFINES_COLORS\]/,/\[endif DEFINES_COLORS\]/d' "$?" >"$@"
${top_srcdir}/demo/print-styles.css: ${top_srcdir}/shellinabox/print-styles.css
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/usercss-0.css: ${top_srcdir}/shellinabox/white-on-black.css
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/usercss-1.css: ${top_srcdir}/shellinabox/black-on-white.css
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/usercss-2.css: ${top_srcdir}/shellinabox/monochrome.css
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/usercss-3.css: ${top_srcdir}/shellinabox/color.css
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
${top_srcdir}/demo/vt100.js: ${top_srcdir}/shellinabox/vt100.js
@rm -f "$@"
- ln "$<" "$@"
+ ln "$?" "$@"
-shellinaboxd.1: shellinabox/shellinaboxd.man.in config.h
+shellinaboxd.1: ${top_srcdir}/shellinabox/shellinaboxd.man.in \
+ ${top_srcdir}/config.h
@src="${top_srcdir}/shellinabox/shellinaboxd.man.in"; \
echo preprocess "$$src" '>'"$@"; \
if sed -e 's/^#define \([^ ]*\).*/\1/' -e t -e d config.h | \
debian/shellinabox*.debhelper* \
debian/shellinabox.substvars \
debian/tmp
- -rm -rf GNU-stack
-
-.css.o:
- @echo $(OBJCOPY) "$<" "$@"
- @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)`\
- "$<" "$@"
- @-printf '\000' >GNU-stack && \
- $(OBJCOPY) --add-section .note.GNU-stack=GNU-stack "$@"; \
- rm -f GNU-stack
-
-.gif.o:
- @echo $(OBJCOPY) "$<" "$@"
- @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)`\
- "$<" "$@"
- @-printf '\000' >GNU-stack && \
- $(OBJCOPY) --add-section .note.GNU-stack=GNU-stack "$@"; \
- rm -f GNU-stack
-
-.html.o:
- @echo $(OBJCOPY) "$<" "$@"
- @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)`\
- "$<" "$@"
- @-printf '\000' >GNU-stack && \
- $(OBJCOPY) --add-section .note.GNU-stack=GNU-stack "$@"; \
- rm -f GNU-stack
-
-.ico.o:
- @echo $(OBJCOPY) "$<" "$@"
- @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)`\
- "$<" "$@"
- @-printf '\000' >GNU-stack && \
- $(OBJCOPY) --add-section .note.GNU-stack=GNU-stack "$@"; \
- rm -f GNU-stack
-
-shellinabox/shell_in_a_box.o: shellinabox/shell_in_a_box.js config.h
+ -rm -rf shellinabox/beep.h \
+ shellinabox/cgi_root.h \
+ shellinabox/enabled.h \
+ shellinabox/favicon.h \
+ shellinabox/keyboard.h \
+ shellinabox/keyboard-layout.h \
+ shellinabox/print-styles.h \
+ shellinabox/root_page.h \
+ shellinabox/shell_in_a_box.h \
+ shellinabox/styles.h \
+ shellinabox/vt100.h
+
+.css.h:
+ @echo od "$<" '>'"$@"
+ @mkdir -p "`dirname "$@"`"
+ @{ sym="`echo "$<" | $(symbolname)`"; \
+ echo "static const char $${sym}Start[] ="; \
+ od -vb "$<" | sed 's/[0-7]*/"/;s/ *$$/"/;/^""$$/d;s/ */\\/g'; \
+ echo ';'; \
+ echo "static const int $${sym}Size ATTR_UNUSED =" \
+ "(int)sizeof($${sym}Start);"; \
+ } >"$@"
+
+.gif.h:
+ @echo od "$<" '>'"$@"
+ @mkdir -p "`dirname "$@"`"
+ @{ sym="`echo "$<" | $(symbolname)`"; \
+ echo "static const char $${sym}Start[] ="; \
+ od -vb "$<" | sed 's/[0-7]*/"/;s/ *$$/"/;/^""$$/d;s/ */\\/g'; \
+ echo ';'; \
+ echo "static const int $${sym}Size ATTR_UNUSED =" \
+ "(int)sizeof($${sym}Start);"; \
+ } >"$@"
+
+.png.h:
+ @echo od "$<" '>'"$@"
+ @mkdir -p "`dirname "$@"`"
+ @{ sym="`echo "$<" | $(symbolname)`"; \
+ echo "static const char $${sym}Start[] ="; \
+ od -vb "$<" | sed 's/[0-7]*/"/;s/ *$$/"/;/^""$$/d;s/ */\\/g'; \
+ echo ';'; \
+ echo "static const int $${sym}Size ATTR_UNUSED =" \
+ "(int)sizeof($${sym}Start);"; \
+ } >"$@"
+
+.html.h:
+ @echo od "$<" '>'"$@"
+ @mkdir -p "`dirname "$@"`"
+ @{ sym="`echo "$<" | $(symbolname)`"; \
+ echo "static const char $${sym}Start[] ="; \
+ od -vb "$<" | sed 's/[0-7]*/"/;s/ *$$/"/;/^""$$/d;s/ */\\/g'; \
+ echo ';'; \
+ echo "static const int $${sym}Size ATTR_UNUSED =" \
+ "(int)sizeof($${sym}Start);"; \
+ } >"$@"
+
+.ico.h:
+ @echo od "$<" '>'"$@"
+ @mkdir -p "`dirname "$@"`"
+ @{ sym="`echo "$<" | $(symbolname)`"; \
+ echo "static const char $${sym}Start[] ="; \
+ od -vb "$<" | sed 's/[0-7]*/"/;s/ *$$/"/;/^""$$/d;s/ */\\/g'; \
+ echo ';'; \
+ echo "static const int $${sym}Size ATTR_UNUSED =" \
+ "(int)sizeof($${sym}Start);"; \
+ } >"$@"
.jspp.js:
@echo preprocess "$<" "$@"
- @sed -e "`sed -e 's/^#define *\([^ ]*\) *\(.*\)/\/^[^#]\/s\/\1\/\2 \\\\\/* \1 *\\\\\/\/g/' \
+ @mkdir -p "`dirname "$@"`"
+ sed -e "`sed -e 's/^#define *\([^ ]*\) *\(.*\)/\/^[^#]\/s\/\1\/\2 \\\\\/* \1 *\\\\\/\/g/' \
-e t \
-e d "$<"`" \
-e "s/^#/\/\/ #/" \
-e "s/VERSION/\"@VERSION@ (revision @VCS_REVISION@)\"/g" \
"$<" >"$@"
-.js.o:
- @echo $(OBJCOPY) "$<" "$@"
- @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)`\
- "$<" "$@"
- @-printf '\000' >GNU-stack && \
- $(OBJCOPY) --add-section .note.GNU-stack=GNU-stack "$@"; \
- rm -f GNU-stack
-
-.wav.o:
- @echo $(OBJCOPY) "$<" "$@"
- @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)`\
- "$<" "$@"
- @-printf '\000' >GNU-stack && \
- $(OBJCOPY) --add-section .note.GNU-stack=GNU-stack "$@"; \
- rm -f GNU-stack
+.js.h:
+ @echo od "$<" '>'"$@"
+ @mkdir -p "`dirname "$@"`"
+ @{ sym="`echo "$<" | $(symbolname)`"; \
+ echo "static const char $${sym}Start[] ="; \
+ od -vb "$<" | sed 's/[0-7]*/"/;s/ *$$/"/;/^""$$/d;s/ */\\/g'; \
+ echo ';'; \
+ echo "static const int $${sym}Size ATTR_UNUSED =" \
+ "(int)sizeof($${sym}Start);"; \
+ } >"$@"
+
+.wav.h:
+ @echo od "$<" '>'"$@"
+ @mkdir -p "`dirname "$@"`"
+ @{ sym="`echo "$<" | $(symbolname)`"; \
+ echo "static const char $${sym}Start[] ="; \
+ od -vb "$<" | sed 's/[0-7]*/"/;s/ *$$/"/;/^""$$/d;s/ */\\/g'; \
+ echo ';'; \
+ echo "static const int $${sym}Size ATTR_UNUSED =" \
+ "(int)sizeof($${sym}Start);"; \
+ } >"$@"
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.