~ubuntu-branches/ubuntu/gutsy/cwdaemon/gutsy

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Joop Stakenborg
  • Date: 2004-04-26 21:27:29 UTC
  • Revision ID: james.westby@ubuntu.com-20040426212729-3wwptnx2a1l9kein
Tags: 0.8
* Cwdaemon is now integrated with unixcw, see cwlib.c and cwlib.h.
  Weighting has been added to unixcw and some special characters needed
  by cwdaemon. The choppiness reported in previous versions of cwdaemon is
  fixed. And we have soundcard support!
* Better handling of aborting messages.
* Weighting now uses a value of -50 to 50.
* 2 extra command line options: -v for volume and -x for sound device.
* 2 extra escape sequences for controlling cwdaemon: ESCfx for switching the
  sound output on the fly and ESCgx for setting the soundcard volume.
* Tune (ESCc) now uses seconds as an argument, e.g. ESCc1 tunes 1 second,
  ESCc10 tunes 10 seconds. Maximum tune value is 10 seconds.
* A fix by Lada, OK1ZIA for big endian systems.
* Footswitch support by Wolf, DL2WRJ (pin 15 of the parallel port).
* New morse character '@' has been added.
* Process priority of cwdaemon can be set with the -P flag. You can try this
  if you experience timing problems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.7.9 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
 
5
# Free Software Foundation, Inc.
 
6
# This Makefile.in is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy and/or distribute it,
 
8
# with or without modifications, as long as this notice is preserved.
 
9
 
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
13
# PARTICULAR PURPOSE.
 
14
 
 
15
@SET_MAKE@
 
16
 
 
17
srcdir = @srcdir@
 
18
top_srcdir = @top_srcdir@
 
19
VPATH = @srcdir@
 
20
pkgdatadir = $(datadir)/@PACKAGE@
 
21
pkglibdir = $(libdir)/@PACKAGE@
 
22
pkgincludedir = $(includedir)/@PACKAGE@
 
23
top_builddir = .
 
24
 
 
25
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
26
INSTALL = @INSTALL@
 
27
install_sh_DATA = $(install_sh) -c -m 644
 
28
install_sh_PROGRAM = $(install_sh) -c
 
29
install_sh_SCRIPT = $(install_sh) -c
 
30
INSTALL_HEADER = $(INSTALL_DATA)
 
31
transform = $(program_transform_name)
 
32
NORMAL_INSTALL = :
 
33
PRE_INSTALL = :
 
34
POST_INSTALL = :
 
35
NORMAL_UNINSTALL = :
 
36
PRE_UNINSTALL = :
 
37
POST_UNINSTALL = :
 
38
ACLOCAL = @ACLOCAL@
 
39
AMDEP_FALSE = @AMDEP_FALSE@
 
40
AMDEP_TRUE = @AMDEP_TRUE@
 
41
AMTAR = @AMTAR@
 
42
AUTOCONF = @AUTOCONF@
 
43
AUTOHEADER = @AUTOHEADER@
 
44
AUTOMAKE = @AUTOMAKE@
 
45
AWK = @AWK@
 
46
CC = @CC@
 
47
CCDEPMODE = @CCDEPMODE@
 
48
CFLAGS = @CFLAGS@
 
49
CPP = @CPP@
 
50
CPPFLAGS = @CPPFLAGS@
 
51
CYGPATH_W = @CYGPATH_W@
 
52
DEFS = @DEFS@
 
53
DEPDIR = @DEPDIR@
 
54
ECHO_C = @ECHO_C@
 
55
ECHO_N = @ECHO_N@
 
56
ECHO_T = @ECHO_T@
 
57
EGREP = @EGREP@
 
58
EXEEXT = @EXEEXT@
 
59
INSTALL_DATA = @INSTALL_DATA@
 
60
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
61
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
62
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
63
LDFLAGS = @LDFLAGS@
 
64
LIBOBJS = @LIBOBJS@
 
65
LIBS = @LIBS@
 
66
LTLIBOBJS = @LTLIBOBJS@
 
67
MAINT = @MAINT@
 
68
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
 
69
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
 
70
MAKEINFO = @MAKEINFO@
 
71
OBJEXT = @OBJEXT@
 
72
PACKAGE = @PACKAGE@
 
