summaryrefslogtreecommitdiffstats
path: root/qpb/Makefile.am
blob: 0fbda61f3ccdfd1e195dff29dfda53a769c4f337 (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
include ../common.am

AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib $(Q_PROTOBUF_C_CLIENT_INCLUDES)

PROTOBUF_INCLUDES=-I$(top_srcdir)
PROTOBUF_PACKAGE = qpb

lib_LTLIBRARIES = libquagga_pb.la
libquagga_pb_la_LDFLAGS = -version-info 0:0:0

if HAVE_PROTOBUF
protobuf_srcs =					\
	qpb_allocator.c

protobuf_srcs_nodist =				\
	qpb.pb-c.c
endif

libquagga_pb_la_SOURCES =			\
	linear_allocator.h			\
	qpb.h					\
	qpb.c					\
	qpb_allocator.h				\
	$(protobuf_srcs)

nodist_libquagga_pb_la_SOURCES = $(protobuf_srcs_nodist)

CLEANFILES = $(Q_CLEANFILES)
BUILT_SOURCES = $(Q_PROTOBUF_SRCS)
EXTRA_DIST = qpb.proto