summaryrefslogtreecommitdiff
path: root/cpp/lib/common/Makefile.am
blob: ed2ccd61a84d9c418dd0f7c1aca3f209ea3c89c3 (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
AM_CXXFLAGS = $(WARNING_CFLAGS)

INCLUDES =				\
  -I$(top_srcdir)/gen			\
  -I$(top_srcdir)/lib/common/sys	\
  -I$(top_srcdir)/lib/common/framing	\
  $(APR_CXXFLAGS)

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

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

EXTRA_DIST=$(posix_src)
platform_src = $(apr_src)

framing = framing
gen     = $(srcdir)/../../gen

lib_LTLIBRARIES = libcommon.la
libcommon_la_LIBADD =		\
  $(APR_LIBS)			\
  $(LIB_DLOPEN)			\
  $(LIB_CLOCK_GETTIME)

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

libcommon_la_SOURCES =				\
  $(platform_src)				\
  $(framing)/AMQBody.cpp			\
  $(framing)/AMQBody.h				\
  $(framing)/AMQContentBody.cpp			\
  $(framing)/AMQContentBody.h			\
  $(framing)/AMQDataBlock.h			\
  $(framing)/AMQFrame.cpp			\
  $(framing)/AMQFrame.h				\
  $(framing)/AMQHeaderBody.cpp			\
  $(framing)/AMQHeaderBody.h			\
  $(framing)/AMQHeartbeatBody.cpp		\
  $(framing)/AMQHeartbeatBody.h			\
  $(framing)/AMQMethodBody.cpp			\
  $(framing)/AMQMethodBody.h			\
  $(framing)/BasicHeaderProperties.cpp		\
  $(framing)/BasicHeaderProperties.h		\
  $(framing)/BodyHandler.cpp			\
  $(framing)/BodyHandler.h			\
  $(framing)/Buffer.cpp				\
  $(framing)/Buffer.h				\
  $(framing)/FieldTable.cpp			\
  $(framing)/FieldTable.h			\
  $(framing)/HeaderProperties.h			\
  $(framing)/InitiationHandler.cpp		\
  $(framing)/InitiationHandler.h		\
  $(framing)/InputHandler.h			\
  $(framing)/OutputHandler.h			\
  $(framing)/ProtocolInitiation.cpp		\
  $(framing)/ProtocolInitiation.h		\
  $(framing)/ProtocolVersion.cpp		\
  $(framing)/ProtocolVersion.h			\
  $(framing)/ProtocolVersionException.cpp	\
  $(framing)/ProtocolVersionException.h		\
  $(framing)/Value.cpp				\
  $(framing)/Value.h				\
  $(framing)/amqp_framing.h			\
  $(framing)/amqp_types.h			\
  $(gen)/AMQP_ClientProxy.cpp			\
  $(gen)/AMQP_MethodVersionMap.cpp		\
  $(gen)/AMQP_ServerProxy.cpp			\
  Exception.cpp					\
  Exception.h					\
  ExceptionHolder.cpp				\
  ExceptionHolder.h				\
  QpidError.cpp					\
  QpidError.h					\
  SharedObject.h				\
  sys/Acceptor.h				\
  sys/AtomicCount.h				\
  sys/Module.h					\
  sys/Monitor.h					\
  sys/Mutex.h					\
  sys/Runnable.cpp				\
  sys/Runnable.h				\
  sys/SessionContext.h				\
  sys/SessionHandler.h				\
  sys/SessionHandlerFactory.h			\
  sys/ShutdownHandler.h				\
  sys/Socket.h					\
  sys/Thread.h					\
  sys/Time.cpp					\
  sys/Time.h					\
  sys/TimeoutHandler.h