gtest: Build as a convenience library.
authorEric Anholt <eric@anholt.net>
Tue, 6 Mar 2012 01:01:12 +0000 (17:01 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 13 Apr 2012 00:17:43 +0000 (17:17 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
configure.ac
src/gtest/.gitignore [new file with mode: 0644]
src/gtest/Makefile.am [new file with mode: 0644]

index 21e4308faf43505685e4b421afca81fec2acc70f..9baccab3624b769a27b663d8e6cc49253cfb7501 100644 (file)
@@ -1999,6 +1999,7 @@ AC_CONFIG_FILES([configs/autoconf
                src/egl/wayland/wayland-drm/Makefile
                src/glx/Makefile
                src/mapi/shared-glapi/Makefile
+               src/gtest/Makefile
                src/mesa/drivers/dri/dri.pc
                src/mesa/drivers/dri/Makefile
                src/mesa/drivers/dri/common/Makefile
diff --git a/src/gtest/.gitignore b/src/gtest/.gitignore
new file mode 100644 (file)
index 0000000..acf7b5f
--- /dev/null
@@ -0,0 +1,5 @@
+.deps
+.libs
+Makefile
+Makefile.in
+libgtest.la
diff --git a/src/gtest/Makefile.am b/src/gtest/Makefile.am
new file mode 100644 (file)
index 0000000..954d4c2
--- /dev/null
@@ -0,0 +1,38 @@
+ # Copyright © 2012 Intel Corporation
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice (including the next
+# paragraph) shall be included in all copies or substantial portions of the
+# Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+# IN THE SOFTWARE.
+
+AM_CFLAGS = $(DEFINES)
+
+lib_LTLIBRARIES = libgtest.la
+
+libgtest_la_SOURCES = \
+       src/gtest-all.cc \
+       src/gtest_main.cc
+
+EXTRA_DIST = \
+       src/gtest.cc \
+       src/gtest-death-test.cc \
+       src/gtest-filepath.cc \
+       src/gtest-internal-inl.h \
+       src/gtest-port.cc \
+       src/gtest-printers.cc \
+       src/gtest-test-part.cc \
+       src/gtest-typed-test.cc