Skip to content
Snippets Groups Projects
Commit f5ad511c authored by Niels Möller's avatar Niels Möller
Browse files

Build eccdata only when public key support is enabled.

parent 35bfd974
Branches
Tags
No related merge requests found
2013-04-16 Niels Möller <nisse@lysator.liu.se> 2013-04-16 Niels Möller <nisse@lysator.liu.se>
* Makefile.in (TARGETS): Deleted eccdata, it should be build only
when public key support is enabled.
(clean-here): Exlicitly list it here.
* asm.m4 (m4_log2): New macro, similar to the one in gmp. * asm.m4 (m4_log2): New macro, similar to the one in gmp.
(ALIGN): Changed to take alignment in bytes. Updated all callers, (ALIGN): Changed to take alignment in bytes. Updated all callers,
currently used only in x86 and x86_64 files. currently used only in x86 and x86_64 files.
......
...@@ -32,7 +32,7 @@ internal_SOURCES = nettle-internal.c ...@@ -32,7 +32,7 @@ internal_SOURCES = nettle-internal.c
internal_TARGETS = $(internal_SOURCES:.c=.$(OBJEXT)) internal_TARGETS = $(internal_SOURCES:.c=.$(OBJEXT))
TARGETS = aesdata$(EXEEXT) desdata$(EXEEXT) twofishdata$(EXEEXT) \ TARGETS = aesdata$(EXEEXT) desdata$(EXEEXT) twofishdata$(EXEEXT) \
shadata$(EXEEXT) gcmdata$(EXEEXT) eccdata$(EXEEXT) \ shadata$(EXEEXT) gcmdata$(EXEEXT) \
$(getopt_TARGETS) $(internal_TARGETS) \ $(getopt_TARGETS) $(internal_TARGETS) \
$(LIBTARGETS) $(SHLIBTARGETS) $(LIBTARGETS) $(SHLIBTARGETS)
IMPLICIT_TARGETS = @IF_DLL@ $(LIBNETTLE_FILE) $(LIBHOGWEED_FILE) IMPLICIT_TARGETS = @IF_DLL@ $(LIBNETTLE_FILE) $(LIBHOGWEED_FILE)
...@@ -573,7 +573,8 @@ distcheck: dist ...@@ -573,7 +573,8 @@ distcheck: dist
clean-here: clean-here:
-rm -f $(TARGETS) $(IMPLICIT_TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.s \ -rm -f $(TARGETS) $(IMPLICIT_TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.s \
ecc-192.h ecc-224.h ecc-256.h ecc-384.h ecc-521.h eccdata.stamp ecc-192.h ecc-224.h ecc-256.h ecc-384.h ecc-521.h \
eccdata$(EXEEXT) eccdata.stamp
-rm -rf .lib -rm -rf .lib
distclean-here: clean-here distclean-here: clean-here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment