~ubuntu-branches/debian/squeeze/protobuf/squeeze

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-06-02 16:19:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602161900-vm176i3ryt35yk91
Tags: 2.0.3-2.2
* Non-maintainer upload.
* Fix FTBFS from -2.1: don't fail when we can't clean up the java build,
  such as when openjdk isn't installed.
* Disable parallel builds, because libtool is made of fail (if binary-arch
  and build-indep run concurrently, we relink a library while it's being
  used; that doesn't work so well).

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
lib_LTLIBRARIES = libprotobuf.la libprotoc.la
56
56
 
57
57
libprotobuf_la_LIBADD = $(PTHREAD_LIBS)
58
 
libprotobuf_la_LDFLAGS = -version-info 0:0:0
 
58
libprotobuf_la_LDFLAGS = -version-info 3:0:0
59
59
libprotobuf_la_SOURCES =                                       \
60
60
  google/protobuf/stubs/common.cc                              \
61
61
  google/protobuf/stubs/hash.cc                                \
68
68
  google/protobuf/stubs/substitute.h                           \
69
69
  google/protobuf/stubs/strutil.cc                             \
70
70
  google/protobuf/stubs/strutil.h                              \
 
71
  google/protobuf/stubs/structurally_valid.cc                  \
71
72
  google/protobuf/descriptor.cc                                \
72
73
  google/protobuf/descriptor.pb.cc                             \
73
74
  google/protobuf/descriptor_database.cc                       \
90
91
  google/protobuf/compiler/parser.cc
91
92
 
92
93
libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la
93
 
libprotoc_la_LDFLAGS = -version-info 0:0:0
 
94
libprotoc_la_LDFLAGS = -version-info 3:0:0
94
95
libprotoc_la_SOURCES =                                         \
95
96
  google/protobuf/compiler/code_generator.cc                   \
96
97
  google/protobuf/compiler/command_line_interface.cc           \
152
153
  google/protobuf/unittest_mset.proto                          \
153
154
  google/protobuf/unittest_optimize_for.proto                  \
154
155
  google/protobuf/unittest_embed_optimize_for.proto            \
 
156
  google/protobuf/unittest_custom_options.proto                \
155
157
  google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto
156
158
 
157
159
EXTRA_DIST =                                                   \
159
161
  solaris/libstdc++.la                                         \
160
162
  google/protobuf/testdata/golden_message                      \
161
163
  google/protobuf/testdata/text_format_unittest_data.txt       \
162
 
  google/protobuf/testdata/text_format_unittest_extensions_data.txt
 
164
  google/protobuf/testdata/text_format_unittest_extensions_data.txt  \
 
165
  google/protobuf/package_info.h                               \
 
166
  google/protobuf/io/package_info.h                            \
 
167
  google/protobuf/compiler/package_info.h                      \
 
168
  gtest/CHANGES                                                \
 
169
  gtest/CONTRIBUTORS                                           \
 
170
  gtest/COPYING                                                \
 
171
  gtest/README                                                 \
 
172
  gtest/gen_gtest_pred_impl.py
163
173
 
164
174
protoc_outputs =                                               \
165
175
  google/protobuf/unittest.pb.cc                               \
172
182
  google/protobuf/unittest_optimize_for.pb.h                   \
173
183
  google/protobuf/unittest_embed_optimize_for.pb.cc            \
174
184
  google/protobuf/unittest_embed_optimize_for.pb.h             \
 
185
  google/protobuf/unittest_custom_options.pb.cc                \
 
186
  google/protobuf/unittest_custom_options.pb.h                 \
175
187
  google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.cc  \
176
188
  google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.h
177
189
 
193
205
 
194
206
$(protoc_outputs): unittest_proto_middleman
195
207
 
196
 
noinst_PROGRAMS = protobuf-test
 
208
check_PROGRAMS = protobuf-test
197
209
protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la
198
210
protobuf_test_SOURCES =                                        \
199
211
  google/protobuf/stubs/common_unittest.cc                     \
200
212
  google/protobuf/stubs/strutil_unittest.cc                    \
 
213
  google/protobuf/stubs/structurally_valid_unittest.cc         \
201
214
  google/protobuf/descriptor_database_unittest.cc              \
202
215
  google/protobuf/descriptor_unittest.cc                       \
203
216
  google/protobuf/dynamic_message_unittest.cc                  \