| Index: src/platform/vboot_reference/crypto/Makefile
|
| diff --git a/src/platform/vboot_reference/crypto/Makefile b/src/platform/vboot_reference/crypto/Makefile
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..201085e96b3f333fe248796f6a630c3db9824034
|
| --- /dev/null
|
| +++ b/src/platform/vboot_reference/crypto/Makefile
|
| @@ -0,0 +1,20 @@
|
| +# Copyright (c) 2010 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.
|
| +
|
| +SRCS=rsa.c sha1.c sha2.c padding.c
|
| +OBJS=$(SRCS:.c=.o)
|
| +
|
| +all: libcrypto.a
|
| +
|
| +libcrypto.a: $(OBJS)
|
| + ar rs libcrypto.a $(OBJS)
|
| +
|
| +padding.c: genpadding.sh
|
| + ./genpadding.sh >$@
|
| +
|
| +.c.o: $(OBJS)
|
| + $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
| +
|
| +clean:
|
| + rm -f $(OBJS) libcrypto.a
|
|
|