73
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
74
PACKAGE_CFLAGS = @PACKAGE_CFLAGS@
 
75
PACKAGE_NAME = @PACKAGE_NAME@
 
76
PACKAGE_STRING = @PACKAGE_STRING@
 
77
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
78
PACKAGE_VERSION = @PACKAGE_VERSION@
 
79
PATH_SEPARATOR = @PATH_SEPARATOR@
 
80
RPMBUILD = @RPMBUILD@
 
81
SET_MAKE = @SET_MAKE@
 
82
SHELL = @SHELL@
 
83
STRIP = @STRIP@
 
84
VERSION = @VERSION@
 
85
ac_ct_CC = @ac_ct_CC@
 
86
ac_ct_STRIP = @ac_ct_STRIP@
 
87
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
88
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
 
89
am__include = @am__include@
 
90
am__leading_dot = @am__leading_dot@
 
91
am__quote = @am__quote@
 
92
bindir = @bindir@
 
93
build_alias = @build_alias@
 
94
datadir = @datadir@
 
95
exec_prefix = @exec_prefix@
 
96
host_alias = @host_alias@
 
97
includedir = @includedir@
 
98
infodir = @infodir@
 
99
install_sh = @install_sh@
 
100
libdir = @libdir@
 
101
libexecdir = @libexecdir@
 
102
localstatedir = @localstatedir@
 
103
mandir = @mandir@
 
104
oldincludedir = @oldincludedir@
 
105
prefix = @prefix@
 
106
program_transform_name = @program_transform_name@
 
107
sbindir = @sbindir@
 
108
sharedstatedir = @sharedstatedir@
 
109
sysconfdir = @sysconfdir@
 
110
target_alias = @target_alias@
 
111
sbin_PROGRAMS = cwdaemon
 
112
 
 
113
CLEANFILES = *~
 
114
 
 
115
EXTRA_DIST = cwdaemon.spec.in cwdaemon.spec test/cwtest.sh test/cwtest.c \
 
116
  cwdaemon.png TODO cwsetup.sh
 
117
 
 
118
 
 
119
man_MANS = cwdaemon.8
 
120
 
 
121
cwdaemon_SOURCES = cwdaemon.c cwdaemon.h lp.c ttys.c cwlib.c cwlib.h
 
122
subdir = .
 
123
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
124
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
125
CONFIG_CLEAN_FILES = cwdaemon.8 cwdaemon.spec
 
126
sbin_PROGRAMS = cwdaemon$(EXEEXT)
 
127
PROGRAMS = $(sbin_PROGRAMS)
 
128
 
 
129
am_cwdaemon_OBJECTS = cwdaemon.$(OBJEXT) lp.$(OBJEXT) ttys.$(OBJEXT) \
 
130
        cwlib.$(OBJEXT)
 
131
cwdaemon_OBJECTS = $(am_cwdaemon_OBJECTS)
 
132
cwdaemon_LDADD = $(LDADD)
 
133
cwdaemon_DEPENDENCIES =
 
134
cwdaemon_LDFLAGS =
 
135
 
 
136
DEFAULT_INCLUDES =  -I. -I$(srcdir)
 
137
depcomp = $(SHELL) $(top_srcdir)/depcomp
 
138
am__depfiles_maybe = depfiles
 
139
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/cwdaemon.Po ./$(DEPDIR)/cwlib.Po \
 
140
@AMDEP_TRUE@    ./$(DEPDIR)/lp.Po ./$(DEPDIR)/ttys.Po
 
141
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 
142
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
143
CCLD = $(CC)
 
144
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 
145
DIST_SOURCES = $(cwdaemon_SOURCES)
 
146
 
 
147
NROFF = nroff
 
148
MANS = $(man_MANS)
 
149
DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
 
150
        COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
 
151
        config.guess config.sub configure configure.in cwdaemon.8.in \
 
152
        cwdaemon.spec.in depcomp install-sh missing mkinstalldirs
 
153
SOURCES = $(cwdaemon_SOURCES)
 
154
 
 
155
all: all-am
 
156
 
 
157
.SUFFIXES:
 
158
.SUFFIXES: .c .o .obj
 
159
 
 
160
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 
161
 configure.lineno
 
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
 
