if FPM
if HAVE_PROTOBUF
lib_LTLIBRARIES += fpm/libfrrfpm_pb.la
endif
endif

fpm_libfrrfpm_pb_la_LDFLAGS = $(LIB_LDFLAGS) -version-info 0:0:0
fpm_libfrrfpm_pb_la_CPPFLAGS = $(AM_CPPFLAGS) $(PROTOBUF_C_CFLAGS)
fpm_libfrrfpm_pb_la_SOURCES = \
	fpm/fpm.h \
	fpm/fpm_pb.h \
	fpm/fpm_pb.c \
	# end

if FPM
if HAVE_PROTOBUF
nodist_fpm_libfrrfpm_pb_la_SOURCES = \
	fpm/fpm.pb-c.c \
	# end
endif
endif

CLEANFILES += \
	fpm/fpm.pb-c.c \
	fpm/fpm.pb-c.h \
	# end

EXTRA_DIST += fpm/fpm.proto
