mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
22 lines
530 B
Makefile
22 lines
530 B
Makefile
# 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 rsa_utility.c sha_utility.c
|
|
OBJS = $(SRCS:.c=.o)
|
|
CFLAGS += -DUNROLL_LOOPS -DHAVE_ENDIAN_H -DHAVE_LITTLE_ENDIAN
|
|
|
|
all: libcrypto.a
|
|
|
|
libcrypto.a: $(OBJS)
|
|
ar rs libcrypto.a $(OBJS)
|
|
|
|
padding.c: genpadding.sh
|
|
./genpadding.sh >$@
|
|
|
|
.c.o: $(OBJS)
|
|
$(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@
|
|
|
|
clean:
|
|
rm -f $(OBJS) libcrypto.a
|