1## Process this file with automake to produce Makefile.in
2
3ACLOCAL_AMFLAGS = -I m4
4
5AUTOMAKE_OPTIONS = foreign
6
7# Build . before src so that our all-local and clean-local hooks kicks in at
8# the right time.
9SUBDIRS = . src
10
11# Always include gtest in distributions.
12DIST_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.
19check-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.
29clean-local:
30	@if test -e gtest/Makefile; then \
31	  echo "Making clean in gtest"; \
32	  cd gtest && $(MAKE) $(AM_MAKEFLAGS) clean; \
33	fi
34
35pkgconfigdir = $(libdir)/pkgconfig
36pkgconfig_DATA = protobuf.pc protobuf-lite.pc
37
38EXTRA_DIST =                                                                 \
39  autogen.sh                                                                 \
40  generate_descriptor_proto.sh                                               \
41  README.txt                                                                 \
42  INSTALL.txt                                                                \
43  COPYING.txt                                                                \
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/BlockingRpcChannel.java             \
73  java/src/main/java/com/google/protobuf/BlockingService.java                \
74  java/src/main/java/com/google/protobuf/ByteString.java                     \
75  java/src/main/java/com/google/protobuf/CodedInputStream.java               \
76  java/src/main/java/com/google/protobuf/CodedOutputStream.java              \
77  java/src/main/java/com/google/protobuf/Descriptors.java                    \
78  java/src/main/java/com/google/protobuf/DynamicMessage.java                 \
79  java/src/main/java/com/google/protobuf/ExtensionRegistry.java              \
80  java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java          \
81  java/src/main/java/com/google/protobuf/FieldSet.java                       \
82  java/src/main/java/com/google/protobuf/GeneratedMessage.java               \
83  java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           \
84  java/src/main/java/com/google/protobuf/Internal.java                       \
85  java/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java \
86  java/src/main/java/com/google/protobuf/Message.java                        \
87  java/src/main/java/com/google/protobuf/MessageLite.java                    \
88  java/src/main/java/com/google/protobuf/ProtocolMessageEnum.java            \
89  java/src/main/java/com/google/protobuf/RpcCallback.java                    \
90  java/src/main/java/com/google/protobuf/RpcChannel.java                     \
91  java/src/main/java/com/google/protobuf/RpcController.java                  \
92  java/src/main/java/com/google/protobuf/RpcUtil.java                        \
93  java/src/main/java/com/google/protobuf/Service.java                        \
94  java/src/main/java/com/google/protobuf/ServiceException.java               \
95  java/src/main/java/com/google/protobuf/TextFormat.java                     \
96  java/src/main/java/com/google/protobuf/UninitializedMessageException.java  \
97  java/src/main/java/com/google/protobuf/UnknownFieldSet.java                \
98  java/src/main/java/com/google/protobuf/WireFormat.java                     \
99  java/src/test/java/com/google/protobuf/AbstractMessageTest.java            \
100  java/src/test/java/com/google/protobuf/CodedInputStreamTest.java           \
101  java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java          \
102  java/src/test/java/com/google/protobuf/DescriptorsTest.java                \
103  java/src/test/java/com/google/protobuf/DynamicMessageTest.java             \
104  java/src/test/java/com/google/protobuf/GeneratedMessageTest.java           \
105  java/src/test/java/com/google/protobuf/LiteTest.java                       \
106  java/src/test/java/com/google/protobuf/MessageTest.java                    \
107  java/src/test/java/com/google/protobuf/ServiceTest.java                    \
108  java/src/test/java/com/google/protobuf/TestUtil.java                       \
109  java/src/test/java/com/google/protobuf/TextFormatTest.java                 \
110  java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java            \
111  java/src/test/java/com/google/protobuf/WireFormatTest.java                 \
112  java/src/test/java/com/google/protobuf/multiple_files_test.proto           \
113  java/pom.xml                                                               \
114  java/README.txt                                                            \
115  python/google/protobuf/internal/generator_test.py                          \
116  python/google/protobuf/internal/containers.py                              \
117  python/google/protobuf/internal/decoder.py                                 \
118  python/google/protobuf/internal/descriptor_test.py                         \
119  python/google/protobuf/internal/encoder.py                                 \
120  python/google/protobuf/internal/message_listener.py                        \
121  python/google/protobuf/internal/message_test.py                            \
122  python/google/protobuf/internal/more_extensions.proto                      \
123  python/google/protobuf/internal/more_messages.proto                        \
124  python/google/protobuf/internal/reflection_test.py                         \
125  python/google/protobuf/internal/service_reflection_test.py                 \
126  python/google/protobuf/internal/test_util.py                               \
127  python/google/protobuf/internal/text_format_test.py                        \
128  python/google/protobuf/internal/type_checkers.py                           \
129  python/google/protobuf/internal/wire_format.py                             \
130  python/google/protobuf/internal/wire_format_test.py                        \
131  python/google/protobuf/internal/__init__.py                                \
132  python/google/protobuf/descriptor.py                                       \
133  python/google/protobuf/message.py                                          \
134  python/google/protobuf/reflection.py                                       \
135  python/google/protobuf/service.py                                          \
136  python/google/protobuf/service_reflection.py                               \
137  python/google/protobuf/text_format.py                                      \
138  python/google/protobuf/__init__.py                                         \
139  python/google/__init__.py                                                  \
140  python/ez_setup.py                                                         \
141  python/setup.py                                                            \
142  python/mox.py                                                              \
143  python/stubout.py                                                          \
144  python/README.txt
145
146# Deletes all the files generated by autogen.sh.
147MAINTAINERCLEANFILES =   \
148  aclocal.m4             \
149  config.guess           \
150  config.sub             \
151  configure              \
152  depcomp                \
153  install-sh             \
154  ltmain.sh              \
155  Makefile.in            \
156  missing                \
157  mkinstalldirs          \
158  config.h.in            \
159  stamp.h.in             \
160  m4/ltsugar.m4          \
161  m4/libtool.m4          \
162  m4/ltversion.m4        \
163  m4/lt~obsolete.m4      \
164  m4/ltoptions.m4
165