1## ============================================================= 2## 3## Automake definitions for the LiDIA NF package's library stuff 4## 5## ============================================================= 6 7AUTOMAKE_OPTIONS = 1.5 nostdinc 8 9ETAGS_ARGS = -C -l c++ 10 11include $(top_srcdir)/Paths.def 12 13 14## ------------- 15## INCLUDE PATHS 16## ------------- 17 18AM_CPPFLAGS = \ 19 -I$(LIDIA_CONFIG_INCLUDEDIR) \ 20 -I$(LIDIA_BASE_INCLUDEDIR) -I$(srcdir)/$(LIDIA_BASE_INCLUDEDIR) \ 21 -I$(LIDIA_FF_INCLUDEDIR) -I$(srcdir)/$(LIDIA_FF_INCLUDEDIR) \ 22 -I$(LIDIA_LA_INCLUDEDIR) -I$(srcdir)/$(LIDIA_LA_INCLUDEDIR) \ 23 -I$(LIDIA_LT_INCLUDEDIR) -I$(srcdir)/$(LIDIA_LT_INCLUDEDIR) \ 24 -I$(LIDIA_NF_INCLUDEDIR) -I$(srcdir)/$(LIDIA_NF_INCLUDEDIR) 25 26 27## --------- 28## LIBRARIES 29## --------- 30 31noinst_LTLIBRARIES = libLiDIA-NF.la 32 33# We don't want to have $(LIBS) in the convenience library. 34# FIXME: This is not safe against command-line overrides. 35LIBS = 36 37 38## --------------- 39## LIBRARY SOURCES 40## --------------- 41 42libLiDIA_NF_la_SOURCES = \ 43 $(LIDIA_NF_SRCDIR)/algebraic_num/alg_factor.cc \ 44 $(LIDIA_NF_SRCDIR)/algebraic_num/alg_number.cc \ 45 $(LIDIA_NF_SRCDIR)/algebraic_num/factorization/sf_alg_ideal.cc \ 46 $(LIDIA_NF_SRCDIR)/algebraic_num/ideal.cc \ 47 $(LIDIA_NF_SRCDIR)/algebraic_num/module.cc \ 48 $(LIDIA_NF_SRCDIR)/algebraic_num/order.cc \ 49 $(LIDIA_NF_SRCDIR)/algebraic_num/prime_ideal.cc \ 50 $(LIDIA_NF_SRCDIR)/instantiate/bpf_quadratic_number_standard.cc \ 51 $(LIDIA_NF_SRCDIR)/instantiate/bpp_quadratic_ideal.cc \ 52 $(LIDIA_NF_SRCDIR)/instantiate/bv_bpp_qi_bigint.cc \ 53 $(LIDIA_NF_SRCDIR)/instantiate/bv_p_bigint.cc \ 54 $(LIDIA_NF_SRCDIR)/instantiate/bv_partial_relation.cc \ 55 $(LIDIA_NF_SRCDIR)/instantiate/bv_pp_sf_alg_ideal.cc \ 56 $(LIDIA_NF_SRCDIR)/instantiate/bv_qi_class.cc \ 57 $(LIDIA_NF_SRCDIR)/instantiate/bv_qi_class_real.cc \ 58 $(LIDIA_NF_SRCDIR)/instantiate/bv_quadratic_form.cc \ 59 $(LIDIA_NF_SRCDIR)/instantiate/bv_quadratic_ideal.cc \ 60 $(LIDIA_NF_SRCDIR)/instantiate/bv_quadratic_number_power_product.cc \ 61 $(LIDIA_NF_SRCDIR)/instantiate/bv_quadratic_number_standard.cc \ 62 $(LIDIA_NF_SRCDIR)/instantiate/bv_xbigfloat.cc \ 63 $(LIDIA_NF_SRCDIR)/instantiate/fact_alg_ideal.cc \ 64 $(LIDIA_NF_SRCDIR)/instantiate/ht_ideal_node.cc \ 65 $(LIDIA_NF_SRCDIR)/instantiate/ht_qi_class_real.cc \ 66 $(LIDIA_NF_SRCDIR)/instantiate/ht_quadratic_form.cc \ 67 $(LIDIA_NF_SRCDIR)/instantiate/iht_ideal_node.cc \ 68 $(LIDIA_NF_SRCDIR)/instantiate/iht_qi_class_real.cc \ 69 $(LIDIA_NF_SRCDIR)/instantiate/lpf_quadratic_number_standard.cc \ 70 $(LIDIA_NF_SRCDIR)/instantiate/mv_quadratic_number_standard.cc \ 71 $(LIDIA_NF_SRCDIR)/instantiate/pair_bigint.cc \ 72 $(LIDIA_NF_SRCDIR)/instantiate/rcl_quadratic_number_power_product_basis.cc \ 73 $(LIDIA_NF_SRCDIR)/instantiate/sv_p_bigint.cc \ 74 $(LIDIA_NF_SRCDIR)/instantiate/sv_pp_sf_alg_ideal.cc \ 75 $(LIDIA_NF_SRCDIR)/quadratic_order/compute_class_group.cc \ 76 $(LIDIA_NF_SRCDIR)/quadratic_order/matrix/bigint_matrix_qo.cc \ 77 $(LIDIA_NF_SRCDIR)/quadratic_order/qi_class.cc \ 78 $(LIDIA_NF_SRCDIR)/quadratic_order/qi_class_real.cc \ 79 $(LIDIA_NF_SRCDIR)/quadratic_order/qo_list.cc \ 80 $(LIDIA_NF_SRCDIR)/quadratic_order/qo_sieve.cc \ 81 $(LIDIA_NF_SRCDIR)/quadratic_order/qo_subexp.cc \ 82 $(LIDIA_NF_SRCDIR)/quadratic_order/qo_util.cc \ 83 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_form.cc \ 84 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_ideal.cc \ 85 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_ideal_power_product.cc \ 86 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_number_logarithm.cc \ 87 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_number_power_product.cc \ 88 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_number_power_product_basis.cc \ 89 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_number_standard.cc \ 90 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_order1.cc \ 91 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_order2.cc \ 92 $(LIDIA_NF_SRCDIR)/quadratic_order/quadratic_order3.cc 93 94 95## ------- 96## HEADERS 97## ------- 98 99instantincludedir = $(pkgincludedir)/instantiate 100specialincludedir = $(pkgincludedir)/specialization 101nfincludedir = $(pkgincludedir)/number_fields 102 103instantinclude_HEADERS = \ 104 $(LIDIA_NF_PKGINCLUDEDIR)/instantiate/power_product.cc 105 106specialinclude_HEADERS = \ 107 $(LIDIA_NF_PKGINCLUDEDIR)/specialization/alg_ideal.special 108 109nfinclude_HEADERS = \ 110 $(LIDIA_NF_PKGINCLUDEDIR)/number_fields/partial_relation.h \ 111 $(LIDIA_NF_PKGINCLUDEDIR)/number_fields/qo_list.h \ 112 $(LIDIA_NF_PKGINCLUDEDIR)/number_fields/qo_sieve.h \ 113 $(LIDIA_NF_PKGINCLUDEDIR)/number_fields/qo_util.h \ 114 $(LIDIA_NF_PKGINCLUDEDIR)/number_fields/sf_alg_ideal.h 115 116pkginclude_HEADERS = \ 117 $(LIDIA_NF_PKGINCLUDEDIR)/alg_number.h \ 118 $(LIDIA_NF_PKGINCLUDEDIR)/prime_ideal.h \ 119 $(LIDIA_NF_PKGINCLUDEDIR)/qi_class.h \ 120 $(LIDIA_NF_PKGINCLUDEDIR)/qi_class_real.h \ 121 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_form.h \ 122 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_ideal.h \ 123 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_ideal_power_product.h \ 124 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_number_logarithm.h \ 125 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_number_power_product.h \ 126 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_number_power_product_basis.h \ 127 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_number_standard.h \ 128 $(LIDIA_NF_PKGINCLUDEDIR)/quadratic_order.h 129 130 131## ---------------- 132## ADDITIONAL STUFF 133## ---------------- 134 135EXTRA_DIST = 136 137 138## ------------- 139## SPECIAL RULES 140## ------------- 141 142# Remove installation subdirectories after uninstalling, unless left non-empty. 143uninstall-hook: 144 rmdir $(DESTDIR)$(instantincludedir) \ 145 $(DESTDIR)$(specialincludedir) \ 146 $(DESTDIR)$(nfincludedir) \ 147 $(DESTDIR)$(pkgincludedir) \ 148 2>/dev/null; : 149 150# Delete half-made targets when their commands fail 151.DELETE_ON_ERROR: 152 153