1# Copyright (c) 2012 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 file. 4#include $(ADHD_DIR)/defs/definitions.mk 5CWARN= 6CFLAGS= 7 8$(ADHD_DIR)/cras/configure: $(ADHD_DIR)/cras/configure.ac \ 9 $(ADHD_DIR)/cras/Makefile.am 10 (cd $(ADHD_DIR)/cras && \ 11 $(ADHD_DIR)/cras/git_prepare.sh) 12 13$(ADHD_DIR)/cras/Makefile: $(ADHD_DIR)/cras/configure 14 (cd $(ADHD_DIR)/cras && \ 15 $(ADHD_DIR)/cras/configure \ 16 --build=$(CBUILD) \ 17 --host=$(CHOST) \ 18 --prefix=/usr \ 19 --mandir=/usr/share/man \ 20 --infodir=/usr/share/info \ 21 --datadir=/usr/share \ 22 --sysconfdir=/etc \ 23 --localstatedir=/var/lib) 24 25cras: $(ADHD_DIR)/cras/Makefile 26 (cd $(ADHD_DIR)/cras && \ 27 $(MAKE) -f $(ADHD_DIR)/cras/Makefile) 28 29cras_install: 30 (cd $(ADHD_DIR)/cras && \ 31 $(MAKE) -f $(ADHD_DIR)/cras/Makefile install) 32 33