summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
blob: ccd36caff5463c768ae73bb366ce9cb45e81aad0 (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
SUBDIRS=doc

bin_PROGRAMS = amqp-publish amqp-get amqp-consume amqp-declare-queue amqp-delete-queue

AM_CFLAGS = -I$(top_srcdir)/librabbitmq -I$(srcdir)/$(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 = \
	unix/process.c unix/process.h \
	windows/process.c windows/process.h \
	windows/compat.c windows/compat.h