summaryrefslogtreecommitdiff
path: root/cpp/src/Makefile.am
blob: 22bcd5c554a992f13bb217a9782b3ece54857fab (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
SUBDIRS = broker . client tests gen

AM_CXXFLAGS = $(WARNING_CFLAGS)

INCLUDES =				\
  -I$(srcdir)/gen			\
  $(APR_CXXFLAGS)

qpidd_LDADD =                         \
  broker/libqpidbroker.la        \
  libqpidcommon.la

sbin_PROGRAMS = qpidd
qpidd_SOURCES = qpidd.cpp

apr = sys/apr
apr_src =			\
  $(apr)/APRAcceptor.cpp	\
  $(apr)/APRBase.cpp		\
  $(apr)/APRPool.cpp		\
  $(apr)/APRSocket.cpp		\
  $(apr)/LFProcessor.cpp	\
  $(apr)/LFSessionContext.cpp	\
  $(apr)/Socket.cpp		\
  $(apr)/Thread.cpp
apr_hdr =			\
  $(apr)/APRBase.h		\
  $(apr)/APRPool.h		\
  $(apr)/APRSocket.h		\
  $(apr)/LFProcessor.h		\
  $(apr)/LFSessionContext.h	

posix = sys/posix
posix_src =				\
  $(posix)/PosixAcceptor.cpp		\
  $(posix)/Socket.cpp			\
  $(posix)/Thread.cpp			\
  $(posix)/check.cpp			\
  $(posix)/EventChannel.cpp		\
  $(posix)/EventChannelThreads.cpp		
posix_hdr = 				\
  $(posix)/check.h			\
  $(posix)/EventChannel.h		\
  $(posix)/EventChannelThreads.h

EXTRA_DIST=$(posix_src) $(posix_hdr)
platform_src = $(apr_src)
platform_hdr = $(apr_hdr)

framing = framing
gen     = gen

lib_LTLIBRARIES = libqpidcommon.la
libqpidcommon_la_LIBADD =		\
  $(APR_LIBS)			\
  $(LIB_DLOPEN)			\
  $(LIB_CLOCK_GETTIME)

libqpidcommon_la_LDFLAGS =		\
  -version-info			\
  $(LIBTOOL_VERSION_INFO_ARG)

libqpidcommon_la_SOURCES =			\
  $(platform_src)				\
  $(framing)/AMQBody.cpp			\
  $(framing)/AMQRequestBody.cpp			\
  $(framing)/AMQResponseBody.cpp		\
  $(framing)/AMQContentBody.cpp			\
  $(framing)/AMQFrame.cpp			\
  $(framing)/AMQHeaderBody.cpp			\
  $(framing)/AMQHeartbeatBody.cpp		\
  $(framing)/AMQMethodBody.cpp			\
  $(framing)/MethodContext.cpp			\
  $(framing)/BasicHeaderProperties.cpp		\
  $(framing)/BodyHandler.cpp			\
  $(framing)/ChannelAdapter.cpp			\
  $(framing)/Buffer.cpp				\
  $(framing)/FieldTable.cpp			\
  $(framing)/FramingContent.cpp			\
  $(framing)/InitiationHandler.cpp		\
  $(framing)/ProtocolInitiation.cpp		\
  $(framing)/ProtocolVersion.cpp		\
  $(framing)/ProtocolVersionException.cpp	\
  $(framing)/Requester.cpp			\
  $(framing)/Responder.cpp			\
  $(framing)/Value.cpp				\
  $(framing)/Proxy.cpp				\
  $(gen)/AMQP_ClientProxy.cpp			\
  $(gen)/AMQP_HighestVersion.h		\
  $(gen)/AMQP_MethodVersionMap.cpp		\
  $(gen)/AMQP_ServerProxy.cpp			\
  Exception.cpp					\
  ExceptionHolder.cpp				\
  QpidError.cpp					\
  sys/Runnable.cpp				\
  sys/Time.cpp					\
  sys/ProducerConsumer.cpp

nobase_pkginclude_HEADERS =			\
  $(gen)/AMQP_HighestVersion.h			\
  $(platform_hdr)				\
  $(framing)/AMQBody.h				\
  $(framing)/AMQContentBody.h			\
  $(framing)/AMQDataBlock.h			\
  $(framing)/AMQFrame.h				\
  $(framing)/AMQHeaderBody.h			\
  $(framing)/AMQHeartbeatBody.h			\
  $(framing)/AMQMethodBody.h			\
  $(framing)/MethodContext.h			\
  $(framing)/BasicHeaderProperties.h		\
  $(framing)/BodyHandler.h			\
  $(framing)/ChannelAdapter.h			\
  $(framing)/Buffer.h				\
  $(framing)/FieldTable.h			\
  $(framing)/FramingContent.h			\
  $(framing)/HeaderProperties.h			\
  $(framing)/InitiationHandler.h		\
  $(framing)/InputHandler.h			\
  $(framing)/OutputHandler.h			\
  $(framing)/ProtocolInitiation.h		\
  $(framing)/ProtocolVersion.h			\
  $(framing)/ProtocolVersionException.h		\
  $(framing)/Value.h				\
  $(framing)/amqp_framing.h			\
  $(framing)/amqp_types.h			\
  $(framing)/Proxy.h				\
  shared_ptr.h					\
  Exception.h					\
  ExceptionHolder.h				\
  QpidError.h					\
  SharedObject.h				\
  sys/Acceptor.h				\
  sys/AtomicCount.h				\
  sys/Module.h					\
  sys/Monitor.h					\
  sys/Mutex.h					\
  sys/Runnable.h				\
  sys/ConnectionOutputHandler.h			\
  sys/ConnectionInputHandler.h			\
  sys/ConnectionInputHandlerFactory.h		\
  sys/ShutdownHandler.h				\
  sys/Socket.h					\
  sys/Thread.h					\
  sys/Time.h					\
  sys/TimeoutHandler.h				\
  sys/ProducerConsumer.h


# Force build during dist phase so help2man will work.
dist-hook: $(lib_LTLIBRARIES) $(sbin_PROGRAMS)