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

Side by Side Diff: Makefile

Issue 6740015: Adds the first bits of our disks daemon. (Closed) Base URL: ssh://gitrw.chromium.org:9222/cros-disks.git@master
Patch Set: fixes copyright dates Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « .gitignore ('k') | common.mk » ('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 # 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
3 # found in the LICENSE.makefile file.
4 #
5 # Top-level Makefile for cros-disks.
6
7 # Pull in chromium os defaults
8 # TODO(rtc): This verison of common.mk came from drewry@, we should find
9 # a way to share the file rather than copying it.
10 include common.mk
11
12 PKG_CONFIG ?= pkg-config
13
14 INCLUDE_DIRS = -I.. $(shell $(PKG_CONFIG) --cflags dbus-1 dbus-glib-1 dbus-c++-1 glib-2.0)
Chris Masone 2011/03/31 14:48:18 do we do 80char in makefiles?
15 LIB_DIRS = $(shell $(PKG_CONFIG) --libs dbus-1 dbus-glib-1 dbus-c++-1 glib-2.0)
16
17 CFLAGS := -Iinclude $(CFLAGS)
18 CXXFLAGS := -Iinclude -I../ $(INCLUDE_DIRS) $(CXXFLAGS)
19 LDFLAGS += -lbase -lgflags -lmetrics $(LIB_DIRS)
20
21 disks: $(OUT)disks
22
23 $(OUT)disks: $(filter-out %_testrunner.o %_unittest.o,$(C_OBJECTS)) \
24 $(CXX_OBJECTS)
25 $(call cxx_binary)
26 all: $(OUT)disks
27 RM_ON_CLEAN += $(OUT)disks
OLDNEW
« no previous file with comments | « .gitignore ('k') | common.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698