Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: testing/gmock/Makefile.am

Issue 115846: Retry to checkin a version of gmock, modified to use our boost_tuple in VS2005. (Closed)
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/gmock/COPYING ('k') | testing/gmock/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Nonstandard package files for distribution.
2 EXTRA_DIST =
3
4 # We may need to build our internally packaged gtest. If so, it will be
5 # included in the 'subdirs' variable.
6 SUBDIRS = $(subdirs)
7
8 # Scripts and utilities to be installed by 'make install'.
9 dist_bin_SCRIPTS = scripts/gmock_doctor.py
10 bin_SCRIPTS = scripts/gmock-config
11
12 # This is generated by the configure script, so clean it for distribution.
13 DISTCLEANFILES = scripts/gmock-config
14
15 # We define the global AM_CPPFLAGS as everything we compile includes from these
16 # directories.
17 AM_CPPFLAGS = $(GTEST_CPPFLAGS) -I$(srcdir)/include
18
19 # Build rules for libraries.
20 lib_LTLIBRARIES = lib/libgmock.la lib/libgmock_main.la
21
22 lib_libgmock_la_SOURCES = src/gmock.cc \
23 src/gmock-cardinalities.cc \
24 src/gmock-internal-utils.cc \
25 src/gmock-matchers.cc \
26 src/gmock-printers.cc \
27 src/gmock-spec-builders.cc
28
29 pkginclude_HEADERS = include/gmock/gmock.h \
30 include/gmock/gmock-actions.h \
31 include/gmock/gmock-cardinalities.h \
32 include/gmock/gmock-generated-actions.h \
33 include/gmock/gmock-generated-function-mockers.h \
34 include/gmock/gmock-generated-matchers.h \
35 include/gmock/gmock-generated-nice-strict.h \
36 include/gmock/gmock-matchers.h \
37 include/gmock/gmock-printers.h \
38 include/gmock/gmock-spec-builders.h
39
40 pkginclude_internaldir = $(pkgincludedir)/internal
41 pkginclude_internal_HEADERS = \
42 include/gmock/internal/gmock-generated-internal-utils.h \
43 include/gmock/internal/gmock-internal-utils.h \
44 include/gmock/internal/gmock-port.h
45
46 lib_libgmock_main_la_SOURCES = src/gmock_main.cc
47 lib_libgmock_main_la_LIBADD = lib/libgmock.la
48
49 # Build rules for tests. Automake's naming for some of these variables isn't
50 # terribly obvious, so this is a brief reference:
51 #
52 # TESTS -- Programs run automatically by "make check"
53 # check_PROGRAMS -- Programs built by "make check" but not necessarily run
54
55 TESTS=
56 TESTS_ENVIRONMENT = GMOCK_SOURCE_DIR="$(srcdir)/test" \
57 GMOCK_BUILD_DIR="$(top_builddir)/test"
58 check_PROGRAMS=
59 AM_LDFLAGS = $(GTEST_LDFLAGS)
60
61 TESTS += test/gmock-actions_test
62 check_PROGRAMS += test/gmock-actions_test
63 test_gmock_actions_test_SOURCES = test/gmock-actions_test.cc
64 test_gmock_actions_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
65
66 TESTS += test/gmock-cardinalities_test
67 check_PROGRAMS += test/gmock-cardinalities_test
68 test_gmock_cardinalities_test_SOURCES = test/gmock-cardinalities_test.cc
69 test_gmock_cardinalities_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
70
71 TESTS += test/gmock-generated-actions_test
72 check_PROGRAMS += test/gmock-generated-actions_test
73 test_gmock_generated_actions_test_SOURCES = test/gmock-generated-actions_test.cc
74 test_gmock_generated_actions_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
75
76 TESTS += test/gmock-generated-function-mockers_test
77 check_PROGRAMS += test/gmock-generated-function-mockers_test
78 test_gmock_generated_function_mockers_test_SOURCES = \
79 test/gmock-generated-function-mockers_test.cc
80 test_gmock_generated_function_mockers_test_LDADD = $(GTEST_LIBS) \
81 lib/libgmock_main.la
82
83 TESTS += test/gmock-generated-internal-utils_test
84 check_PROGRAMS += test/gmock-generated-internal-utils_test
85 test_gmock_generated_internal_utils_test_SOURCES = \
86 test/gmock-generated-internal-utils_test.cc
87 test_gmock_generated_internal_utils_test_LDADD = $(GTEST_LIBS) \
88 lib/libgmock_main.la
89
90 TESTS += test/gmock-generated-matchers_test
91 check_PROGRAMS += test/gmock-generated-matchers_test
92 test_gmock_generated_matchers_test_SOURCES = \
93 test/gmock-generated-matchers_test.cc
94 test_gmock_generated_matchers_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
95
96 TESTS += test/gmock-internal-utils_test
97 check_PROGRAMS += test/gmock-internal-utils_test
98 test_gmock_internal_utils_test_SOURCES = test/gmock-internal-utils_test.cc
99 test_gmock_internal_utils_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
100
101 TESTS += test/gmock_link_test
102 check_PROGRAMS += test/gmock_link_test
103 test_gmock_link_test_SOURCES = test/gmock_link_test.cc \
104 test/gmock_link2_test.cc \
105 test/gmock_link_test.h
106 test_gmock_link_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
107
108 TESTS += test/gmock-matchers_test
109 check_PROGRAMS += test/gmock-matchers_test
110 test_gmock_matchers_test_SOURCES = test/gmock-matchers_test.cc
111 test_gmock_matchers_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
112
113 TESTS += test/gmock-nice-strict_test
114 check_PROGRAMS += test/gmock-nice-strict_test
115 test_gmock_nice_strict_test_SOURCES = test/gmock-nice-strict_test.cc
116 test_gmock_nice_strict_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
117
118 TESTS += test/gmock-port_test
119 check_PROGRAMS += test/gmock-port_test
120 test_gmock_port_test_SOURCES = test/gmock-port_test.cc
121 test_gmock_port_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
122
123 TESTS += test/gmock-printers_test
124 check_PROGRAMS += test/gmock-printers_test
125 test_gmock_printers_test_SOURCES = test/gmock-printers_test.cc
126 test_gmock_printers_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
127
128 TESTS += test/gmock-spec-builders_test
129 check_PROGRAMS += test/gmock-spec-builders_test
130 test_gmock_spec_builders_test_SOURCES = test/gmock-spec-builders_test.cc
131 test_gmock_spec_builders_test_LDADD = $(GTEST_LIBS) lib/libgmock.la
132
133 TESTS += test/gmock_test
134 check_PROGRAMS += test/gmock_test
135 test_gmock_test_SOURCES = test/gmock_test.cc
136 test_gmock_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la
137
138 # The following tests depend on the presence of a Python installation and are
139 # keyed off of it. We only add them to the TESTS variable when a Python
140 # interpreter is available. TODO(chandlerc@google.com): While we currently only
141 # attempt to build and execute these tests if Autoconf has found Python v2.3 on
142 # the system, we don't use the PYTHON variable it specified as the valid
143 # interpreter. The problem is that TESTS_ENVIRONMENT is a global variable, and
144 # thus we cannot distinguish between C++ unit tests and Python unit tests.
145 dist_check_SCRIPTS =
146
147 # Python modules used by multiple Python tests below.
148 dist_check_SCRIPTS += test/gmock_test_utils.py
149
150 check_PROGRAMS += test/gmock_leak_test_
151 test_gmock_leak_test__SOURCES = test/gmock_leak_test_.cc
152 test_gmock_leak_test__LDADD = $(GTEST_LIBS) lib/libgmock_main.la
153 dist_check_SCRIPTS += test/gmock_leak_test.py
154
155 check_PROGRAMS += test/gmock_output_test_
156 test_gmock_output_test__SOURCES = test/gmock_output_test_.cc
157 test_gmock_output_test__LDADD = $(GTEST_LIBS) lib/libgmock_main.la
158 dist_check_SCRIPTS += test/gmock_output_test.py
159 EXTRA_DIST += test/gmock_output_test_golden.txt
160
161 # Enable all the python driven tests when we can run them.
162 if HAVE_PYTHON
163 TESTS += \
164 test/gmock_leak_test.py \
165 test/gmock_output_test.py
166 endif
167
168 # Nonstandard package files for distribution.
169 EXTRA_DIST += \
170 CHANGES \
171 CONTRIBUTORS \
172 make/Makefile \
173 src/gmock-all.cc
174
175 # Pump scripts for generating Google Mock headers.
176 # TODO(chandlerc@google.com): automate the generation of *.h from *.h.pump.
177 EXTRA_DIST += include/gmock/gmock-generated-actions.h.pump \
178 include/gmock/gmock-generated-function-mockers.h.pump \
179 include/gmock/gmock-generated-matchers.h.pump \
180 include/gmock/gmock-generated-nice-strict.h.pump \
181 include/gmock/internal/gmock-generated-internal-utils.h.pump
182
183 # Script for fusing Google Mock and Google Test source files.
184 EXTRA_DIST += \
185 scripts/fuse_gmock_files.py \
186 scripts/test/Makefile
187
188 # The Google Mock Generator tool from the cppclean project.
189 EXTRA_DIST += \
190 scripts/generator/COPYING \
191 scripts/generator/README \
192 scripts/generator/README.cppclean \
193 scripts/generator/cpp/__init__.py \
194 scripts/generator/cpp/ast.py \
195 scripts/generator/cpp/gmock_class.py \
196 scripts/generator/cpp/keywords.py \
197 scripts/generator/cpp/tokenize.py \
198 scripts/generator/cpp/utils.py \
199 scripts/generator/gmock_gen.py
200
201 # Microsoft Visual Studio 2005 projects.
202 EXTRA_DIST += \
203 msvc/gmock.sln \
204 msvc/gmock.vcproj \
205 msvc/gmock_config.vsprops \
206 msvc/gmock_link_test.vcproj \
207 msvc/gmock_main.vcproj \
208 msvc/gmock_output_test_.vcproj \
209 msvc/gmock-spec-builders_test.vcproj \
210 msvc/gmock_test.vcproj
OLDNEW
« no previous file with comments | « testing/gmock/COPYING ('k') | testing/gmock/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698