blob: 0fbda61f3ccdfd1e195dff29dfda53a769c4f337 [file] [log] [blame]
Avneesh Sachdev07e5b642016-04-04 10:54:55 -07001include ../common.am
2
3AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib $(Q_PROTOBUF_C_CLIENT_INCLUDES)
4
5PROTOBUF_INCLUDES=-I$(top_srcdir)
6PROTOBUF_PACKAGE = qpb
7
8lib_LTLIBRARIES = libquagga_pb.la
9libquagga_pb_la_LDFLAGS = -version-info 0:0:0
10
11if HAVE_PROTOBUF
12protobuf_srcs = \
13 qpb_allocator.c
14
15protobuf_srcs_nodist = \
16 qpb.pb-c.c
17endif
18
19libquagga_pb_la_SOURCES = \
20 linear_allocator.h \
21 qpb.h \
22 qpb.c \
23 qpb_allocator.h \
24 $(protobuf_srcs)
25
26nodist_libquagga_pb_la_SOURCES = $(protobuf_srcs_nodist)
27
28CLEANFILES = $(Q_CLEANFILES)
29BUILT_SOURCES = $(Q_PROTOBUF_SRCS)
30EXTRA_DIST = qpb.proto