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 TOP ?= ../ | |
6 CC ?= gcc | |
7 INCLUDES += -I./include \ | 5 INCLUDES += -I./include \ |
8 -I$(TOP)/common/include \ | 6 -I$(TOP)/common/include \ |
9 -I$(TOP)/vboot_firmware/lib/cryptolib/include \ | 7 -I$(TOP)/vboot_firmware/lib/cryptolib/include \ |
10 -I$(TOP)/vfirmware/include \ | 8 -I$(TOP)/vfirmware/include \ |
11 -I$(TOP)/vkernel/include | 9 -I$(TOP)/vkernel/include |
12 | 10 |
13 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES) | 11 BUILD_ROOT := ${BUILD}/misclibs |
14 TOP ?= ../ | |
15 | 12 |
16 MISCLIB_OUT = file_keys.o signature_digest.o | 13 ALL_SRCS = file_keys.c signature_digest.c |
17 | 14 |
18 all: $(MISCLIB_OUT) | 15 include ../common.mk |
19 | 16 |
20 .c.o: | 17 all: $(ALL_OBJS) |
21 » $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ | |
22 | |
23 clean: | |
24 » rm -f $(MISCLIB_OUT) | |
OLD | NEW |