diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-03-13 10:27:36 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-03-13 10:27:36 +0100 |
commit | ed86ff4029dd15c581aa077f939f128fc4517f52 (patch) | |
tree | 673ec7a0a16da3af03758049973347b2f6800ee0 /src/model/c/Debug | |
parent | fec98c9623f915b0e01cc7e7fa95a8cdfbf8cfb8 (diff) |
Adding c model for the modexp core.
Diffstat (limited to 'src/model/c/Debug')
-rw-r--r-- | src/model/c/Debug/makefile | 44 | ||||
-rw-r--r-- | src/model/c/Debug/objects.mk | 8 | ||||
-rw-r--r-- | src/model/c/Debug/sources.mk | 17 | ||||
-rw-r--r-- | src/model/c/Debug/src/subdir.mk | 33 |
4 files changed, 102 insertions, 0 deletions
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 ' ' + + |