blob: 83ab31ce3f654bedf316b0ee976239c345732ac2 [file] [log] [blame]
Avneesh Sachdevef20ef72016-04-04 10:54:57 -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 = fpm
7
8lib_LTLIBRARIES = libfpm_pb.la
9libfpm_pb_la_LDFLAGS = -version-info 0:0:0
10
11if HAVE_PROTOBUF
12protobuf_srcs =
13
14protobuf_srcs_nodist = \
15 fpm.pb-c.c
16endif
17
18libfpm_pb_la_SOURCES = \
19 fpm.h \
20 fpm_pb.h \
21 fpm_pb.c \
22 $(protobuf_srcs)
23
24nodist_libfpm_pb_la_SOURCES = $(protobuf_srcs_nodist)
25
26CLEANFILES = $(Q_CLEANFILES)
27
28BUILT_SOURCES = $(Q_PROTOBUF_SRCS)
29EXTRA_DIST = fpm.proto