Makefile.am 18.1 KB
Newer Older
temporal's avatar
temporal committed
1 2 3 4
## Process this file with automake to produce Makefile.in

ACLOCAL_AMFLAGS = -I m4

kenton@google.com's avatar
kenton@google.com committed
5 6
AUTOMAKE_OPTIONS = foreign

7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
# Build . before src so that our all-local and clean-local hooks kicks in at
# the right time.
SUBDIRS = . src

# Always include gtest in distributions.
DIST_SUBDIRS = $(subdirs) src

# Build gtest before we build protobuf tests.  We don't add gtest to SUBDIRS
# because then "make check" would also build and run all of gtest's own tests,
# which takes a lot of time and is generally not useful to us.  Also, we don't
# want "make install" to recurse into gtest since we don't want to overwrite
# the installed version of gtest if there is one.
check-local:
	@echo "Making lib/libgtest.a lib/libgtest_main.a in gtest"
	@cd gtest && $(MAKE) $(AM_MAKEFLAGS) lib/libgtest.la lib/libgtest_main.la

# We would like to clean gtest when "make clean" is invoked.  But we have to
# be careful because clean-local is also invoked during "make distclean", but
# "make distclean" already recurses into gtest because it's listed among the
# DIST_SUBDIRS.  distclean will delete gtest/Makefile, so if we then try to
# cd to the directory again and "make clean" it will fail.  So, check that the
# Makefile exists before recursing.
clean-local:
	@if test -e gtest/Makefile; then \
	  echo "Making clean in gtest"; \
	  cd gtest && $(MAKE) $(AM_MAKEFLAGS) clean; \
	fi
temporal's avatar
temporal committed
34

35 36 37
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = protobuf.pc protobuf-lite.pc

temporal's avatar
temporal committed
38 39 40
EXTRA_DIST =                                                                 \
  autogen.sh                                                                 \
  generate_descriptor_proto.sh                                               \
41
  README.md                                                                  \
temporal's avatar
temporal committed
42
  INSTALL.txt                                                                \
43
  LICENSE                                                                    \
temporal's avatar
temporal committed
44 45 46 47
  CONTRIBUTORS.txt                                                           \
  CHANGES.txt                                                                \
  editors/README.txt                                                         \
  editors/proto.vim                                                          \
48
  editors/protobuf-mode.el                                                   \
temporal's avatar
temporal committed
49 50 51
  vsprojects/config.h                                                        \
  vsprojects/extract_includes.bat                                            \
  vsprojects/libprotobuf.vcproj                                              \
52
  vsprojects/libprotobuf-lite.vcproj                                         \
temporal's avatar
temporal committed
53 54 55 56
  vsprojects/libprotoc.vcproj                                                \
  vsprojects/protobuf.sln                                                    \
  vsprojects/protoc.vcproj                                                   \
  vsprojects/readme.txt                                                      \
57
  vsprojects/test_plugin.vcproj                                              \
temporal's avatar
temporal committed
58
  vsprojects/tests.vcproj                                                    \
59
  vsprojects/lite-test.vcproj                                                \
temporal's avatar
temporal committed
60 61 62 63 64 65 66 67 68 69 70
  vsprojects/convert2008to2005.sh                                            \
  examples/README.txt                                                        \
  examples/Makefile                                                          \
  examples/addressbook.proto                                                 \
  examples/add_person.cc                                                     \
  examples/list_people.cc                                                    \
  examples/AddPerson.java                                                    \
  examples/ListPeople.java                                                   \
  examples/add_person.py                                                     \
  examples/list_people.py                                                    \
  java/src/main/java/com/google/protobuf/AbstractMessage.java                \
71
  java/src/main/java/com/google/protobuf/AbstractMessageLite.java            \
72
  java/src/main/java/com/google/protobuf/AbstractParser.java                 \
73 74
  java/src/main/java/com/google/protobuf/BlockingRpcChannel.java             \
  java/src/main/java/com/google/protobuf/BlockingService.java                \
75
  java/src/main/java/com/google/protobuf/BoundedByteString.java              \
temporal's avatar
temporal committed
76 77 78 79 80
  java/src/main/java/com/google/protobuf/ByteString.java                     \
  java/src/main/java/com/google/protobuf/CodedInputStream.java               \
  java/src/main/java/com/google/protobuf/CodedOutputStream.java              \
  java/src/main/java/com/google/protobuf/Descriptors.java                    \
  java/src/main/java/com/google/protobuf/DynamicMessage.java                 \
81
  java/src/main/java/com/google/protobuf/Extension.java                      \
temporal's avatar
temporal committed
82
  java/src/main/java/com/google/protobuf/ExtensionRegistry.java              \
83
  java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java          \
temporal's avatar
temporal committed
84 85
  java/src/main/java/com/google/protobuf/FieldSet.java                       \
  java/src/main/java/com/google/protobuf/GeneratedMessage.java               \
86 87
  java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           \
  java/src/main/java/com/google/protobuf/Internal.java                       \
temporal's avatar
temporal committed
88
  java/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java \
89
  java/src/main/java/com/google/protobuf/LazyField.java                      \
90
  java/src/main/java/com/google/protobuf/LazyFieldLite.java                  \
91 92
  java/src/main/java/com/google/protobuf/LazyStringArrayList.java            \
  java/src/main/java/com/google/protobuf/LazyStringList.java                 \
93
  java/src/main/java/com/google/protobuf/LiteralByteString.java              \
temporal's avatar
temporal committed
94
  java/src/main/java/com/google/protobuf/Message.java                        \
95
  java/src/main/java/com/google/protobuf/MessageLite.java                    \
96 97
  java/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java           \
  java/src/main/java/com/google/protobuf/MessageOrBuilder.java               \
98
  java/src/main/java/com/google/protobuf/MessageReflection.java              \
99
  java/src/main/java/com/google/protobuf/Parser.java                         \
100
  java/src/main/java/com/google/protobuf/ProtocolMessageEnum.java            \
101
  java/src/main/java/com/google/protobuf/ProtocolStringList.java             \
102
  java/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java           \
103
  java/src/main/java/com/google/protobuf/RopeByteString.java                 \
temporal's avatar
temporal committed
104 105 106 107
  java/src/main/java/com/google/protobuf/RpcCallback.java                    \
  java/src/main/java/com/google/protobuf/RpcChannel.java                     \
  java/src/main/java/com/google/protobuf/RpcController.java                  \
  java/src/main/java/com/google/protobuf/RpcUtil.java                        \
108
  java/src/main/java/com/google/protobuf/ServiceException.java               \
109
  java/src/main/java/com/google/protobuf/Service.java                        \
110 111
  java/src/main/java/com/google/protobuf/SingleFieldBuilder.java             \
  java/src/main/java/com/google/protobuf/SmallSortedMap.java                 \
temporal's avatar
temporal committed
112 113 114
  java/src/main/java/com/google/protobuf/TextFormat.java                     \
  java/src/main/java/com/google/protobuf/UninitializedMessageException.java  \
  java/src/main/java/com/google/protobuf/UnknownFieldSet.java                \
115
  java/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java     \
116
  java/src/main/java/com/google/protobuf/Utf8.java                           \
temporal's avatar
temporal committed
117 118
  java/src/main/java/com/google/protobuf/WireFormat.java                     \
  java/src/test/java/com/google/protobuf/AbstractMessageTest.java            \
119 120
  java/src/test/java/com/google/protobuf/BoundedByteStringTest.java          \
  java/src/test/java/com/google/protobuf/ByteStringTest.java                 \
121
  java/src/test/java/com/google/protobuf/CheckUtf8Test.java                  \
temporal's avatar
temporal committed
122 123
  java/src/test/java/com/google/protobuf/CodedInputStreamTest.java           \
  java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java          \
124
  java/src/test/java/com/google/protobuf/DeprecatedFieldTest.java            \
temporal's avatar
temporal committed
125 126
  java/src/test/java/com/google/protobuf/DescriptorsTest.java                \
  java/src/test/java/com/google/protobuf/DynamicMessageTest.java             \
127
  java/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java       \
temporal's avatar
temporal committed
128
  java/src/test/java/com/google/protobuf/GeneratedMessageTest.java           \
129 130
  java/src/test/java/com/google/protobuf/IsValidUtf8Test.java                \
  java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java            \
131 132 133
  java/src/test/java/com/google/protobuf/LazyFieldTest.java                  \
  java/src/test/java/com/google/protobuf/LazyFieldLiteTest.java              \
  java/src/test/java/com/google/protobuf/LazyMessageLiteTest.java            \
134 135
  java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java        \
  java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java         \
136
  java/src/test/java/com/google/protobuf/LiteEqualsAndHashTest.java          \
137
  java/src/test/java/com/google/protobuf/LiteralByteStringTest.java          \
138
  java/src/test/java/com/google/protobuf/LiteTest.java                       \
temporal's avatar
temporal committed
139
  java/src/test/java/com/google/protobuf/MessageTest.java                    \
140
  java/src/test/java/com/google/protobuf/NestedBuildersTest.java             \
141
  java/src/test/java/com/google/protobuf/ParserTest.java                     \
142
  java/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java       \
143 144
  java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java    \
  java/src/test/java/com/google/protobuf/RopeByteStringTest.java             \
temporal's avatar
temporal committed
145
  java/src/test/java/com/google/protobuf/ServiceTest.java                    \
146 147 148
  java/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java         \
  java/src/test/java/com/google/protobuf/SmallSortedMapTest.java             \
  java/src/test/java/com/google/protobuf/TestBadIdentifiers.java             \
temporal's avatar
temporal committed
149 150 151
  java/src/test/java/com/google/protobuf/TestUtil.java                       \
  java/src/test/java/com/google/protobuf/TextFormatTest.java                 \
  java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java            \
152
  java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java \
temporal's avatar
temporal committed
153
  java/src/test/java/com/google/protobuf/WireFormatTest.java                 \
154 155
  java/src/test/java/com/google/protobuf/lazy_fields_lite.proto              \
  java/src/test/java/com/google/protobuf/lite_equals_and_hash.proto          \
temporal's avatar
temporal committed
156
  java/src/test/java/com/google/protobuf/multiple_files_test.proto           \
157 158
  java/src/test/java/com/google/protobuf/nested_builders_test.proto          \
  java/src/test/java/com/google/protobuf/nested_extension_lite.proto         \
159
  java/src/test/java/com/google/protobuf/nested_extension.proto              \
160
  java/src/test/java/com/google/protobuf/non_nested_extension_lite.proto     \
161
  java/src/test/java/com/google/protobuf/non_nested_extension.proto          \
162 163 164
  java/src/test/java/com/google/protobuf/outer_class_name_test.proto         \
  java/src/test/java/com/google/protobuf/outer_class_name_test2.proto        \
  java/src/test/java/com/google/protobuf/outer_class_name_test3.proto        \
165
  java/src/test/java/com/google/protobuf/test_bad_identifiers.proto          \
166 167 168
  java/src/test/java/com/google/protobuf/test_check_utf8.proto               \
  java/src/test/java/com/google/protobuf/test_check_utf8_size.proto          \
  java/src/test/java/com/google/protobuf/test_custom_options.proto           \
temporal's avatar
temporal committed
169 170
  java/pom.xml                                                               \
  java/README.txt                                                            \
171 172 173
  python/google/protobuf/internal/api_implementation.cc                      \
  python/google/protobuf/internal/api_implementation.py                      \
  python/google/protobuf/internal/api_implementation_default_test.py         \
174
  python/google/protobuf/internal/containers.py                              \
175
  python/google/protobuf/internal/cpp_message.py                             \
temporal's avatar
temporal committed
176
  python/google/protobuf/internal/decoder.py                                 \
177 178
  python/google/protobuf/internal/descriptor_database_test.py                \
  python/google/protobuf/internal/descriptor_pool_test.py                    \
179 180 181
  python/google/protobuf/internal/descriptor_pool_test1.proto                \
  python/google/protobuf/internal/descriptor_pool_test2.proto                \
  python/google/protobuf/internal/descriptor_python_test.py                  \
temporal's avatar
temporal committed
182 183
  python/google/protobuf/internal/descriptor_test.py                         \
  python/google/protobuf/internal/encoder.py                                 \
184 185 186
  python/google/protobuf/internal/enum_type_wrapper.py                       \
  python/google/protobuf/internal/factory_test1.proto                        \
  python/google/protobuf/internal/factory_test2.proto                        \
187 188
  python/google/protobuf/internal/generator_test.py                          \
  python/google/protobuf/internal/message_factory_python_test.py             \
189
  python/google/protobuf/internal/message_factory_test.py                    \
temporal's avatar
temporal committed
190
  python/google/protobuf/internal/message_listener.py                        \
191
  python/google/protobuf/internal/message_python_test.py                     \
192
  python/google/protobuf/internal/message_test.py                            \
193
  python/google/protobuf/internal/missing_enum_values.proto                  \
temporal's avatar
temporal committed
194
  python/google/protobuf/internal/more_extensions.proto                      \
195
  python/google/protobuf/internal/more_extensions_dynamic.proto              \
temporal's avatar
temporal committed
196
  python/google/protobuf/internal/more_messages.proto                        \
197
  python/google/protobuf/internal/python_message.py                          \
temporal's avatar
temporal committed
198 199
  python/google/protobuf/internal/reflection_test.py                         \
  python/google/protobuf/internal/service_reflection_test.py                 \
jieluo@google.com's avatar
jieluo@google.com committed
200
  python/google/protobuf/internal/symbol_database_test.py                    \
201
  python/google/protobuf/internal/test_bad_identifiers.proto                 \
temporal's avatar
temporal committed
202
  python/google/protobuf/internal/test_util.py                               \
203
  python/google/protobuf/internal/text_encoding_test.py                      \
temporal's avatar
temporal committed
204
  python/google/protobuf/internal/text_format_test.py                        \
temporal's avatar
temporal committed
205
  python/google/protobuf/internal/type_checkers.py                           \
206
  python/google/protobuf/internal/unknown_fields_test.py                     \
temporal's avatar
temporal committed
207 208 209
  python/google/protobuf/internal/wire_format.py                             \
  python/google/protobuf/internal/wire_format_test.py                        \
  python/google/protobuf/internal/__init__.py                                \
210 211 212 213
  python/google/protobuf/pyext/README                                        \
  python/google/protobuf/pyext/cpp_message.py                                \
  python/google/protobuf/pyext/descriptor.h                                  \
  python/google/protobuf/pyext/descriptor.cc                                 \
jieluo@google.com's avatar
jieluo@google.com committed
214
  python/google/protobuf/pyext/descriptor_cpp2_test.py                       \
215 216 217 218
  python/google/protobuf/pyext/extension_dict.h                              \
  python/google/protobuf/pyext/extension_dict.cc                             \
  python/google/protobuf/pyext/message.h                                     \
  python/google/protobuf/pyext/message.cc                                    \
jieluo@google.com's avatar
jieluo@google.com committed
219
  python/google/protobuf/pyext/message_factory_cpp2_test.py                  \
220 221 222
  python/google/protobuf/pyext/proto2_api_test.proto                         \
  python/google/protobuf/pyext/python.proto                                  \
  python/google/protobuf/pyext/python_protobuf.h                             \
jieluo@google.com's avatar
jieluo@google.com committed
223
  python/google/protobuf/pyext/reflection_cpp2_generated_test.py             \
224 225 226 227 228 229
  python/google/protobuf/pyext/repeated_composite_container.h                \
  python/google/protobuf/pyext/repeated_composite_container.cc               \
  python/google/protobuf/pyext/repeated_scalar_container.h                   \
  python/google/protobuf/pyext/repeated_scalar_container.cc                  \
  python/google/protobuf/pyext/scoped_pyobject_ptr.h                         \
  python/google/protobuf/pyext/__init__.py                                   \
temporal's avatar
temporal committed
230
  python/google/protobuf/descriptor.py                                       \
231 232
  python/google/protobuf/descriptor_database.py                              \
  python/google/protobuf/descriptor_pool.py                                  \
temporal's avatar
temporal committed
233
  python/google/protobuf/message.py                                          \
234
  python/google/protobuf/message_factory.py                                  \
temporal's avatar
temporal committed
235 236 237
  python/google/protobuf/reflection.py                                       \
  python/google/protobuf/service.py                                          \
  python/google/protobuf/service_reflection.py                               \
238 239
  python/google/protobuf/symbol_database.py                                  \
  python/google/protobuf/text_encoding.py                                    \
temporal's avatar
temporal committed
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
  python/google/protobuf/text_format.py                                      \
  python/google/protobuf/__init__.py                                         \
  python/google/__init__.py                                                  \
  python/ez_setup.py                                                         \
  python/setup.py                                                            \
  python/mox.py                                                              \
  python/stubout.py                                                          \
  python/README.txt

# Deletes all the files generated by autogen.sh.
MAINTAINERCLEANFILES =   \
  aclocal.m4             \
  config.guess           \
  config.sub             \
  configure              \
  depcomp                \
  install-sh             \
  ltmain.sh              \
  Makefile.in            \
  missing                \
  mkinstalldirs          \
  config.h.in            \
262 263 264 265 266 267
  stamp.h.in             \
  m4/ltsugar.m4          \
  m4/libtool.m4          \
  m4/ltversion.m4        \
  m4/lt~obsolete.m4      \
  m4/ltoptions.m4