blob: 9e68537fd821644f971b556ff537a4edc7f32bc6 (
plain)
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
|
bin_PROGRAMS = amqp-publish amqp-get amqp-consume amqp-declare-queue amqp-delete-queue
AM_CFLAGS = -I$(top_srcdir)/librabbitmq -I$(PLATFORM_DIR)
AM_LDFLAGS = $(top_builddir)/librabbitmq/librabbitmq.la
LDADD=$(LIBPOPT)
noinst_HEADERS = common.h $(PLATFORM_DIR)/process.h
COMMON_SOURCES = common.c
if WINDOWS
COMMON_SOURCES += windows/compat.c
endif
amqp_publish_SOURCES = publish.c $(COMMON_SOURCES)
amqp_get_SOURCES = get.c $(COMMON_SOURCES)
amqp_consume_SOURCES = consume.c $(PLATFORM_DIR)/process.c $(COMMON_SOURCES)
amqp_declare_queue_SOURCES = declare_queue.c $(COMMON_SOURCES)
amqp_delete_queue_SOURCES = delete_queue.c $(COMMON_SOURCES)
EXTRA_DIST = \
doc/publish.xml \
doc/consume.xml \
doc/get.xml \
doc/declare_queue.xml \
doc/delete_queue.xml \
doc/librabbitmq-tools.xml
if TOOLS_DOC
man_MANS = \
doc/amqp-publish.1 \
doc/amqp-consume.1 \
doc/amqp-get.1 \
doc/amqp-declare-queue.1 \
doc/amqp-delete-queue.1 \
doc/librabbitmq-tools.7
MOSTLYCLEANFILES = doc/man-date.ent
# automake complains about % pattern rules, and suffix rules don't
# support multiple dependencies, so we have to expand all these out.
doc/amqp-publish.1: doc/publish.xml doc/man-date.ent
$(XMLTO) man -o doc $<
doc/amqp-consume.1: doc/consume.xml doc/man-date.ent
$(XMLTO) man -o doc $<
doc/amqp-get.1: doc/get.xml doc/man-date.ent
$(XMLTO) man -o doc $<
doc/amqp-declare-queue.1: doc/declare_queue.xml doc/man-date.ent
$(XMLTO) man -o doc $<
doc/amqp-delete-queue.1: doc/delete_queue.xml doc/man-date.ent
$(XMLTO) man -o doc $<
doc/librabbitmq-tools.7: doc/librabbitmq-tools.xml doc/man-date.ent
$(XMLTO) man -o doc $<
doc/man-date.ent:
date +'%Y-%m-%d' >$@
clean::
rm -f doc/man-date.ent
endif
|