Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.5 KiB

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = google-pb.pc
noinst_SCRIPTS = Google.ProtocolBuffers.dll
Google.ProtocolBuffers.dll_sources = \
$(srcdir)/ProtocolBuffers/AbstractBuilder.cs \
$(srcdir)/ProtocolBuffers/AbstractMessage.cs \
$(srcdir)/ProtocolBuffers/Autogenerated.cs \
$(srcdir)/ProtocolBuffers/ByteString.cs \
$(srcdir)/ProtocolBuffers/CodedInputStream.cs \
$(srcdir)/ProtocolBuffers/CodedOutputStream.cs \
$(srcdir)/ProtocolBuffers/Collections/Dictionaries.cs \
$(srcdir)/ProtocolBuffers/Collections/Lists.cs \
$(srcdir)/ProtocolBuffers/Collections/ReadOnlyDictionary.cs \
$(srcdir)/ProtocolBuffers/Descriptors/EnumDescriptor.cs \
$(srcdir)/ProtocolBuffers/Descriptors/EnumValueDescriptor.cs \
$(srcdir)/ProtocolBuffers/Descriptors/FieldDescriptor.cs \
$(srcdir)/ProtocolBuffers/Descriptors/FieldMappingAttribute.cs \
$(srcdir)/ProtocolBuffers/Descriptors/FieldType.cs \
$(srcdir)/ProtocolBuffers/Descriptors/FileDescriptor.cs \
$(srcdir)/ProtocolBuffers/Descriptors/MappedType.cs \
$(srcdir)/ProtocolBuffers/Descriptors/MessageDescriptor.cs \
$(srcdir)/ProtocolBuffers/ExtensionInfo.cs \
$(srcdir)/ProtocolBuffers/ExtensionRegistry.cs \
$(srcdir)/ProtocolBuffers/FieldAccess/Delegates.cs \
$(srcdir)/ProtocolBuffers/FieldAccess/FieldAccessorTable.cs \
$(srcdir)/ProtocolBuffers/FieldAccess/IFieldAccessor.cs \
$(srcdir)/ProtocolBuffers/FieldSet.cs \
$(srcdir)/ProtocolBuffers/GeneratedBuilder.cs \
$(srcdir)/ProtocolBuffers/GeneratedExtension.cs \
$(srcdir)/ProtocolBuffers/GeneratedMessage.cs \
$(srcdir)/ProtocolBuffers/IBuilder.cs \
$(srcdir)/ProtocolBuffers/IMessage.cs \
$(srcdir)/ProtocolBuffers/InvalidProtocolBufferException.cs \
$(srcdir)/ProtocolBuffers/Properties/AssemblyInfo.cs \
$(srcdir)/ProtocolBuffers/TextFormat.cs \
$(srcdir)/ProtocolBuffers/UninitializedMessageException.cs \
$(srcdir)/ProtocolBuffers/UnknownField.cs \
$(srcdir)/ProtocolBuffers/UnknownFieldSet.cs \
$(srcdir)/ProtocolBuffers/WireFormat.cs
Google.ProtocolBuffers.dll: $(Google.ProtocolBuffers.dll_sources)
cp $(srcdir)/ProtocolBuffers/Properties/Google.ProtocolBuffers.snk .
gmcs -codepage:utf8 -debug -target:library -out:Google.ProtocolBuffers.dll $(Google.ProtocolBuffers.dll_sources)
install-data-local: Google.ProtocolBuffers.dll
gacutil -i Google.ProtocolBuffers.dll -package google
EXTRA_DIST = $(Google.ProtocolBuffers.dll_sources) google-pb.pc.in
google-pb.pc: Makefile.am google-pb.pc.in
sed "s,@PREFIX@,${prefix}," < $(srcdir)/google-pb.pc.in > google-pb.pc