File: Makefile.in

package info (click to toggle)
libhsync 0.5.7-1.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,060 kB
  • ctags: 543
  • sloc: sh: 7,944; ansic: 5,413; makefile: 154
file content (695 lines) | stat: -rw-r--r-- 21,926 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 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.

# Copyright (C) 2000 by Martin Pool <mbp@humbug.org.au>
# $Id: Makefile.am,v 1.68 2000/08/13 10:43:19 mbp Exp $

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
# 
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = .

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
CC = @CC@
CCMALLOC_LIB = @CCMALLOC_LIB@
CC_SHOBJ_FLAG = @CC_SHOBJ_FLAG@
CPP = @CPP@
LIBOBJS = @LIBOBJS@
MAKEINFO = @MAKEINFO@
OBJ_RESTORE = @OBJ_RESTORE@
OBJ_SAVE = @OBJ_SAVE@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
VERSION = @VERSION@
libhsync_libversion = @libhsync_libversion@
net_libs = @net_libs@

lib_LIBRARIES = libhsync.a

libhsync_a_SOURCES =  	alw.c alw.h 	dec.c 	emit.c emit.h 	private.h 	netio.c netio.h 	includes.h 	mdfour.c 	filebuf.c membuf.c ptrbuf.c 	checksum.c checksum.h 	sum_p.h 	copyq.c 	inhale.c inhale.h 	trace.c trace.h 	hex.c stats.c 	mapptr.c mapptr.h mapcopy.c map_p.h 	fileutil.c fileutil.h 	gdproto.c 	util.c util.h 	mksum.c mksum.h 	sumset.c sumset.h 	rollsum.c rollsum.h 	nad.c nad_p.h nadsrch.c nadout.c 	search.c search.h 	nozzle.c 	command.h 	protocol.h 	prototab.c prototab.h 	oldinhale.c 	litbuf.c 	varint.c varint.h 	snprintf.h


# TODO: If we ever care enough, build a second library containing only
# the code necessary to be a client, and not stuff for encoding.  At
# the moment it doesn't seem worth the additional compilation time to
# do both, and I don't know if anyone will care if they're just shared
# libraries anyhow.

# NB: tests should exit with code 77 if they can't be run but haven't
# failed.

# Generally these tests should be ordered so that more basic tests
# are run first.

# TODO: driver.sh requires bash.  Therefore we should either test for
# it and use it rather than $SHELL, or we should rewrite it to work in
# plain Bourne shell.

TESTS_ENVIRONMENT = bash $(srcdir)/driver.sh
test_scripts =  	test-maptcp.sh 	test-tricky.sh 	test-chain.sh 	test-md4sizes.sh 	test-mapread.sh 	test-cmds.sh 	test-thrice.sh 	test-mappipe.sh 	test-mapeof.sh 	test-mapover.sh 	test-nadsum.sh 	test-pairs.sh 	test-exact.sh 	test-double.sh


# These are extra documents to be included in the source tarball.
extra_docs = README.CVS

# These ones are not tests, but are useful in watching the code run
# through.
try_scripts = 

TESTS = $(test_scripts)

noinst_SCRIPTS =  	$(test_scripts) 	driver.sh 	test-meta.sh 	mkprototab.sh 	$(try_scripts)


test_data =  	test-cmds.in in-tricky/in-01					in-tricky/in-02					in-tricky/in-03					in-tricky/in-04					in-tricky/in-05					in-tricky/in-06					in-tricky/in-07


