| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2011 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 CXX ?= g++ | 5 CXX ?= g++ |
| 6 CXXFLAGS ?= -Wall -Werror -g | 6 CXXFLAGS ?= -Wall -Werror -g |
| 7 CXXFLAGS += -DOS_CHROMEOS | 7 CXXFLAGS += -DOS_CHROMEOS |
| 8 PKG_CONFIG ?= pkg-config | 8 PKG_CONFIG ?= pkg-config |
| 9 | 9 |
| 10 BASE_LIBS = -lpthread -lrt -lchromeos -lbootstat -levent -lprotobuf-lite -lbase | 10 BASE_LIBS = -lpthread -lrt -lchromeos -lbootstat -levent -lprotobuf-lite -lbase |
| 11 LIBS = $(BASE_LIBS) | 11 LIBS = $(BASE_LIBS) |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 $(DBUS_CLIENT): $(BINDINGS) $(DBUS_SOURCE) | 79 $(DBUS_CLIENT): $(BINDINGS) $(DBUS_SOURCE) |
| 80 dbus-binding-tool --mode=glib-client \ | 80 dbus-binding-tool --mode=glib-client \ |
| 81 --prefix=`basename $(DBUS_SOURCE) .xml` $(DBUS_SOURCE) > $(DBUS_CLIENT) | 81 --prefix=`basename $(DBUS_SOURCE) .xml` $(DBUS_SOURCE) > $(DBUS_CLIENT) |
| 82 | 82 |
| 83 $(PROTO_BINDINGS): $(BINDINGS) $(PROTO_DEFS) | 83 $(PROTO_BINDINGS): $(BINDINGS) $(PROTO_DEFS) |
| 84 protoc --proto_path=$(PROTO_PATH) --cpp_out=$(BINDINGS) $(PROTO_DEFS) | 84 protoc --proto_path=$(PROTO_PATH) --cpp_out=$(BINDINGS) $(PROTO_DEFS) |
| 85 | 85 |
| 86 clean: | 86 clean: |
| 87 rm -rf *.o $(KEYGEN_BIN) $(SESSION_BIN) $(TEST_BIN) $(BINDINGS) | 87 rm -rf *.o $(KEYGEN_BIN) $(SESSION_BIN) $(TEST_BIN) $(BINDINGS) |
| OLD | NEW |