Makefile文件  |  33行  |  938 B

# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#include $(ADHD_DIR)/defs/definitions.mk
CWARN=
CFLAGS=

$(ADHD_DIR)/cras/configure: $(ADHD_DIR)/cras/configure.ac \
                            $(ADHD_DIR)/cras/Makefile.am
	(cd $(ADHD_DIR)/cras		&&	\
	$(ADHD_DIR)/cras/git_prepare.sh)

$(ADHD_DIR)/cras/Makefile: $(ADHD_DIR)/cras/configure
	(cd $(ADHD_DIR)/cras		&&	\
	$(ADHD_DIR)/cras/configure		\
	    --build=$(CBUILD)			\
	    --host=$(CHOST)			\
	    --prefix=/usr			\
	    --mandir=/usr/share/man		\
	    --infodir=/usr/share/info		\
	    --datadir=/usr/share		\
	    --sysconfdir=/etc			\
	    --localstatedir=/var/lib)

cras: $(ADHD_DIR)/cras/Makefile
	(cd $(ADHD_DIR)/cras		&&	\
	$(MAKE) -f $(ADHD_DIR)/cras/Makefile)

cras_install:
	(cd $(ADHD_DIR)/cras		&&	\
	$(MAKE) -f $(ADHD_DIR)/cras/Makefile install)