diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..923c718 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,44 @@ +SUBDIRS = . test +bin_PROGRAMS = protoc-c +lib_LTLIBRARIES = libprotobuf-c.la +protobufcincludedir = $(includedir)/google/protobufc +protoc_c_SOURCES = \ +google/protobuf/compiler/c/c_service.cc \ +google/protobuf/compiler/c/c_helpers.cc \ +google/protobuf/compiler/c/c_enum.cc \ +google/protobuf/compiler/c/c_enum_field.cc \ +google/protobuf/compiler/c/c_string_field.cc \ +google/protobuf/compiler/c/c_primitive_field.cc \ +google/protobuf/compiler/c/c_extension.cc \ +google/protobuf/compiler/c/c_file.cc \ +google/protobuf/compiler/c/c_field.cc \ +google/protobuf/compiler/c/c_message.cc \ +google/protobuf/compiler/c/c_generator.cc \ +google/protobuf/compiler/c/c_message_field.cc \ +google/protobuf/compiler/c/main.cc \ +google/protobuf/compiler/c/c_bytes_field.cc + +protoc_c_LDADD = \ +-lprotoc + +libprotobuf_c_la_SOURCES = \ +google/protobuf-c/protobuf-c.c + +noinst_HEADERS = \ +google/protobuf/compiler/c/c_message_field.h \ +google/protobuf/compiler/c/c_service.h \ +google/protobuf/compiler/c/c_helpers.h \ +google/protobuf/compiler/c/c_enum.h \ +google/protobuf/compiler/c/c_enum_field.h \ +google/protobuf/compiler/c/c_string_field.h \ +google/protobuf/compiler/c/c_primitive_field.h \ +google/protobuf/compiler/c/c_extension.h \ +google/protobuf/compiler/c/c_file.h \ +google/protobuf/compiler/c/c_field.h \ +google/protobuf/compiler/c/c_message.h \ +google/protobuf/compiler/c/c_generator.h \ +google/protobuf/compiler/c/c_bytes_field.h + +protobufcinclude_HEADERS = \ +google/protobuf-c/protobuf-c.h \ +google/protobuf-c/protobuf-c-private.h