From ed86ff4029dd15c581aa077f939f128fc4517f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Fri, 13 Mar 2015 10:27:36 +0100 Subject: Adding c model for the modexp core. --- src/model/c/Debug/makefile | 44 +++++++++++++++++++++++++++++++++++++++++ src/model/c/Debug/objects.mk | 8 ++++++++ src/model/c/Debug/sources.mk | 17 ++++++++++++++++ src/model/c/Debug/src/subdir.mk | 33 +++++++++++++++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 src/model/c/Debug/makefile create mode 100644 src/model/c/Debug/objects.mk create mode 100644 src/model/c/Debug/sources.mk create mode 100644 src/model/c/Debug/src/subdir.mk (limited to 'src/model/c/Debug') diff --git a/src/model/c/Debug/makefile b/src/model/c/Debug/makefile new file mode 100644 index 0000000..92c7223 --- /dev/null +++ b/src/model/c/Debug/makefile @@ -0,0 +1,44 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm -rf + +# All of the sources participating in the build are defined here +-include sources.mk +-include src/subdir.mk +-include subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: rsa + +# Tool invocations +rsa: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: MacOS X C Linker' + gcc -o "rsa" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(EXECUTABLES)$(OBJS)$(C_DEPS) rsa + -@echo ' ' + +.PHONY: all clean dependents +.SECONDARY: + +-include ../makefile.targets diff --git a/src/model/c/Debug/objects.mk b/src/model/c/Debug/objects.mk new file mode 100644 index 0000000..742c2da --- /dev/null +++ b/src/model/c/Debug/objects.mk @@ -0,0 +1,8 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := + diff --git a/src/model/c/Debug/sources.mk b/src/model/c/Debug/sources.mk new file mode 100644 index 0000000..a1c58f7 --- /dev/null +++ b/src/model/c/Debug/sources.mk @@ -0,0 +1,17 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +OBJ_SRCS := +ASM_SRCS := +C_SRCS := +O_SRCS := +S_UPPER_SRCS := +EXECUTABLES := +OBJS := +C_DEPS := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +src \ + diff --git a/src/model/c/Debug/src/subdir.mk b/src/model/c/Debug/src/subdir.mk new file mode 100644 index 0000000..05aad58 --- /dev/null +++ b/src/model/c/Debug/src/subdir.mk @@ -0,0 +1,33 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../src/RSATestBench.c \ +../src/bignum_uint32_t.c \ +../src/montgomery_array.c \ +../src/montgomery_array_test.c + +OBJS += \ +./src/RSATestBench.o \ +./src/bignum_uint32_t.o \ +./src/montgomery_array.o \ +./src/montgomery_array_test.o + +C_DEPS += \ +./src/RSATestBench.d \ +./src/bignum_uint32_t.d \ +./src/montgomery_array.d \ +./src/montgomery_array_test.d + + +# Each subdirectory must supply rules for building sources it contributes +src/%.o: ../src/%.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -O0 -g3 -pedantic -pedantic-errors -Wall -Wextra -Werror -Wconversion -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + -- cgit v1.2.3