Annotation of embedaddon/strongswan/src/libstrongswan/plugins/bliss/Makefile.am, revision 1.1
1.1 ! misho 1: AM_CPPFLAGS = \
! 2: -I$(top_srcdir)/src/libstrongswan \
! 3: -I$(top_srcdir)/src/libstrongswan/math/libnttfft
! 4:
! 5: AM_CFLAGS = \
! 6: $(PLUGIN_CFLAGS)
! 7:
! 8: # these file are also used by bliss_huffman
! 9: noinst_LTLIBRARIES = libbliss-params.la
! 10:
! 11: libbliss_params_la_SOURCES = \
! 12: bliss_param_set.h bliss_param_set.c
! 13:
! 14: libbliss_params_la_LIBADD = \
! 15: $(top_builddir)/src/libstrongswan/math/libnttfft/libnttfft.la
! 16:
! 17: # these files are also used by the tests, we can't directly refer to them
! 18: # because of the subdirectory, which would cause distclean to fail
! 19: noinst_LTLIBRARIES += libbliss.la
! 20: libbliss_la_SOURCES = \
! 21: bliss_private_key.h bliss_private_key.c \
! 22: bliss_public_key.h bliss_public_key.c \
! 23: bliss_signature.h bliss_signature.c \
! 24: bliss_utils.h bliss_utils.c \
! 25: bliss_bitpacker.h bliss_bitpacker.c \
! 26: bliss_huffman_code.h bliss_huffman_code.c \
! 27: bliss_huffman_code_1.c bliss_huffman_code_3.c bliss_huffman_code_4.c \
! 28: bliss_huffman_coder.h bliss_huffman_coder.c \
! 29: bliss_sampler.h bliss_sampler.c
! 30:
! 31: libbliss_la_LIBADD = \
! 32: $(top_builddir)/src/libstrongswan/math/libnttfft/libnttfft.la \
! 33: libbliss-params.la
! 34:
! 35: if MONOLITHIC
! 36: noinst_LTLIBRARIES += libstrongswan-bliss.la
! 37: else
! 38: plugin_LTLIBRARIES = libstrongswan-bliss.la
! 39: endif
! 40:
! 41: libstrongswan_bliss_la_SOURCES = \
! 42: bliss_plugin.h bliss_plugin.c
! 43:
! 44: libstrongswan_bliss_la_LDFLAGS = -module -avoid-version
! 45:
! 46: libstrongswan_bliss_la_LIBADD = libbliss.la
! 47:
! 48: noinst_PROGRAMS = bliss_huffman
! 49:
! 50: bliss_huffman_SOURCES = bliss_huffman.c
! 51:
! 52: bliss_huffman_LDADD = -lm \
! 53: $(top_builddir)/src/libstrongswan/math/libnttfft/libnttfft.la \
! 54: libbliss-params.la
! 55:
! 56: recreate-bliss-huffman : bliss_huffman bliss_huffman_code.h
! 57: $(AM_V_GEN) \
! 58: ./bliss_huffman 1 8 > $(srcdir)/bliss_huffman_code_1.c 2>/dev/null
! 59: $(AM_V_GEN) \
! 60: ./bliss_huffman 3 16 > $(srcdir)/bliss_huffman_code_3.c 2>/dev/null
! 61: $(AM_V_GEN) \
! 62: ./bliss_huffman 4 32 > $(srcdir)/bliss_huffman_code_4.c 2>/dev/null
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>