1 AUTOMAKE_OPTIONS = foreign no-dependencies subdir-objects
5 bin_PROGRAMS = $(program)
17 beanstalkd_SOURCES = beanstalkd.c $(aux_sources)
20 $(srcdir)/tests/test_conn.c \
21 $(srcdir)/tests/test_job.c \
22 $(srcdir)/tests/test_ms.c \
23 $(srcdir)/tests/test_net.c \
24 $(srcdir)/tests/test_pq.c \
25 $(srcdir)/tests/test_prot.c \
26 $(srcdir)/tests/test_reserve.c \
27 $(srcdir)/tests/test_tube.c \
28 $(srcdir)/tests/test_util.c
30 EXTRA_DIST = cutgen.c $(tests) cut.h sh-tests check.sh check-one.sh \
43 dist_doc_DATA = doc/protocol.txt
44 dist_man_MANS = doc/beanstalkd.1
46 check-cut: tests/cutcheck
49 check-shell: $(program)
50 $(srcdir)/check.sh $(srcdir)/sh-tests/*.commands
52 check: check-cut check-shell
56 tests/cutcheck.c: $(tests) cutgen
58 ./cutgen -o tests/cutcheck.c $(tests)
60 tests/cutcheck: tests/cutcheck.o $(aux_sources:.c=.o) $(tests:.c=.o)
61 $(LINK) $^ $(beanstalkd_LDADD) $(LIBS)
63 CLEANFILES = cutgen tests/cutcheck* tests/*.o
65 DISTCLEANFILES = core core.* gmon.out $(program)-*.tar.gz
68 echo -e '#!/bin/sh\n\n# This file was generated by "make dist".\necho $(VERSION)' > $(distdir)/version.sh
69 chmod +x $(distdir)/version.sh