summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: a15d38baae78ae18aebe21ff294273ce86bb82cc (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
noinst_PROGRAMS = amqp_sendstring amqp_exchange_declare amqp_listen amqp_producer amqp_consumer \
	amqp_unbind amqp_bind amqp_listenq

AM_CFLAGS = -I$(top_srcdir)/librabbitmq

if GCC
# Because we want to build under Microsoft's C compiler (for which
# there is apparently no demand for C99 support), it's a good idea
# to have gcc tell us when we stray from the old standard.
AM_CFLAGS += -ansi -pedantic
endif

AM_LDFLAGS = $(top_builddir)/librabbitmq/librabbitmq.la

noinst_HEADERS = example_utils.h

amqp_sendstring_SOURCES = amqp_sendstring.c example_utils.c
amqp_exchange_declare_SOURCES = amqp_exchange_declare.c example_utils.c
amqp_listen_SOURCES = amqp_listen.c example_utils.c
amqp_producer_SOURCES = amqp_producer.c example_utils.c
amqp_consumer_SOURCES = amqp_consumer.c example_utils.c
amqp_unbind_SOURCES = amqp_unbind.c example_utils.c
amqp_bind_SOURCES = amqp_bind.c example_utils.c
amqp_listenq_SOURCES = amqp_listenq.c example_utils.c