diff options
author | 2015-09-04 07:35:06 +0000 | |
---|---|---|
committer | 2015-09-04 07:35:06 +0000 | |
commit | ca6aa8198d2335f8c326c3dd4d26bf5899064214 (patch) | |
tree | 6274a2d971fc0cac0896efe8583927d0190e3d20 /moon-abe/pbc-0.5.14/Makefile.am | |
parent | 92fd2dbfb672d7b2b1cdfd5dd5cf89f7716b3e12 (diff) | |
parent | 3baeb11a8fbcfcdbc31976d421f17b85503b3ecd (diff) |
Merge "init attribute-based encryption"
Diffstat (limited to 'moon-abe/pbc-0.5.14/Makefile.am')
-rw-r--r-- | moon-abe/pbc-0.5.14/Makefile.am | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/moon-abe/pbc-0.5.14/Makefile.am b/moon-abe/pbc-0.5.14/Makefile.am new file mode 100644 index 00000000..ee252596 --- /dev/null +++ b/moon-abe/pbc-0.5.14/Makefile.am @@ -0,0 +1,88 @@ +SUBDIRS = . example gen + +SO_VERSION = 1:0:0 + +ChangeLog : + git log > ChangeLog + +ACLOCAL_AMFLAGS = -I m4 +CLEANFILES = *~ +maintainer-clean-local: + -rm -rf Makefile.in depcomp ltmain.sh config.h.in configure compile config.guess config.sub \ + missing install-sh autom4te.cache aclocal.m4 tmp + +lib_LTLIBRARIES = libpbc.la + +# this should really be a versioned dir, i.e., $(includedir)/pbc-0.5.0 +library_includedir = $(includedir)/pbc +library_include_HEADERS = include/pbc_a1_param.h \ +include/pbc_a_param.h \ +include/pbc_curve.h \ +include/pbc_d_param.h \ +include/pbc_e_param.h \ +include/pbc_field.h \ +include/pbc_multiz.h \ +include/pbc_z.h \ +include/pbc_fieldquadratic.h \ +include/pbc_f_param.h \ +include/pbc_g_param.h \ +include/pbc_i_param.h \ +include/pbc_fp.h \ +include/pbc_ternary_extension_field.h \ +include/pbc.h \ +include/pbc_hilbert.h \ +include/pbc_memory.h \ +include/pbc_mnt.h \ +include/pbc_pairing.h \ +include/pbc_param.h \ +include/pbc_poly.h \ +include/pbc_random.h \ +include/pbc_singular.h \ +include/pbc_test.h \ +include/pbc_utils.h + +libpbc_la_CPPFLAGS = -Iinclude +libpbc_la_SOURCES = arith/field.c arith/z.c \ + arith/naivefp.c arith/fastfp.c \ + arith/fp.c arith/fasterfp.c arith/montfp.c \ + arith/ternary_extension_field.c \ + arith/multiz.c \ + arith/dlog.c \ + arith/fieldquadratic.c arith/poly.c \ + arith/random.c arith/init_random.c \ + misc/darray.c misc/symtab.c misc/get_time.c \ + misc/utils.c misc/memory.c misc/extend_printf.c \ + ecc/mpc.c ecc/mnt.c ecc/hilbert.c ecc/curve.c ecc/pairing.c \ + ecc/singular.c \ + ecc/eta_T_3.c \ + ecc/param.c ecc/a_param.c ecc/d_param.c ecc/e_param.c \ + ecc/f_param.c ecc/g_param.c +libpbc_la_LDFLAGS = -lgmp -lm -version-info $(SO_VERSION) $(PBC_LDFLAGS) $(LIBPBC_LDFLAGS) + +# LDADD is fallback of program_LDADD +# explicit "-lgmp" fixes error of "undefined reference to GMP symbol" +# explicit "-lm" fixes error of "undefined reference to libm symbol" +LDADD = libpbc.la -lgmp -lm +noinst_PROGRAMS = pbc/pbc benchmark/benchmark benchmark/timersa benchmark/ellnet +noinst_PROGRAMS += guru/fp_test guru/quadratic_test guru/poly_test guru/prodpairing_test +noinst_PROGRAMS += guru/ternary_extension_field_test guru/eta_T_3_test +pbc_pbc_CPPFLAGS = -I include +pbc_pbc_SOURCES = pbc/parser.tab.c pbc/lex.yy.c pbc/pbc.c pbc/pbc_getline.c misc/darray.c misc/symtab.c +benchmark_benchmark_CPPFLAGS = -I include +benchmark_benchmark_SOURCES = benchmark/benchmark.c +benchmark_timersa_CPPFLAGS = -I include +benchmark_timersa_SOURCES = benchmark/timersa.c +benchmark_ellnet_CPPFLAGS = -I include +benchmark_ellnet_SOURCES = benchmark/ellnet.c +guru_fp_test_CPPFLAGS = -I include +guru_fp_test_SOURCES = guru/fp_test.c +guru_quadratic_test_CPPFLAGS = -I include +guru_quadratic_test_SOURCES = guru/quadratic_test.c +guru_poly_test_CPPFLAGS = -I include +guru_poly_test_SOURCES = $(libpbc_la_SOURCES) guru/poly_test.c +guru_prodpairing_test_CPPFLAGS = -I include +guru_prodpairing_test_SOURCES = guru/prodpairing_test.c +guru_ternary_extension_field_test_CPPFLAGS = -I include +guru_ternary_extension_field_test_SOURCES = guru/ternary_extension_field_test.c +guru_eta_T_3_test_CPPFLAGS = -I include +guru_eta_T_3_test_SOURCES = guru/eta_T_3_test.c |