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

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

Issue 744002: Vboot Reference: Make length types explicitly sized. (Closed)
Patch Set: Created 10 years, 9 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 CC ?= gcc 5 CC ?= gcc
6 CXX ?= g++ 6 CXX ?= g++
7 CFLAGS = -Wall -DNDEBUG -O3 7 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror
8 INCLUDES ?= -I../include/ 8 INCLUDES ?= -I../include/
9 TOP ?= ../ 9 TOP ?= ../
10 10
11 LIBS = firmware_image.o kernel_image.o signature_digest.o file_keys.o 11 LIBS = firmware_image.o kernel_image.o signature_digest.o file_keys.o
12 FIRMWARELIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a 12 FIRMWARELIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a
13 13
14 all: dumpRSAPublicKey verify_data file_keys.o signature_digest.o \ 14 all: dumpRSAPublicKey verify_data file_keys.o signature_digest.o \
15 firmware_image.o kernel_image.o signature_digest.o \ 15 firmware_image.o kernel_image.o signature_digest.o \
16 signature_digest_utility firmware_utility kernel_utility 16 signature_digest_utility firmware_utility kernel_utility
17 17
(...skipping 14 matching lines...) Expand all
32 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \ 32 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \
33 -o $@ $(FIRMWARELIBS) $(LIBS) -lcrypto 33 -o $@ $(FIRMWARELIBS) $(LIBS) -lcrypto
34 34
35 signature_digest.o: signature_digest.c 35 signature_digest.o: signature_digest.c
36 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ 36 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
37 37
38 file_keys.o: file_keys.c 38 file_keys.o: file_keys.c
39 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ 39 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
40 40
41 firmware_image.o: firmware_image.c 41 firmware_image.o: firmware_image.c
42 » $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@ 42 » $(CC) -ansi $(CFLAGS) $(INCLUDES) -c $< -o $@
43 43
44 kernel_image.o: kernel_image.c 44 kernel_image.o: kernel_image.c
45 » $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@ 45 » $(CC) -ansi $(CFLAGS) $(INCLUDES) -c $< -o $@
46 clean: 46 clean:
47 rm -f dumpRSAPublicKey verify_data signature_digest firmware_utility \ 47 rm -f dumpRSAPublicKey verify_data signature_digest firmware_utility \
48 kernel_utility signature_digest_utility $(LIBS) 48 kernel_utility signature_digest_utility $(LIBS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698