AUTOMAKE_OPTIONS = 1.10 no-dependencies
-SUBDIRS = almemsys libbeep libcw tools
+SUBDIRS = almemsys libbeep libcw cwread
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = 1.10 no-dependencies
-SUBDIRS = almemsys libbeep libcw tools
+SUBDIRS = almemsys libbeep libcw cwread
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
-ac_config_files="$ac_config_files Makefile almemsys/Makefile libbeep/Makefile libcw/Makefile tools/Makefile"
+ac_config_files="$ac_config_files Makefile almemsys/Makefile libbeep/Makefile libcw/Makefile cwrand/Makefile cwread/Makefile"
if test -n "$ac_tool_prefix"; then
"almemsys/Makefile") CONFIG_FILES="$CONFIG_FILES almemsys/Makefile" ;;
"libbeep/Makefile") CONFIG_FILES="$CONFIG_FILES libbeep/Makefile" ;;
"libcw/Makefile") CONFIG_FILES="$CONFIG_FILES libcw/Makefile" ;;
- "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+ "cwrand/Makefile") CONFIG_FILES="$CONFIG_FILES cwrand/Makefile" ;;
+ "cwread/Makefile") CONFIG_FILES="$CONFIG_FILES cwread/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
-ac_config_files="$ac_config_files Makefile almemsys/Makefile libbeep/Makefile libcw/Makefile tools/Makefile"
+ac_config_files="$ac_config_files Makefile almemsys/Makefile libbeep/Makefile libcw/Makefile cwrand/Makefile cwread/Makefile"
if test -n "$ac_tool_prefix"; then
"almemsys/Makefile") CONFIG_FILES="$CONFIG_FILES almemsys/Makefile" ;;
"libbeep/Makefile") CONFIG_FILES="$CONFIG_FILES libbeep/Makefile" ;;
"libcw/Makefile") CONFIG_FILES="$CONFIG_FILES libcw/Makefile" ;;
- "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+ "cwrand/Makefile") CONFIG_FILES="$CONFIG_FILES cwrand/Makefile" ;;
+ "cwread/Makefile") CONFIG_FILES="$CONFIG_FILES cwread/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
m4trace:configure.in:44: -1- m4_pattern_allow([^size_t$])
m4trace:configure.in:46: -1- m4_pattern_allow([^HAVE_MMAP$])
m4trace:configure.in:51: -1- m4_pattern_allow([^MYCFLAGS$])
-m4trace:configure.in:60: -1- m4_pattern_allow([^RANLIB$])
-m4trace:configure.in:61: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.in:61: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.in:61: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
-m4trace:configure.in:61: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.in:61: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.in:62: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.in:62: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.in:62: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
+m4trace:configure.in:62: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
almemsys/Makefile \
libbeep/Makefile \
libcw/Makefile \
- tools/Makefile ])
-m4trace:configure.in:60: -1- AC_SUBST([RANLIB])
-m4trace:configure.in:60: -1- AC_SUBST_TRACE([RANLIB])
-m4trace:configure.in:60: -1- m4_pattern_allow([^RANLIB$])
-m4trace:configure.in:61: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.in:61: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.in:61: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.in:61: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([abs_top_builddir])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([INSTALL])
-m4trace:configure.in:61: -1- AC_SUBST_TRACE([MKDIR_P])
+ cwrand/Makefile \
+ cwread/Makefile ])
+m4trace:configure.in:61: -1- AC_SUBST([RANLIB])
+m4trace:configure.in:61: -1- AC_SUBST_TRACE([RANLIB])
+m4trace:configure.in:61: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.in:62: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.in:62: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.in:62: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.in:62: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.in:62: -1- AC_SUBST_TRACE([MKDIR_P])
-ac_config_files="$ac_config_files Makefile almemsys/Makefile libbeep/Makefile libcw/Makefile tools/Makefile"
+ac_config_files="$ac_config_files Makefile almemsys/Makefile libbeep/Makefile libcw/Makefile cwrand/Makefile cwread/Makefile"
if test -n "$ac_tool_prefix"; then
"almemsys/Makefile") CONFIG_FILES="$CONFIG_FILES almemsys/Makefile" ;;
"libbeep/Makefile") CONFIG_FILES="$CONFIG_FILES libbeep/Makefile" ;;
"libcw/Makefile") CONFIG_FILES="$CONFIG_FILES libcw/Makefile" ;;
- "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+ "cwrand/Makefile") CONFIG_FILES="$CONFIG_FILES cwrand/Makefile" ;;
+ "cwread/Makefile") CONFIG_FILES="$CONFIG_FILES cwread/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
almemsys/Makefile \
libbeep/Makefile \
libcw/Makefile \
- tools/Makefile )
+ cwrand/Makefile \
+ cwread/Makefile )
AC_PROG_RANLIB
AC_OUTPUT
--- /dev/null
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# cwrand/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+pkgdatadir = $(datadir)/libbeep
+pkglibdir = $(libdir)/libbeep
+pkgincludedir = $(includedir)/libbeep
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = cwrand$(EXEEXT)
+subdir = cwrand
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)"
+binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+PROGRAMS = $(bin_PROGRAMS)
+am_cwrand_OBJECTS = cwrand-cwrand.$(OBJEXT) cwrand-optin.$(OBJEXT)
+cwrand_OBJECTS = $(am_cwrand_OBJECTS)
+cwrand_DEPENDENCIES =
+cwrand_LINK = $(CCLD) $(cwrand_CFLAGS) $(CFLAGS) $(cwrand_LDFLAGS) \
+ $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)
+depcomp =
+am__depfiles_maybe =
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(cwrand_SOURCES)
+DIST_SOURCES = $(cwrand_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/masashi/c/linuxcw/missing --run aclocal-1.10
+AMTAR = ${SHELL} /home/masashi/c/linuxcw/missing --run tar
+AUTOCONF = ${SHELL} /home/masashi/c/linuxcw/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/masashi/c/linuxcw/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/masashi/c/linuxcw/missing --run automake-1.10
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=none
+CFLAGS = -Wall -O2 -g
+CPP = gcc -E
+CPPFLAGS =
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+GREP = /bin/grep
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /home/masashi/c/linuxcw/missing --run makeinfo
+MKDIR_P = /bin/mkdir -p
+MYCFLAGS = -Wall -O2 -g
+OBJEXT = o
+PACKAGE = libbeep
+PACKAGE_BUGREPORT =
+PACKAGE_NAME =
+PACKAGE_STRING =
+PACKAGE_TARNAME =
+PACKAGE_VERSION =
+PATH_SEPARATOR = :
+RANLIB = ranlib
+SET_MAKE =
+SHELL = /bin/sh
+STRIP =
+VERSION = 1.1.11
+abs_builddir = /home/masashi/c/linuxcw/cwrand
+abs_srcdir = /home/masashi/c/linuxcw/cwrand
+abs_top_builddir = /home/masashi/c/linuxcw
+abs_top_srcdir = /home/masashi/c/linuxcw
+ac_ct_CC = gcc
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build_alias =
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host_alias =
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = $(SHELL) /home/masashi/c/linuxcw/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = /bin/mkdir -p
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_builddir = ..
+top_srcdir = ..
+AUTOMAKE_OPTIONS = 1.10 no-dependencies
+cwrand_SOURCES = cwrand.c cwrand.h optin.c libcw.h libbeep.h almemsys.h
+cwrand_LDADD = -lcw -lbeep -lalmemsys
+cwrand_LDFLAGS = -L. -L../libbeep -L../libcw -L../almemsys
+cwrand_CFLAGS = -I. -I../libbeep -I../libcw -I../almemsys
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cwrand/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign cwrand/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ if test -f $$p \
+ ; then \
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
+ else :; fi; \
+ done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+ rm -f "$(DESTDIR)$(bindir)/$$f"; \
+ done
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+cwrand$(EXEEXT): $(cwrand_OBJECTS) $(cwrand_DEPENDENCIES)
+ @rm -f cwrand$(EXEEXT)
+ $(cwrand_LINK) $(cwrand_OBJECTS) $(cwrand_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+.c.o:
+ $(COMPILE) -c $<
+
+.c.obj:
+ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+cwrand-cwrand.o: cwrand.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-cwrand.o `test -f 'cwrand.c' || echo '$(srcdir)/'`cwrand.c
+
+cwrand-cwrand.obj: cwrand.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-cwrand.obj `if test -f 'cwrand.c'; then $(CYGPATH_W) 'cwrand.c'; else $(CYGPATH_W) '$(srcdir)/cwrand.c'; fi`
+
+cwrand-optin.o: optin.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-optin.o `test -f 'optin.c' || echo '$(srcdir)/'`optin.c
+
+cwrand-optin.obj: optin.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-optin.obj `if test -f 'optin.c'; then $(CYGPATH_W) 'optin.c'; else $(CYGPATH_W) '$(srcdir)/optin.c'; fi`
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-binPROGRAMS
+
+
+# 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.
+.NOEXPORT:
--- /dev/null
+@SET_MAKE@
+AUTOMAKE_OPTIONS = 1.10 no-dependencies
+
+CFLAGS = @MYCFLAGS@
+
+bin_PROGRAMS = cwrand
+
+cwrand_SOURCES = cwrand.c cwrand.h optin.c libcw.h libbeep.h almemsys.h
+cwrand_LDADD= -lcw -lbeep -lalmemsys
+cwrand_LDFLAGS = -L. -L../libbeep -L../libcw -L../almemsys
+cwrand_CFLAGS = -I. -I../libbeep -I../libcw -I../almemsys
+
+
--- /dev/null
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = cwrand$(EXEEXT)
+subdir = cwrand
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)"
+binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+PROGRAMS = $(bin_PROGRAMS)
+am_cwrand_OBJECTS = cwrand-cwrand.$(OBJEXT) cwrand-optin.$(OBJEXT)
+cwrand_OBJECTS = $(am_cwrand_OBJECTS)
+cwrand_DEPENDENCIES =
+cwrand_LINK = $(CCLD) $(cwrand_CFLAGS) $(CFLAGS) $(cwrand_LDFLAGS) \
+ $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp =
+am__depfiles_maybe =
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(cwrand_SOURCES)
+DIST_SOURCES = $(cwrand_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @MYCFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MYCFLAGS = @MYCFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AUTOMAKE_OPTIONS = 1.10 no-dependencies
+cwrand_SOURCES = cwrand.c cwrand.h optin.c libcw.h libbeep.h almemsys.h
+cwrand_LDADD = -lcw -lbeep -lalmemsys
+cwrand_LDFLAGS = -L. -L../libbeep -L../libcw -L../almemsys
+cwrand_CFLAGS = -I. -I../libbeep -I../libcw -I../almemsys
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cwrand/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign cwrand/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ if test -f $$p \
+ ; then \
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
+ else :; fi; \
+ done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+ rm -f "$(DESTDIR)$(bindir)/$$f"; \
+ done
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+cwrand$(EXEEXT): $(cwrand_OBJECTS) $(cwrand_DEPENDENCIES)
+ @rm -f cwrand$(EXEEXT)
+ $(cwrand_LINK) $(cwrand_OBJECTS) $(cwrand_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+.c.o:
+ $(COMPILE) -c $<
+
+.c.obj:
+ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+cwrand-cwrand.o: cwrand.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-cwrand.o `test -f 'cwrand.c' || echo '$(srcdir)/'`cwrand.c
+
+cwrand-cwrand.obj: cwrand.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-cwrand.obj `if test -f 'cwrand.c'; then $(CYGPATH_W) 'cwrand.c'; else $(CYGPATH_W) '$(srcdir)/cwrand.c'; fi`
+
+cwrand-optin.o: optin.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-optin.o `test -f 'optin.c' || echo '$(srcdir)/'`optin.c
+
+cwrand-optin.obj: optin.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cwrand_CFLAGS) $(CFLAGS) -c -o cwrand-optin.obj `if test -f 'optin.c'; then $(CYGPATH_W) 'optin.c'; else $(CYGPATH_W) '$(srcdir)/optin.c'; fi`
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-binPROGRAMS
+
+@SET_MAKE@
+# 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.
+.NOEXPORT:
--- /dev/null
+
+#include<stdio.h>
+#include<stdlib.h>
+#include"almemsys.h"
+#include"libbeep.h"
+#include"libcw.h"
+#include"cwrand.h"
+
+
+int main(int argc, char ** argv)
+{
+int fd;
+int moji, no, co, co2;
+char cha;
+
+moji = 0;
+co = 0;
+fd = -1;
+cha = 0x00;
+
+// cw用の構造体を定義します。
+cw_length cw_len;
+
+// デフォルトの符号データベースを初期化
+cw_default_memset(&cw_len);
+
+// デフォルトの信号の長さ(3)と周波数(2)を設定
+cw_defaultset(&cw_len, 700, 80);
+
+optin(argc, argv, &cw_len, &moji, &no);
+
+// beepデバイスファイルを開いてFDを得る
+fd = beep_fdopen(fd);
+
+printf("%d %d\n", moji, no);
+
+cw_len.ws = cw_len.sp * 4; // '*' の長さを短点の4倍に設定
+cw_len.cs = cw_len.sp * 2; // 前の文字の後ろに1スペースあるので2
+
+for(co2 = 0; co2 < no; co2++){
+ for(co = 0; co < moji; co++){
+ cha = cw_len.roman.char_sign[(int)randdata(0, 48)];
+ cw_sign(&cw_len, fd, cha);
+ cw_sign(&cw_len, fd, ' ');
+ printf("%c\n", cha);
+ }
+ cw_sign(&cw_len, fd, '*');
+ printf("\n");
+ }
+
+// 符号データベースの検索
+// キャラから番号検索
+// printf("char_no(): %d\n", char_no(&cw_len, 'a'));
+// 符号列から番号検索
+// printf("note_no(): %d\n", note_no(&cw_len, "-.-."));
+
+// 指定された文字列からCWを鳴らす関数
+// デフォの設定は。。。
+// 短点 '.'
+// 長点 '-'
+// 文字間の空白 ' '
+// 単語間の空白 '*'
+// それ意外の文字は何も起こらないが電気とあなたの労働力の無駄。
+// beep_bufout(&cw_len, fd, ".... .-.*.... .-.*.... .-.***.-,-.*. .***");
+
+// 単純にローマ字を指定し、音を出してみる。
+// cw_sign(&cw_len, fd, 'c');
+
+// さも返事ああったかのように、周波数とスピードを少々変えてみます。(笑い)
+// cw_defaultset(&cw_len, 880, 70);
+
+
+// beepのFDを開放し終了。
+beep_close(fd);
+
+return 0;
+}
+
+
+
+
--- /dev/null
+
+#ifndef _CWRAND_H_
+ #define _CWRAND_H_
+
+
+ #include "prototype.h"
+
+#endif
+
+
--- /dev/null
+
+#include<stdio.h>
+#include<stdlib.h>
+#include<unistd.h>
+#include"libbeep.h"
+#include"libcw.h"
+#include"cwrand.h"
+#include"almemsys.h"
+
+
+int optin(int argc, char * argv[], cw_length * cw_len, int * moji, int * co)
+{
+char i;
+int sp, to;
+extern char * optarg;
+i = 0x00;
+sp = 0;
+to = 0;
+* moji = 5;
+* co = 1;
+
+while((i = (char)getopt(argc, argv, "v:s:c:m:t:"))!= EOF){
+ switch(i){
+ case 'c':
+ printf("Frequency of CW pattern. <%s>\n", optarg);
+ * co = strtol(optarg, (char **)NULL, 10);
+ break;
+ case 'm':
+ printf("number of charcters of random CW. <%s>\n", optarg);
+ * moji = strtol(optarg, (char **)NULL, 10);
+ break;
+ case 's':
+ printf("cw speed set. <%s>\n", optarg);
+ sp = strtol(optarg, (char **)NULL, 10);
+ cw_speedset(cw_len, sp);
+ break;
+ case 't':
+ printf("cw tone set. <%s>\n", optarg);
+ to = strtol(optarg, (char **)NULL, 10);
+ cw_toneset(cw_len, to);
+ break;
+ case 'v':
+ printf("cwrand -c <Frequency> -m <Nomber> -s <Speed> -t <tone>\n");
+ break;
+
+
+ default :
+ printf("cwrand -c <Frequency> -m <Nomber> -s <Speed> -t <tone>\n");
+ break;
+ }
+ }
+
+return 0;
+}
+
+
+
--- /dev/null
+
+int optin(int argc, char * argv[], cw_length * cw_len, int * moji, int * co);
+
PRE_UNINSTALL = :
POST_UNINSTALL = :
bin_PROGRAMS = cwread$(EXEEXT)
-subdir = tools
+subdir = cwread
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cwread/Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign tools/Makefile
+ $(AUTOMAKE) --foreign cwread/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
#ifndef _LIBCW_H_
#define _LIBCW_H_
- #define LIBCW_BUG
+// #define LIBCW_BUG
#define BUFF_LENG 10
#define CHAR_LENG 67