# TODO: Delete the test-*.d directories when cleaning up.  Yeah!
CLEANFILES = tmp-test-*.d/* tmp-try-*.d/*

EXTRA_DIST = $(noinst_SCRIPTS) $(test_data) $(extra_docs) 

include_HEADERS = hsync.h

# This is the default for any programs that don't specify a
# preference.
LDADD = libhsync.a $(LIBOBJS)

libhsync_tools = hsdecode hsmdfour hsmksum hsmapread hsnad 		 hsalw 		libhsyncinfo hsdumpsums


# Eventually we might want to install some of these into system
# directories, but they're pretty obscure and it's hard to imagine any
# end users wanting to run them.  So for the time being they are not
# installed.

noinst_PROGRAMS = $(libhsync_tools)
check_PROGRAMS = hsemit hsinhale genmaptest 	socksvr sockcli sockrun trylog


trylog_SOURCES = trylog.c 

sockrun_SOURCES = sockrun.c trace.c util.c fileutil.c
sockrun_LDADD = @net_libs@

socksvr_SOURCES = socksvr.c trace.c util.c
socksvr_LDADD = @net_libs@

sockcli_SOURCES = sockcli.c trace.c util.c fileutil.c
sockcli_LDADD = @net_libs@

genmaptest_LDADD = 

libhsyncinfo_SOURCES = libhsyncinfo.c

hsnad_SOURCES = hsnad.c

hsmksum_SOURCES = hsmksum.c

hsmdfour_SOURCES = hsmdfour.c

hsdecode_SOURCES = hsdecode.c

hsalw_SOURCES = hsalw.c

hsemit_SOURCES = hsemit.c

hsinhale_SOURCES = hsinhale.c

hsmapread_SOURCES = hsmapread.c
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = 
LIBRARIES =  $(lib_LIBRARIES)


DEFS = @DEFS@ -I. -I$(srcdir) -I.
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libhsync_a_LIBADD = 
libhsync_a_OBJECTS =  alw.o dec.o emit.o netio.o mdfour.o filebuf.o \
membuf.o ptrbuf.o checksum.o copyq.o inhale.o trace.o hex.o stats.o \
mapptr.o mapcopy.o fileutil.o gdproto.o util.o mksum.o sumset.o \
rollsum.o nad.o nadsrch.o nadout.o search.o nozzle.o prototab.o \
oldinhale.o litbuf.o varint.o
AR = ar
PROGRAMS =  $(noinst_PROGRAMS)

hsemit_OBJECTS =  hsemit.o
hsemit_LDADD = $(LDADD)
hsemit_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsemit_LDFLAGS = 
hsinhale_OBJECTS =  hsinhale.o
hsinhale_LDADD = $(LDADD)
hsinhale_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsinhale_LDFLAGS = 
genmaptest_SOURCES = genmaptest.c
genmaptest_OBJECTS =  genmaptest.o
genmaptest_DEPENDENCIES = 
genmaptest_LDFLAGS = 
socksvr_OBJECTS =  socksvr.o trace.o util.o
socksvr_DEPENDENCIES = 
socksvr_LDFLAGS = 
sockcli_OBJECTS =  sockcli.o trace.o util.o fileutil.o
sockcli_DEPENDENCIES = 
sockcli_LDFLAGS = 
sockrun_OBJECTS =  sockrun.o trace.o util.o fileutil.o
sockrun_DEPENDENCIES = 
sockrun_LDFLAGS = 
trylog_OBJECTS =  trylog.o
trylog_LDADD = $(LDADD)
trylog_DEPENDENCIES =  libhsync.a @LIBOBJS@
trylog_LDFLAGS = 
hsdecode_OBJECTS =  hsdecode.o
hsdecode_LDADD = $(LDADD)
hsdecode_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsdecode_LDFLAGS = 
hsmdfour_OBJECTS =  hsmdfour.o
hsmdfour_LDADD = $(LDADD)
hsmdfour_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsmdfour_LDFLAGS = 
hsmksum_OBJECTS =  hsmksum.o
hsmksum_LDADD = $(LDADD)
hsmksum_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsmksum_LDFLAGS = 
hsmapread_OBJECTS =  hsmapread.o
hsmapread_LDADD = $(LDADD)
hsmapread_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsmapread_LDFLAGS = 
hsnad_OBJECTS =  hsnad.o
hsnad_LDADD = $(LDADD)
hsnad_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsnad_LDFLAGS = 
hsalw_OBJECTS =  hsalw.o
hsalw_LDADD = $(LDADD)
hsalw_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsalw_LDFLAGS = 
libhsyncinfo_OBJECTS =  libhsyncinfo.o
libhsyncinfo_LDADD = $(LDADD)
libhsyncinfo_DEPENDENCIES =  libhsync.a @LIBOBJS@
libhsyncinfo_LDFLAGS = 
hsdumpsums_SOURCES = hsdumpsums.c
hsdumpsums_OBJECTS =  hsdumpsums.o
hsdumpsums_LDADD = $(LDADD)
hsdumpsums_DEPENDENCIES =  libhsync.a @LIBOBJS@
hsdumpsums_LDFLAGS = 
SCRIPTS =  $(noinst_SCRIPTS)

CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
HEADERS =  $(include_HEADERS)

DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS THANKS TODO acconfig.h acinclude.m4 \
aclocal.m4 config.guess config.h.in config.sub configure configure.in \
install-sh ltconfig ltmain.sh missing mkinstalldirs snprintf.c


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = tar
GZIP_ENV = --best
SOURCES = $(libhsync_a_SOURCES) $(hsemit_SOURCES) $(hsinhale_SOURCES) genmaptest.c $(socksvr_SOURCES) $(sockcli_SOURCES) $(sockrun_SOURCES) $(trylog_SOURCES) $(hsdecode_SOURCES) $(hsmdfour_SOURCES) $(hsmksum_SOURCES) $(hsmapread_SOURCES) $(hsnad_SOURCES) $(hsalw_SOURCES) $(libhsyncinfo_SOURCES) hsdumpsums.c
OBJECTS = $(libhsync_a_OBJECTS) $(hsemit_OBJECTS) $(hsinhale_OBJECTS) genmaptest.o $(socksvr_OBJECTS) $(sockcli_OBJECTS) $(sockrun_OBJECTS) $(trylog_OBJECTS) $(hsdecode_OBJECTS) $(hsmdfour_OBJECTS) $(hsmksum_OBJECTS) $(hsmapread_OBJECTS) $(hsnad_OBJECTS) $(hsalw_OBJECTS) $(libhsyncinfo_OBJECTS) hsdumpsums.o

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps ./Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

$(ACLOCAL_M4):  configure.in  acinclude.m4
	cd $(srcdir) && $(ACLOCAL)

config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)

config.h: stamp-h
	@if test ! -f $@; then \
		rm -f stamp-h; \
		$(MAKE) stamp-h; \
	else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
	     $(SHELL) ./config.status
	@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
	@if test ! -f $@; then \
		rm -f $(srcdir)/stamp-h.in; \
		$(MAKE) $(srcdir)/stamp-h.in; \
	else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
	cd $(top_srcdir) && $(AUTOHEADER)
	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null

mostlyclean-hdr:

clean-hdr:

distclean-hdr:
	-rm -f config.h

maintainer-clean-hdr:

mostlyclean-libLIBRARIES:

clean-libLIBRARIES:
	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)

distclean-libLIBRARIES:

maintainer-clean-libLIBRARIES:

install-libLIBRARIES: $(lib_LIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(libdir)
	@list='$(lib_LIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
	    $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
	  else :; fi; \
	done
	@$(POST_INSTALL)
	@list='$(lib_LIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
	    $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
	  else :; fi; \
	done

uninstall-libLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(lib_LIBRARIES)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(libdir)/$$p; \
	done

.c.o:
	$(COMPILE) -c $<

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

libhsync.a: $(libhsync_a_OBJECTS) $(libhsync_a_DEPENDENCIES)
	-rm -f libhsync.a
	$(AR) cru libhsync.a $(libhsync_a_OBJECTS) $(libhsync_a_LIBADD)
	$(RANLIB) libhsync.a

mostlyclean-checkPROGRAMS:

clean-checkPROGRAMS:
	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)

distclean-checkPROGRAMS:

maintainer-clean-checkPROGRAMS:

mostlyclean-noinstPROGRAMS:

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)

distclean-noinstPROGRAMS:

maintainer-clean-noinstPROGRAMS:

hsemit: $(hsemit_OBJECTS) $(hsemit_DEPENDENCIES)
	@rm -f hsemit
	$(LINK) $(hsemit_LDFLAGS) $(hsemit_OBJECTS) $(hsemit_LDADD) $(LIBS)

hsinhale: $(hsinhale_OBJECTS) $(hsinhale_DEPENDENCIES)
	@rm -f hsinhale
	$(LINK) $(hsinhale_LDFLAGS) $(hsinhale_OBJECTS) $(hsinhale_LDADD) $(LIBS)

genmaptest: $(genmaptest_OBJECTS) $(genmaptest_DEPENDENCIES)
	@rm -f genmaptest
	$(LINK) $(genmaptest_LDFLAGS) $(genmaptest_OBJECTS) $(genmaptest_LDADD) $(LIBS)

socksvr: $(socksvr_OBJECTS) $(socksvr_DEPENDENCIES)
	@rm -f socksvr
	$(LINK) $(socksvr_LDFLAGS) $(socksvr_OBJECTS) $(socksvr_LDADD) $(LIBS)

sockcli: $(sockcli_OBJECTS) $(sockcli_DEPENDENCIES)
	@rm -f sockcli
	$(LINK) $(sockcli_LDFLAGS) $(sockcli_OBJECTS) $(sockcli_LDADD) $(LIBS)

sockrun: $(sockrun_OBJECTS) $(sockrun_DEPENDENCIES)
	@rm -f sockrun
	$(LINK) $(sockrun_LDFLAGS) $(sockrun_OBJECTS) $(sockrun_LDADD) $(LIBS)

trylog: $(trylog_OBJECTS) $(trylog_DEPENDENCIES)
	@rm -f trylog
	$(LINK) $(trylog_LDFLAGS) $(trylog_OBJECTS) $(trylog_LDADD) $(LIBS)

hsdecode: $(hsdecode_OBJECTS) $(hsdecode_DEPENDENCIES)
	@rm -f hsdecode
	$(LINK) $(hsdecode_LDFLAGS) $(hsdecode_OBJECTS) $(hsdecode_LDADD) $(LIBS)

hsmdfour: $(hsmdfour_OBJECTS) $(hsmdfour_DEPENDENCIES)
	@rm -f hsmdfour
	$(LINK) $(hsmdfour_LDFLAGS) $(hsmdfour_OBJECTS) $(hsmdfour_LDADD) $(LIBS)

hsmksum: $(hsmksum_OBJECTS) $(hsmksum_DEPENDENCIES)
	@rm -f hsmksum
	$(LINK) $(hsmksum_LDFLAGS) $(hsmksum_OBJECTS) $(hsmksum_LDADD) $(LIBS)

hsmapread: $(hsmapread_OBJECTS) $(hsmapread_DEPENDENCIES)
	@rm -f hsmapread
	$(LINK) $(hsmapread_LDFLAGS) $(hsmapread_OBJECTS) $(hsmapread_LDADD) $(LIBS)

hsnad: $(hsnad_OBJECTS) $(hsnad_DEPENDENCIES)
	@rm -f hsnad
	$(LINK) $(hsnad_LDFLAGS) $(hsnad_OBJECTS) $(hsnad_LDADD) $(LIBS)

hsalw: $(hsalw_OBJECTS) $(hsalw_DEPENDENCIES)
	@rm -f hsalw
	$(LINK) $(hsalw_LDFLAGS) $(hsalw_OBJECTS) $(hsalw_LDADD) $(LIBS)

libhsyncinfo: $(libhsyncinfo_OBJECTS) $(libhsyncinfo_DEPENDENCIES)
	@rm -f libhsyncinfo
	$(LINK) $(libhsyncinfo_LDFLAGS) $(libhsyncinfo_OBJECTS) $(libhsyncinfo_LDADD) $(LIBS)

hsdumpsums: $(hsdumpsums_OBJECTS) $(hsdumpsums_DEPENDENCIES)
	@rm -f hsdumpsums
	$(LINK) $(hsdumpsums_LDFLAGS) $(hsdumpsums_OBJECTS) $(hsdumpsums_LDADD) $(LIBS)

install-includeHEADERS: $(include_HEADERS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(includedir)
	@list='$(include_HEADERS)'; for p in $$list; do \
	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
	done

uninstall-includeHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(include_HEADERS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(includedir)/$$p; \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	-rm -rf $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
	cd $(distdir)/=build \
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) dist
	-rm -rf $(distdir)
	@banner="$(distdir).tar.gz is ready for distribution"; \
	dashes=`echo "$$banner" | sed s/./=/g`; \
	echo "$$dashes"; \
	echo "$$banner"; \
	echo "$$dashes"
dist: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
dist-all: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
distdir: $(DISTFILES)
	-rm -rf $(distdir)
	mkdir $(distdir)
	-chmod 777 $(distdir)
	$(mkinstalldirs) $(distdir)/in-tricky
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
check-TESTS: $(TESTS)
	@failed=0; all=0; \
	srcdir=$(srcdir); export srcdir; \
	for tst in $(TESTS); do \
	  if test -f $$tst; then dir=.; \
	  else dir="$(srcdir)"; fi; \
	  if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
	    all=`expr $$all + 1`; \
	    echo "PASS: $$tst"; \
	  elif test $$? -ne 77; then \
	    all=`expr $$all + 1`; \
	    failed=`expr $$failed + 1`; \
	    echo "FAIL: $$tst"; \
	  fi; \
	done; \
	if test "$$failed" -eq 0; then \
	  banner="All $$all tests passed"; \
	else \
	  banner="$$failed of $$all tests failed"; \
	fi; \
	dashes=`echo "$$banner" | sed s/./=/g`; \
	echo "$$dashes"; \
	echo "$$banner"; \
	echo "$$dashes"; \
	test "$$failed" -eq 0
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
installcheck-am:
installcheck: installcheck-am
all-recursive-am: config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

install-exec-am: install-libLIBRARIES install-exec-local
install-exec: install-exec-am

install-data-am: install-includeHEADERS
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libLIBRARIES uninstall-includeHEADERS
uninstall: uninstall-am
all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(SCRIPTS) $(HEADERS) config.h
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)


mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-hdr mostlyclean-libLIBRARIES \
		mostlyclean-compile mostlyclean-checkPROGRAMS \
		mostlyclean-noinstPROGRAMS mostlyclean-tags \
		mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-hdr clean-libLIBRARIES clean-compile \
		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
		clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-hdr distclean-libLIBRARIES distclean-compile \
		distclean-checkPROGRAMS distclean-noinstPROGRAMS \
		distclean-tags distclean-generic clean-am

distclean: distclean-am
	-rm -f config.status

maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-libLIBRARIES \
		maintainer-clean-compile maintainer-clean-checkPROGRAMS \
		maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am
	-rm -f config.status

.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
mostlyclean-libLIBRARIES distclean-libLIBRARIES clean-libLIBRARIES \
maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
install-libLIBRARIES mostlyclean-compile distclean-compile \
clean-compile maintainer-clean-compile mostlyclean-checkPROGRAMS \
distclean-checkPROGRAMS clean-checkPROGRAMS \
maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
distclean-noinstPROGRAMS clean-noinstPROGRAMS \
maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
maintainer-clean-tags distdir check-TESTS info-am info dvi-am dvi check \
check-am installcheck-am installcheck all-recursive-am \
install-exec-local install-exec-am install-exec install-data-am \
install-data install-am install uninstall-am uninstall all-redirect \
all-am all installdirs mostlyclean-generic distclean-generic \
clean-generic maintainer-clean-generic clean mostlyclean distclean \
maintainer-clean


			      # Thus spake the master programmer:
			      # 
			      # ``When the program is being tested, it
			      # is too late to make design changes.''

# As of 0.5.6, when we install we try to clobber any existing shared
# libraries.  Shared libraries are not supported any more, so we want
# to make sure people don't accidentally link against them.
install-exec-local: 
	rm -f $(DESTDIR)$(libdir)/libhsync.so* \
		$(DESTDIR)$(libdir)/libhsyncdecode.so*

# Autogenerated by a script
prototab.c: $(srcdir)/mkprototab.sh
	sh $(srcdir)/mkprototab.sh >prototab.c

.PHONY: check_programs
check_programs: $(check_PROGRAMS)

# 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: