tizen 2.4 release
[external/protobuf.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 AUTOMAKE_OPTIONS = foreign
6
7 # Build . before src so that our all-local and clean-local hooks kicks in at
8 # the right time.
9 SUBDIRS = . src
10
11 # Always include gtest in distributions.
12 DIST_SUBDIRS = $(subdirs) src
13
14 # Build gtest before we build protobuf tests.  We don't add gtest to SUBDIRS
15 # because then "make check" would also build and run all of gtest's own tests,
16 # which takes a lot of time and is generally not useful to us.  Also, we don't
17 # want "make install" to recurse into gtest since we don't want to overwrite
18 # the installed version of gtest if there is one.
19 check-local:
20         @echo "Making lib/libgtest.a lib/libgtest_main.a in gtest"
21         @cd gtest && $(MAKE) $(AM_MAKEFLAGS) lib/libgtest.la lib/libgtest_main.la
22
23 # We would like to clean gtest when "make clean" is invoked.  But we have to
24 # be careful because clean-local is also invoked during "make distclean", but
25 # "make distclean" already recurses into gtest because it's listed among the
26 # DIST_SUBDIRS.  distclean will delete gtest/Makefile, so if we then try to
27 # cd to the directory again and "make clean" it will fail.  So, check that the
28 # Makefile exists before recursing.
29 clean-local:
30         @if test -e gtest/Makefile; then \
31           echo "Making clean in gtest"; \
32           cd gtest && $(MAKE) $(AM_MAKEFLAGS) clean; \
33         fi
34
35 pkgconfigdir = $(libdir)/pkgconfig
36 pkgconfig_DATA = protobuf.pc protobuf-lite.pc
37
38 EXTRA_DIST =                                                                 \
39   autogen.sh                                                                 \
40   generate_descriptor_proto.sh                                               \
41   README.md                                                                  \
42   INSTALL.txt                                                                \
43   LICENSE                                                                    \
44   CONTRIBUTORS.txt                                                           \
45   CHANGES.txt                                                                \
46   editors/README.txt                                                         \
47   editors/proto.vim                                                          \
48   editors/protobuf-mode.el                                                   \
49   vsprojects/config.h                                                        \
50   vsprojects/extract_includes.bat                                            \
51   vsprojects/libprotobuf.vcproj                                              \
52   vsprojects/libprotobuf-lite.vcproj                                         \
53   vsprojects/libprotoc.vcproj                                                \
54   vsprojects/protobuf.sln                                                    \
55   vsprojects/protoc.vcproj                                                   \
56   vsprojects/readme.txt                                                      \
57   vsprojects/test_plugin.vcproj                                              \
58   vsprojects/tests.vcproj                                                    \
59   vsprojects/lite-test.vcproj                                                \
60   vsprojects/convert2008to2005.sh                                            \
61   examples/README.txt                                                        \
62   examples/Makefile                                                          \
63   examples/addressbook.proto                                                 \
64   examples/add_person.cc                                                     \
65   examples/list_people.cc                                                    \
66   examples/AddPerson.java                                                    \
67   examples/ListPeople.java                                                   \
68   examples/add_person.py                                                     \
69   examples/list_people.py                                                    \
70   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   java/src/main/java/com/google/protobuf/BlockingRpcChannel.java             \
74   java/src/main/java/com/google/protobuf/BlockingService.java                \
75   java/src/main/java/com/google/protobuf/BoundedByteString.java              \
76   java/src/main/java/com/google/protobuf/ByteString.java                     \
77   java/src/main/java/com/google/protobuf/CodedInputStream.java               \
78   java/src/main/java/com/google/protobuf/CodedOutputStream.java              \
79   java/src/main/java/com/google/protobuf/Descriptors.java                    \
80   java/src/main/java/com/google/protobuf/DynamicMessage.java                 \
81   java/src/main/java/com/google/protobuf/Extension.java                      \
82   java/src/main/java/com/google/protobuf/ExtensionRegistry.java              \
83   java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java          \
84   java/src/main/java/com/google/protobuf/FieldSet.java                       \
85   java/src/main/java/com/google/protobuf/GeneratedMessage.java               \
86   java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           \
87   java/src/main/java/com/google/protobuf/Internal.java                       \
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   java/src/main/java/com/google/protobuf/LazyStringArrayList.java            \
92   java/src/main/java/com/google/protobuf/LazyStringList.java                 \
93   java/src/main/java/com/google/protobuf/LiteralByteString.java              \
94   java/src/main/java/com/google/protobuf/Message.java                        \
95   java/src/main/java/com/google/protobuf/MessageLite.java                    \
96   java/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java           \
97   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                 \
104   java/src/main/java/com/google/protobuf/RpcCallback.java                    \
105   java/src/main/java/com/google/protobuf/RpcChannel.java                     \
106   java/src/main/java/com/google/protobuf/RpcController.java                  \
107   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   java/src/main/java/com/google/protobuf/SingleFieldBuilder.java             \
111   java/src/main/java/com/google/protobuf/SmallSortedMap.java                 \
112   java/src/main/java/com/google/protobuf/TextFormat.java                     \
113   java/src/main/java/com/google/protobuf/UninitializedMessageException.java  \
114   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                           \
117   java/src/main/java/com/google/protobuf/WireFormat.java                     \
118   java/src/test/java/com/google/protobuf/AbstractMessageTest.java            \
119   java/src/test/java/com/google/protobuf/BoundedByteStringTest.java          \
120   java/src/test/java/com/google/protobuf/ByteStringTest.java                 \
121   java/src/test/java/com/google/protobuf/CheckUtf8Test.java                  \
122   java/src/test/java/com/google/protobuf/CodedInputStreamTest.java           \
123   java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java          \
124   java/src/test/java/com/google/protobuf/DeprecatedFieldTest.java            \
125   java/src/test/java/com/google/protobuf/DescriptorsTest.java                \
126   java/src/test/java/com/google/protobuf/DynamicMessageTest.java             \
127   java/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java       \
128   java/src/test/java/com/google/protobuf/GeneratedMessageTest.java           \
129   java/src/test/java/com/google/protobuf/IsValidUtf8Test.java                \
130   java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java            \
131   java/src/test/java/com/google/protobuf/LazyFieldTest.java                  \
132   java/src/test/java/com/google/protobuf/LazyFieldLiteTest.java              \
133   java/src/test/java/com/google/protobuf/LazyMessageLiteTest.java            \
134   java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java        \
135   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                       \
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   java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java    \
144   java/src/test/java/com/google/protobuf/RopeByteStringTest.java             \
145   java/src/test/java/com/google/protobuf/ServiceTest.java                    \
146   java/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java         \
147   java/src/test/java/com/google/protobuf/SmallSortedMapTest.java             \
148   java/src/test/java/com/google/protobuf/TestBadIdentifiers.java             \
149   java/src/test/java/com/google/protobuf/TestUtil.java                       \
150   java/src/test/java/com/google/protobuf/TextFormatTest.java                 \
151   java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java            \
152   java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java \
153   java/src/test/java/com/google/protobuf/WireFormatTest.java                 \
154   java/src/test/java/com/google/protobuf/lazy_fields_lite.proto              \
155   java/src/test/java/com/google/protobuf/lite_equals_and_hash.proto          \
156   java/src/test/java/com/google/protobuf/multiple_files_test.proto           \
157   java/src/test/java/com/google/protobuf/nested_builders_test.proto          \
158   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   java/src/test/java/com/google/protobuf/outer_class_name_test.proto         \
163   java/src/test/java/com/google/protobuf/outer_class_name_test2.proto        \
164   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   java/src/test/java/com/google/protobuf/test_check_utf8.proto               \
167   java/src/test/java/com/google/protobuf/test_check_utf8_size.proto          \
168   java/src/test/java/com/google/protobuf/test_custom_options.proto           \
169   java/pom.xml                                                               \
170   java/README.txt                                                            \
171   python/google/protobuf/internal/api_implementation.cc                      \
172   python/google/protobuf/internal/api_implementation.py                      \
173   python/google/protobuf/internal/api_implementation_default_test.py         \
174   python/google/protobuf/internal/containers.py                              \
175   python/google/protobuf/internal/cpp_message.py                             \
176   python/google/protobuf/internal/decoder.py                                 \
177   python/google/protobuf/internal/descriptor_database_test.py                \
178   python/google/protobuf/internal/descriptor_pool_test.py                    \
179   python/google/protobuf/internal/descriptor_pool_test1.proto                \
180   python/google/protobuf/internal/descriptor_pool_test2.proto                \
181   python/google/protobuf/internal/descriptor_python_test.py                  \
182   python/google/protobuf/internal/descriptor_test.py                         \
183   python/google/protobuf/internal/encoder.py                                 \
184   python/google/protobuf/internal/enum_type_wrapper.py                       \
185   python/google/protobuf/internal/factory_test1.proto                        \
186   python/google/protobuf/internal/factory_test2.proto                        \
187   python/google/protobuf/internal/generator_test.py                          \
188   python/google/protobuf/internal/message_factory_python_test.py             \
189   python/google/protobuf/internal/message_factory_test.py                    \
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                  \
194   python/google/protobuf/internal/more_extensions.proto                      \
195   python/google/protobuf/internal/more_extensions_dynamic.proto              \
196   python/google/protobuf/internal/more_messages.proto                        \
197   python/google/protobuf/internal/python_message.py                          \
198   python/google/protobuf/internal/reflection_test.py                         \
199   python/google/protobuf/internal/service_reflection_test.py                 \
200   python/google/protobuf/internal/symbol_database_test.py                    \
201   python/google/protobuf/internal/test_bad_identifiers.proto                 \
202   python/google/protobuf/internal/test_util.py                               \
203   python/google/protobuf/internal/text_encoding_test.py                      \
204   python/google/protobuf/internal/text_format_test.py                        \
205   python/google/protobuf/internal/type_checkers.py                           \
206   python/google/protobuf/internal/unknown_fields_test.py                     \
207   python/google/protobuf/internal/wire_format.py                             \
208   python/google/protobuf/internal/wire_format_test.py                        \
209   python/google/protobuf/internal/__init__.py                                \
210   python/google/protobuf/pyext/README                                        \
211   python/google/protobuf/pyext/cpp_message.py                                \
212   python/google/protobuf/pyext/descriptor.h                                  \
213   python/google/protobuf/pyext/descriptor.cc                                 \
214   python/google/protobuf/pyext/descriptor_cpp2_test.py                       \
215   python/google/protobuf/pyext/extension_dict.h                              \
216   python/google/protobuf/pyext/extension_dict.cc                             \
217   python/google/protobuf/pyext/message.h                                     \
218   python/google/protobuf/pyext/message.cc                                    \
219   python/google/protobuf/pyext/message_factory_cpp2_test.py                  \
220   python/google/protobuf/pyext/proto2_api_test.proto                         \
221   python/google/protobuf/pyext/python.proto                                  \
222   python/google/protobuf/pyext/python_protobuf.h                             \
223   python/google/protobuf/pyext/reflection_cpp2_generated_test.py             \
224   python/google/protobuf/pyext/repeated_composite_container.h                \
225   python/google/protobuf/pyext/repeated_composite_container.cc               \
226   python/google/protobuf/pyext/repeated_scalar_container.h                   \
227   python/google/protobuf/pyext/repeated_scalar_container.cc                  \
228   python/google/protobuf/pyext/scoped_pyobject_ptr.h                         \
229   python/google/protobuf/pyext/__init__.py                                   \
230   python/google/protobuf/descriptor.py                                       \
231   python/google/protobuf/descriptor_database.py                              \
232   python/google/protobuf/descriptor_pool.py                                  \
233   python/google/protobuf/message.py                                          \
234   python/google/protobuf/message_factory.py                                  \
235   python/google/protobuf/reflection.py                                       \
236   python/google/protobuf/service.py                                          \
237   python/google/protobuf/service_reflection.py                               \
238   python/google/protobuf/symbol_database.py                                  \
239   python/google/protobuf/text_encoding.py                                    \
240   python/google/protobuf/text_format.py                                      \
241   python/google/protobuf/__init__.py                                         \
242   python/google/__init__.py                                                  \
243   python/ez_setup.py                                                         \
244   python/setup.py                                                            \
245   python/mox.py                                                              \
246   python/stubout.py                                                          \
247   python/README.txt
248
249 # Deletes all the files generated by autogen.sh.
250 MAINTAINERCLEANFILES =   \
251   aclocal.m4             \
252   config.guess           \
253   config.sub             \
254   configure              \
255   depcomp                \
256   install-sh             \
257   ltmain.sh              \
258   Makefile.in            \
259   missing                \
260   mkinstalldirs          \
261   config.h.in            \
262   stamp.h.in             \
263   m4/ltsugar.m4          \
264   m4/libtool.m4          \
265   m4/ltversion.m4        \
266   m4/lt~obsolete.m4      \
267   m4/ltoptions.m4