]> git.proxmox.com Git - mirror_frr.git/blob - qpb/Makefile.am
release: FRR 3.0-rc1
[mirror_frr.git] / qpb / Makefile.am
1 include ../common.am
2
3 AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib $(Q_PROTOBUF_C_CLIENT_INCLUDES)
4
5 PROTOBUF_INCLUDES=-I$(top_srcdir)
6 PROTOBUF_PACKAGE = qpb
7
8 lib_LTLIBRARIES = libfrr_pb.la
9 libfrr_pb_la_LDFLAGS = -version-info 0:0:0
10
11 if HAVE_PROTOBUF
12 protobuf_srcs = \
13 qpb_allocator.c
14
15 protobuf_srcs_nodist = \
16 qpb.pb-c.c
17 endif
18
19 libfrr_pb_la_SOURCES = \
20 linear_allocator.h \
21 qpb.h \
22 qpb.c \
23 qpb_allocator.h \
24 $(protobuf_srcs)
25
26 nodist_libfrr_pb_la_SOURCES = $(protobuf_srcs_nodist)
27
28 CLEANFILES = $(Q_CLEANFILES)
29 BUILT_SOURCES = $(Q_PROTOBUF_SRCS)
30 EXTRA_DIST = qpb.proto