]> andersk Git - test.git/blobdiff - Makefile.in
Use 2048-bit RSA keys for auto-generated certificates.
[test.git] / Makefile.in
index f86e8eb97299394a7abf3b04def3c7a15045b4ce..850449bd5691673553128304f47036088f2ba2b0 100644 (file)
@@ -72,17 +72,9 @@ liblogging_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 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) \
@@ -159,6 +151,7 @@ CPPFLAGS = @CPPFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
 DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
 ECHO_C = @ECHO_C@
@@ -183,6 +176,7 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
 MKDIR_P = @MKDIR_P@
 NM = @NM@
 NMEDIT = @NMEDIT@
@@ -209,6 +203,7 @@ abs_builddir = @abs_builddir@
 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@
@@ -241,7 +236,6 @@ libdir = @libdir@
 libexecdir = @libexecdir@
 localedir = @localedir@
 localstatedir = @localstatedir@
-lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
@@ -288,6 +282,8 @@ EXTRA_DIST = INSTALL.Debian                                         \
                        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                                          \
@@ -315,6 +311,7 @@ EXTRA_DIST = INSTALL.Debian                                         \
                        debian/shellinabox.install                             \
                        debian/shellinabox.postinst                            \
                        debian/shellinabox.postrm                              \
+                       debian/source/format                                   \
                        debian/watch
 
 LIBLOGGING_INCLUDES = logging/logging.h                                      \
@@ -365,48 +362,46 @@ shellinaboxd_SOURCES = shellinabox/shellinaboxd.c                             \
                        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)
@@ -514,45 +509,12 @@ clean-binPROGRAMS:
        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
@@ -1020,14 +982,16 @@ distcleancheck: distclean
               $(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
@@ -1048,12 +1012,11 @@ clean-generic:
 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 \
@@ -1131,7 +1094,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \
 
 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 \
@@ -1153,15 +1116,15 @@ uninstall-man: uninstall-man1
        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                       \
@@ -1172,45 +1135,54 @@ ${top_srcdir}/demo/demo.js: ${top_srcdir}/demo/beep.wav                       \
 
 ${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 |           \
@@ -1248,66 +1220,104 @@ clean-local:
                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.
This page took 0.064177 seconds and 4 git commands to generate.