]> git.sommitrealweird.co.uk Git - quagga-debian.git/blob - qpb/Makefile.am
New upstream version 1.2.4
[quagga-debian.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 = libquagga_pb.la
9 libquagga_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 libquagga_pb_la_SOURCES =                       \
20         linear_allocator.h                      \
21         qpb.h                                   \
22         qpb.c                                   \
23         qpb_allocator.h                         \
24         $(protobuf_srcs)
25
26 nodist_libquagga_pb_la_SOURCES = $(protobuf_srcs_nodist)
27
28 CLEANFILES = $(Q_CLEANFILES)
29 BUILT_SOURCES = $(Q_PROTOBUF_SRCS)
30 EXTRA_DIST = qpb.proto