163
        cd $(top_srcdir) && \
 
164
          $(AUTOMAKE) --gnu  Makefile
 
165
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
 
166
        cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
 
167
 
 
168
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
169
        $(SHELL) ./config.status --recheck
 
170
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
 
171
        cd $(srcdir) && $(AUTOCONF)
 
172
 
 
173
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in 
 
174
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
175
cwdaemon.8: $(top_builddir)/config.status cwdaemon.8.in
 
176
        cd $(top_builddir) && $(SHELL) ./config.status $@
 
177
cwdaemon.spec: $(top_builddir)/config.status cwdaemon.spec.in
 
178
        cd $(top_builddir) && $(SHELL) ./config.status $@
 
179
sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 
180
install-sbinPROGRAMS: $(sbin_PROGRAMS)
 
181
        @$(NORMAL_INSTALL)
 
182
        $(mkinstalldirs) $(DESTDIR)$(sbindir)
 
183
        @list='$(sbin_PROGRAMS)'; for p in $$list; do \
 
184
          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
 
185
          if test -f $$p \
 
186
          ; then \
 
187
            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
 
188
           echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
 
189
           $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
 
190
          else :; fi; \
 
191
        done
 
192
 
 
193
uninstall-sbinPROGRAMS:
 
194
        @$(NORMAL_UNINSTALL)
 
195
        @list='$(sbin_PROGRAMS)'; for p in $$list; do \
 
196
          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
 
197
          echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
 
198
          rm -f $(DESTDIR)$(sbindir)/$$f; \
 
199
        done
 
200
 
 
201
clean-sbinPROGRAMS:
 
202
        -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
 
203
cwdaemon$(EXEEXT): $(cwdaemon_OBJECTS) $(cwdaemon_DEPENDENCIES) 
 
204
        @rm -f cwdaemon$(EXEEXT)
 
205
        $(LINK) $(cwdaemon_LDFLAGS) $(cwdaemon_OBJECTS) $(cwdaemon_LDADD) $(LIBS)
 
206
 
 
207
mostlyclean-compile:
 
208
        -rm -f *.$(OBJEXT) core *.core
 
209
 
 
210
distclean-compile:
 
211
        -rm -f *.tab.c
 
212
 
 
213
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwdaemon.Po@am__quote@
 
214
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwlib.Po@am__quote@
 
215
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lp.Po@am__quote@
 
216
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ttys.Po@am__quote@
 
217
 
 
218
.c.o:
 
219
@am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
 
220
@am__fastdepCC_TRUE@      -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
 
221
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
 
222
@am__fastdepCC_TRUE@    else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
 
223
@am__fastdepCC_TRUE@    fi
 
224
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 
225
@AMDEP_TRUE@@am__fastdepCC_FALSE@       depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
 
226
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
227
@am__fastdepCC_FALSE@   $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
 
228
 
 
229
.c.obj:
 
230
@am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
 
231
@am__fastdepCC_TRUE@      -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
 
232
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
 
233
@am__fastdepCC_TRUE@    else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
 
234
@am__fastdepCC_TRUE@    fi
 
235
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 
236
@AMDEP_TRUE@@am__fastdepCC_FALSE@       depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
 
237
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
238
@am__fastdepCC_FALSE@   $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
 
239
uninstall-info-am:
 
240
 
 
241
man8dir = $(mandir)/man8
 
242
install-man8: $(man8_MANS) $(man_MANS)
 
243
        @$(NORMAL_INSTALL)
 
244
        $(mkinstalldirs) $(DESTDIR)$(man8dir)
 
245
        @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
 
246
        l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
 
247
        for i in $$l2; do \
 
248
          case "$$i" in \
 
249
            *.8*) list="$$list $$i" ;; \
 
250
          esac; \
 
251
        done; \
 
252
        for i in $$list; do \
 
253
          if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
 
254
          else file=$$i; fi; \
 
255
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
256
          case "$$ext" in \
 
257
            8*) ;; \
 
258
            *) ext='8' ;; \
 
259
          esac; \
 
260
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
261
          inst=`echo $$inst | sed -e 's/^.*\///'`; \
 
262
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
263
          echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
 
264
          $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
 
265
        done
 
266
uninstall-man8:
 
