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