summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: ea10f77638e120ecc614bfc52327b786ff5fe9ef (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
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

if USE_MSINTTYPES
AM_CFLAGS += -I$(top_srcdir)/msinttypes
endif

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

noinst_HEADERS = utils.h

COMMON_SOURCES = utils.c $(PLATFORM_DIR)/platform_utils.c

amqp_sendstring_SOURCES = amqp_sendstring.c $(COMMON_SOURCES)
amqp_exchange_declare_SOURCES = amqp_exchange_declare.c $(COMMON_SOURCES)
amqp_listen_SOURCES = amqp_listen.c $(COMMON_SOURCES)
amqp_producer_SOURCES = amqp_producer.c $(COMMON_SOURCES)
amqp_consumer_SOURCES = amqp_consumer.c $(COMMON_SOURCES)
amqp_unbind_SOURCES = amqp_unbind.c $(COMMON_SOURCES)
amqp_bind_SOURCES = amqp_bind.c $(COMMON_SOURCES)
amqp_listenq_SOURCES = amqp_listenq.c $(COMMON_SOURCES)