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

Side by Side Diff: msc/nmakefile

Issue 2809037: Make vboot_reference build in MSVC command line environment. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Integrated trunk changes. Created 10 years, 5 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
« no previous file with comments | « msc/README.txt ('k') | tests/cgptlib_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 !IF "$(MOD)" == ""
3 !ERROR MOD (Make output dir) is not defined
4 !ENDIF
5
6 O = $(MOD)
7 R = z:\shared\vboot_reference
8
9 ALL_OBJS = $O\main.obj $O\stateful_util.obj $O\cgptlib_internal.obj \
10 $O\cgptlib.obj $O\crc32.obj $O\vboot_common.obj $O\vboot_kernel.obj \
11 $O\vboot_firmware.obj $O\rollback_index.obj $O\sha_utility.obj $O\rsa.obj \
12 $O\rsa_utility.obj $O\padding.obj $O\sha2.obj $O\sha1.obj \
13 $O\load_firmware_stub.obj $O\tlcl.obj $O\utility_stub.obj \
14 $O\boot_device_stub.obj $O\crc32_test.obj $O\rollback_index_mock.obj \
15 $O\test_common.obj $O\cgptlib_test.obj $O\rsa_padding_test.obj \
16 $O\sha_tests.obj $O\vboot_common_tests.obj $O\vboot_common2_tests.obj \
17 $O\vboot_common3_tests.obj
18
19 CFLAGS = $(CFLAGS) /I $R\firmware\lib\include
20 CFLAGS = $(CFLAGS) /I $R\firmware\lib\cgptlib\include
21 CFLAGS = $(CFLAGS) /I $R\firmware\include
22 CFLAGS = $(CFLAGS) /I $R\firmware\stub\include
23 CFLAGS = $(CFLAGS) /I $R\firmware\lib\cryptolib\include
24 CFLAGS = $(CFLAGS) /I $R\host\include
25
26 CFLAGS = $(CFLAGS) /W4 /WX /D TARGET_TEST_MODE
27
28 COMPILE = $(CC) $(CFLAGS) /Fo$@ -c $<
29
30 all: $(ALL_OBJS)
31
32 {$R\firmware\linktest}.c{$O}.obj:
33 $(COMPILE)
34
35 {$R\firmware\lib}.c{$O}.obj:
36 $(COMPILE)
37
38 {$R\firmware\lib\cgptlib}.c{$O}.obj:
39 $(COMPILE)
40
41 {$R\firmware\lib\cryptolib}.c{$O}.obj:
42 $(COMPILE)
43
44 {$R\firmware\stub}.c{$O}.obj:
45 $(COMPILE)
46
47 {$R\tests}.c{$O}.obj:
48 $(COMPILE)
49
50 #{$R\cgpt}.c{$O}.obj:
51 #$R/firmware/lib/cgptlibc.$O.obj:
52 #$R/firmware/lib/cryptolibc.$O.obj:
53 #$R/firmware/stubc.$O.obj:
54 #$R/utilityc.$O.obj:
55 # $(CC) $(CFLAGS) -Fd$O\ -c $<
OLDNEW
« no previous file with comments | « msc/README.txt ('k') | tests/cgptlib_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698