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

Side by Side Diff: src/platform/vboot_reference/cryptolib/Makefile

Issue 1581005: VBoot Reference: Refactoring Part 3 (Closed)
Patch Set: . Created 10 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
OLDNEW
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 ?= ../
5 SRCS = rsa.c sha1.c sha2.c padding.c rsa_utility.c sha_utility.c 6 SRCS = rsa.c sha1.c sha2.c padding.c rsa_utility.c sha_utility.c
6 OBJS = $(SRCS:.c=.o) 7 OBJS = $(SRCS:.c=.o)
7 CFLAGS += -DUNROLL_LOOPS -DHAVE_ENDIAN_H -DHAVE_LITTLE_ENDIAN 8 CFLAGS += -DUNROLL_LOOPS -DHAVE_ENDIAN_H -DHAVE_LITTLE_ENDIAN
9 INCLUDES += -I./include/ -I$(TOP)/common/include/
8 10
9 all: libcrypto.a 11 all: libcrypto.a
10 12
11 libcrypto.a: $(OBJS) 13 libcrypto.a: $(OBJS)
12 ar rs libcrypto.a $(OBJS) 14 ar rs libcrypto.a $(OBJS)
13 15
14 padding.c: genpadding.sh 16 padding.c: $(TOP)/scripts/genpadding.sh
15 » ./genpadding.sh >$@ 17 » $(TOP)/scripts/genpadding.sh >$@
16 18
17 .c.o: $(OBJS) 19 .c.o: $(OBJS)
18 $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@ 20 $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@
19 21
20 clean: 22 clean:
21 rm -f $(OBJS) libcrypto.a 23 rm -f $(OBJS) libcrypto.a
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/common/rollback_index.c ('k') | src/platform/vboot_reference/cryptolib/include/cryptolib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698