summaryrefslogtreecommitdiffstats
path: root/fpm/Makefile.am
blob: 1f46ac6db2b405d92155333ed63b06c692f76bf5 (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
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 = fpm

lib_LTLIBRARIES = libfrrfpm_pb.la
libfrrfpm_pb_la_LDFLAGS = -version-info 0:0:0

if HAVE_PROTOBUF
protobuf_srcs =

protobuf_srcs_nodist =				\
	fpm.pb-c.c
endif

libfrrfpm_pb_la_SOURCES =			\
	fpm.h					\
	fpm_pb.h				\
	fpm_pb.c				\
	$(protobuf_srcs)

nodist_libfrrfpm_pb_la_SOURCES = $(protobuf_srcs_nodist)

CLEANFILES = $(Q_CLEANFILES)

BUILT_SOURCES = $(Q_PROTOBUF_SRCS)
EXTRA_DIST = fpm.proto