267
        @$(NORMAL_UNINSTALL)
 
268
        @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
 
269
        l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
 
270
        for i in $$l2; do \
 
271
          case "$$i" in \
 
272
            *.8*) list="$$list $$i" ;; \
 
273
          esac; \
 
274
        done; \
 
275
        for i in $$list; do \
 
276
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
277
          case "$$ext" in \
 
278
            8*) ;; \
 
279
            *) ext='8' ;; \
 
280
          esac; \
 
281
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
282
          inst=`echo $$inst | sed -e 's/^.*\///'`; \
 
283
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
284
          echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
 
285
          rm -f $(DESTDIR)$(man8dir)/$$inst; \
 
286
        done
 
287
 
 
288
ETAGS = etags
 
289
ETAGSFLAGS =
 
290
 
 
291
CTAGS = ctags
 
292
CTAGSFLAGS =
 
293
 
 
294
tags: TAGS
 
295
 
 
296
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 
297
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 
298
        unique=`for i in $$list; do \
 
299
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
300
          done | \
 
301
          $(AWK) '    { files[$$0] = 1; } \
 
302
               END { for (i in files) print i; }'`; \
 
303
        mkid -fID $$unique
 
304
 
 
305
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
306
                $(TAGS_FILES) $(LISP)
 
307
        tags=; \
 
308
        here=`pwd`; \
 
309
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
310
        unique=`for i in $$list; do \
 
311
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
312
          done | \
 
313
          $(AWK) '    { files[$$0] = 1; } \
 
314
               END { for (i in files) print i; }'`; \
 
315
        test -z "$(ETAGS_ARGS)$$tags$$unique" \
 
316
          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
317
             $$tags $$unique
 
318
 
 
319
ctags: CTAGS
 
320
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
321
                $(TAGS_FILES) $(LISP)
 
322
        tags=; \
 
323
        here=`pwd`; \
 
324
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
325
        unique=`for i in $$list; do \
 
326
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
327
          done | \
 
328
          $(AWK) '    { files[$$0] = 1; } \
 
329
               END { for (i in files) print i; }'`; \
 
330
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
 
331
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
 
332
             $$tags $$unique
 
333
 
 
334
GTAGS:
 
335
        here=`$(am__cd) $(top_builddir) && pwd` \
 
336
          && cd $(top_srcdir) \
 
337
          && gtags -i $(GTAGS_ARGS) $$here
 
338
 
 
339
distclean-tags:
 
340
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
341
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
342
 
 
343
top_distdir = .
 
344
distdir = $(PACKAGE)-$(VERSION)
 
345
 
 
346
am__remove_distdir = \
 
347
  { test ! -d $(distdir) \
 
348
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
 
349
         && rm -fr $(distdir); }; }
 
350
 
 
351
GZIP_ENV = --best
 
352
distuninstallcheck_listfiles = find . -type f -print
 
353
distcleancheck_listfiles = find . -type f -print
 
354
 
 
355
distdir: $(DISTFILES)
 
356
        $(am__remove_distdir)
 
357
        mkdir $(distdir)
 
358
        $(mkinstalldirs) $(distdir)/. $(distdir)/test
 
359
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 
360
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 
361
        list='$(DISTFILES)'; for file in $$list; do \
 
362
          case $$file in \
 
363
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
364
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
365
          esac; \
 
366
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
367
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 
368
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 
369
            dir="/$$dir"; \
 
370
            $(mkinstalldirs) "$(distdir)$$dir"; \
 
371
          else \
 
372
            dir=''; \
 
373
          fi; \
 
374
          if test -d $$d/$$file; then \
 
375
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
376
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
377
            fi; \
 
378
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
379
          else \
 
380
            test -f $(distdir)/$$file \
 
381
            || cp -p $$d/$$file $(distdir)/$$file \
 
382
            || exit 1; \
 
383
          fi; \
 
384
        done
 
385
        $(MAKE) $(AM_MAKEFLAGS) \
 
386
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
387
          dist-hook
 
388
        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
 
389
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
 
390
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
 
391
          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
 
392
        || chmod -R a+r $(distdir)
 
393
dist-gzip: distdir
 
394
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
395
        $(am__remove_distdir)
 
396
 
 
397
dist dist-all: distdir
 
