OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 SOURCES_COMMON = xlib_window.cc utils.cc | 5 SOURCES_COMMON = xlib_window.cc utils.cc |
6 SOURCES_GL_BENCH = main.cc bench.cc shaders.cc | 6 SOURCES_GL_BENCH = main.cc swaptest.cc yuvtest.cc testbase.cc |
| 7 SOURCES_GL_BENCH += fillratetest.cc readpixeltest.cc trianglesetuptest.cc |
| 8 SOURCES_GL_BENCH += attributefetchtest.cc varyingsandddxytest.cc cleartest.cc |
| 9 SOURCES_GL_BENCH += windowmanagercompositingtest.cc |
7 SOURCES_TEARTEST = teartest.cc | 10 SOURCES_TEARTEST = teartest.cc |
8 SOURCES_WINDOWMANAGERTEST = windowmanagertest.cc | 11 SOURCES_WINDOWMANAGERTEST = windowmanagertest.cc |
9 SOURCES_ALL = $(SOURCES_COMMON) \ | 12 SOURCES_ALL = $(SOURCES_COMMON) \ |
10 $(SOURCES_GL_BENCH) \ | 13 $(SOURCES_GL_BENCH) \ |
11 $(SOURCES_TEARTEST) \ | 14 $(SOURCES_TEARTEST) \ |
12 $(SOURCES_WINDOWMANAGERTEST) | 15 $(SOURCES_WINDOWMANAGERTEST) |
13 | 16 |
14 CXXFLAGS = -g -Wall -Werror -I$(GCLIENT_ROOT)/src/third_party/chrome/files | 17 CXXFLAGS = -g -Wall -Werror -I$(GCLIENT_ROOT)/src/third_party/chrome/files |
15 LDFLAGS = -lGL -lX11 | 18 LDFLAGS = -lGL -lX11 |
16 LDFLAGS += -L$(GCLIENT_ROOT)/src/third_party/chrome -lbase -lrt -lgflags | 19 LDFLAGS += -L$(GCLIENT_ROOT)/src/third_party/chrome -lbase -lrt -lgflags |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 $(RM) $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST) | 56 $(RM) $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST) |
54 $(RM) $(OBJS_ALL) $(DEPS_ALL) | 57 $(RM) $(OBJS_ALL) $(DEPS_ALL) |
55 | 58 |
56 $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST): | 59 $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST): |
57 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS) | 60 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS) |
58 | 61 |
59 $(OBJS_ALL): %.o: %.cc | 62 $(OBJS_ALL): %.o: %.cc |
60 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD | 63 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD |
61 | 64 |
62 -include $(DEPS_ALL) | 65 -include $(DEPS_ALL) |
OLD | NEW |