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 swaptest.cc yuvtest.cc testbase.cc | 6 SOURCES_GL_BENCH = main.cc swaptest.cc yuvtest.cc testbase.cc |
7 SOURCES_GL_BENCH += fillratetest.cc readpixeltest.cc trianglesetuptest.cc | 7 SOURCES_GL_BENCH += fillratetest.cc readpixeltest.cc trianglesetuptest.cc |
8 SOURCES_GL_BENCH += attributefetchtest.cc varyingsandddxytest.cc cleartest.cc | 8 SOURCES_GL_BENCH += attributefetchtest.cc varyingsandddxytest.cc cleartest.cc |
9 SOURCES_GL_BENCH += windowmanagercompositingtest.cc | 9 SOURCES_GL_BENCH += windowmanagercompositingtest.cc textureupdatetest.cc |
10 SOURCES_TEARTEST = teartest.cc | 10 SOURCES_TEARTEST = teartest.cc |
11 SOURCES_WINDOWMANAGERTEST = windowmanagertest.cc | 11 SOURCES_WINDOWMANAGERTEST = windowmanagertest.cc |
12 SOURCES_ALL = $(SOURCES_COMMON) \ | 12 SOURCES_ALL = $(SOURCES_COMMON) \ |
13 $(SOURCES_GL_BENCH) \ | 13 $(SOURCES_GL_BENCH) \ |
14 $(SOURCES_TEARTEST) \ | 14 $(SOURCES_TEARTEST) \ |
15 $(SOURCES_WINDOWMANAGERTEST) | 15 $(SOURCES_WINDOWMANAGERTEST) |
16 | 16 |
17 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 |
18 LDFLAGS = -lGL -lX11 | 18 LDFLAGS = -lGL -lX11 |
19 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... |
56 $(RM) $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST) | 56 $(RM) $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST) |
57 $(RM) $(OBJS_ALL) $(DEPS_ALL) | 57 $(RM) $(OBJS_ALL) $(DEPS_ALL) |
58 | 58 |
59 $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST): | 59 $(GL_BENCH) $(TEARTEST) $(WINDOWMANAGERTEST): |
60 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS) | 60 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS) |
61 | 61 |
62 $(OBJS_ALL): %.o: %.cc | 62 $(OBJS_ALL): %.o: %.cc |
63 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD | 63 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD |
64 | 64 |
65 -include $(DEPS_ALL) | 65 -include $(DEPS_ALL) |
OLD | NEW |