398
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
399
        $(am__remove_distdir)
 
400
 
 
401
# This target untars the dist file and tries a VPATH configuration.  Then
 
402
# it guarantees that the distribution is self-contained by making another
 
403
# tarfile.
 
404
distcheck: dist
 
405
        $(am__remove_distdir)
 
406
        GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
 
407
        chmod -R a-w $(distdir); chmod a+w $(distdir)
 
408
        mkdir $(distdir)/_build
 
409
        mkdir $(distdir)/_inst
 
410
        chmod a-w $(distdir)
 
411
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
 
412
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
 
413
          && cd $(distdir)/_build \
 
414
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
 
415
            $(DISTCHECK_CONFIGURE_FLAGS) \
 
416
          && $(MAKE) $(AM_MAKEFLAGS) \
 
417
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
 
418
          && $(MAKE) $(AM_MAKEFLAGS) check \
 
419
          && $(MAKE) $(AM_MAKEFLAGS) install \
 
420
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
 
421
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
 
422
          && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
 
423
                distuninstallcheck \
 
424
          && chmod -R a-w "$$dc_install_base" \
 
425
          && ({ \
 
426
               (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
 
427
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
 
428
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
 
429
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
 
430
                    distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
 
431
              } || { rm -rf "$$dc_destdir"; exit 1; }) \
 
432
          && rm -rf "$$dc_destdir" \
 
433
          && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
 
434
          && rm -f $(distdir).tar.gz \
 
435
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
 
436
        $(am__remove_distdir)
 
437
        @echo "$(distdir).tar.gz is ready for distribution" | \
 
438
          sed 'h;s/./=/g;p;x;p;x'
 
439
distuninstallcheck:
 
440
        @cd $(distuninstallcheck_dir) \
 
441
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
 
442
           || { echo "ERROR: files left after uninstall:" ; \
 
443
                if test -n "$(DESTDIR)"; then \
 
444
                  echo "  (check DESTDIR support)"; \
 
445
                fi ; \
 
446
                $(distuninstallcheck_listfiles) ; \
 
447
                exit 1; } >&2
 
448
distcleancheck: distclean
 
449
        @if test '$(srcdir)' = . ; then \
 
450
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
 
451
          exit 1 ; \
 
452
        fi
 
453
        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
 
454
          || { echo "ERROR: files left in build directory after distclean:" ; \
 
455
               $(distcleancheck_listfiles) ; \
 
456
               exit 1; } >&2
 
457
check-am: all-am
 
458
check: check-am
 
459
all-am: Makefile $(PROGRAMS) $(MANS)
 
460
 
 
461
installdirs:
 
462
        $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
 
463
install: install-am
 
464
install-exec: install-exec-am
 
465
install-data: install-data-am
 
466
uninstall: uninstall-am
 
467
 
 
468
install-am: all-am
 
469
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
470
 
 
471
installcheck: installcheck-am
 
472
install-strip:
 
473
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
474
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
475
          `test -z '$(STRIP)' || \
 
476
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
477
mostlyclean-generic:
 
478
 
 
479
clean-generic:
 
480
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
481
 
 
482
distclean-generic:
 
483
        -rm -f $(CONFIG_CLEAN_FILES)
 
484
 
 
485
maintainer-clean-generic:
 
486
        @echo "This command is intended for maintainers to use"
 
487
        @echo "it deletes files that may require special tools to rebuild."
 
488
clean: clean-am
 
489
 
 
490
clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am
 
491
 
 
492
distclean: distclean-am
 
493
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
494
        -rm -rf ./$(DEPDIR)
 
495
        -rm -f Makefile
 
496
distclean-am: clean-am distclean-compile distclean-generic \
 
497
        distclean-tags
 
498
 
 
499
dvi: dvi-am
 
500
 
 
501
dvi-am:
 
502
 
 
503
info: info-am
 
504
 
 
505
info-am:
 
506
 
 
507
install-data-am: install-data-local install-man
 
508
 
 
509
install-exec-am: install-sbinPROGRAMS
 
510
 
 
511
install-info: install-info-am
 
512
 
 
513
install-man: install-man8
 
514
 
 
515
installcheck-am:
 
516
 
 
517
maintainer-clean: maintainer-clean-am
 
518
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
519
        -rm -rf $(top_srcdir)/autom4te.cache
 
520
        -rm -rf ./$(DEPDIR)
 
521
        -rm -f Makefile
 
522
maintainer-clean-am: distclean-am maintainer-clean-generic
 
523
 
 
524
mostlyclean: mostlyclean-am
 
525
 
 
526
mostlyclean-am: mostlyclean-compile mostlyclean-generic
 
527
 
 
528
pdf: pdf-am
 
529
 
 
530
pdf-am:
 
531
 
 
532
ps: ps-am
 
533
 
 
534
ps-am:
 
535
 
 
536
uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
 
537
 
 
538
uninstall-man: uninstall-man8
 
539
 
 
540
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
 
541
        clean-sbinPROGRAMS ctags dist dist-all dist-gzip distcheck \
 
542
        distclean distclean-compile distclean-generic distclean-tags \
 
543
        distcleancheck distdir distuninstallcheck dvi dvi-am info \
 
544
        info-am install install-am install-data install-data-am \
 
545
        install-data-local install-exec install-exec-am install-info \
 
546
        install-info-am install-man install-man8 install-sbinPROGRAMS \
 
547
        install-strip installcheck installcheck-am installdirs \
 
548
        maintainer-clean maintainer-clean-generic mostlyclean \
 
549
        mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
 
550
        tags uninstall uninstall-am uninstall-info-am uninstall-man \
 
551
        uninstall-man8 uninstall-sbinPROGRAMS
 
552
 
 
553
 
 
554
install-data-local:
 
555
        @$(NORMAL_INSTALL)
 
556
        $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
 
557
        $(INSTALL_DATA) README $(DESTDIR)$(pkgdatadir)
 
558
        $(INSTALL_DATA) schematics/parallelport_circuit.ps $(DESTDIR)$(pkgdatadir)
 
559
        $(INSTALL_DATA) schematics/serialport_circuit.ps $(DESTDIR)$(pkgdatadir)
 
560
        $(INSTALL_DATA) schematics/parallelport_circuit.jpg $(DESTDIR)$(pkgdatadir)
 
561
        $(INSTALL_DATA) schematics/serialport_circuit.jpg $(DESTDIR)$(pkgdatadir)
 
562
        $(INSTALL_DATA) test/cwtest.sh $(DESTDIR)$(pkgdatadir)
 
563
        $(INSTALL_DATA) cwsetup.sh $(DESTDIR)$(pkgdatadir)
 
564
        $(INSTALL_DATA) test/cwtest.c $(DESTDIR)$(pkgdatadir)
 
565
        $(INSTALL_DATA) cwdaemon.png $(DESTDIR)$(pkgdatadir)
 
566
 
 
567
dist-hook:
 
568
        if test -d schematics; then \
 
569
                mkdir $(distdir)/schematics; \
 
570
                for file in schematics/*; do \
 
571
                        if test -f $$file; then \
 
572
                                cp -p $$file $(distdir)/schematics; \
 
573
                        fi \
 
574
                done \
 
575
        fi
 
576
        if test -d debian; then \
 
577
                mkdir $(distdir)/debian; \
 
578
                for debian in debian/*; do \
 
579
                        if test -f $$debian; then \
 
580
                                cp -p $$debian $(distdir)/debian; \
 
581
                        fi \
 
582
                done \
 
583
        fi
 
584
        if test -d test; then \
 
585
                mkdir $(distdir)/test; \
 
586
                for test in test/*; do \
 
587
                        if test -f $$test; then \
 
588
                                cp -p $$test $(distdir)/test; \
 
589
                        fi \
 
590
                done \
 
591
        fi
 
592
        if test -d patches; then \
 
593
                mkdir $(distdir)/patches; \
 
594
                for patch in patches/*; do \
 
595
                        if test -f $$patch; then \
 
596
                                cp -p $$patch $(distdir)/patches; \
 
597
                        fi \
 
598
                done \
 
599
        fi
 
600
 
 
601
rpm: Makefile
 
602
        make dist
 
603
        $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
 
604
        rm $(PACKAGE)-$(VERSION).tar.gz
 
605
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
606
# Otherwise a system limit (for SysV at least) may be exceeded.
 
607
.NOEXPORT: