1 # Makefile.in generated by automake 1.10.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
21 pkgdatadir = $(datadir)/@PACKAGE@
22 pkglibdir = $(libdir)/@PACKAGE@
23 pkgincludedir = $(includedir)/@PACKAGE@
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
36 check_PROGRAMS = testcurve$(EXEEXT) testrand$(EXEEXT)
38 DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44 mkinstalldirs = $(install_sh) -d
45 CONFIG_HEADER = $(top_builddir)/config.h
47 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
48 am__vpath_adj = case $$p in \
49 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
52 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
53 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
54 libLIBRARIES_INSTALL = $(INSTALL_DATA)
55 LIBRARIES = $(lib_LIBRARIES)
58 libg2hec_a_AR = $(AR) $(ARFLAGS)
60 am_libg2hec_a_OBJECTS = g2hcurve.$(OBJEXT) cantor.$(OBJEXT) \
61 divisor.$(OBJEXT) add_explicit.$(OBJEXT) \
62 divisor_negate.$(OBJEXT) sub.$(OBJEXT) scalar_mul.$(OBJEXT) \
64 libg2hec_a_OBJECTS = $(am_libg2hec_a_OBJECTS)
65 am_testcurve_OBJECTS = testcurve.$(OBJEXT)
66 testcurve_OBJECTS = $(am_testcurve_OBJECTS)
67 testcurve_LDADD = $(LDADD)
68 testcurve_DEPENDENCIES = libg2hec.a
69 am_testrand_OBJECTS = testrand.$(OBJEXT)
70 testrand_OBJECTS = $(am_testrand_OBJECTS)
71 testrand_LDADD = $(LDADD)
72 testrand_DEPENDENCIES = libg2hec.a
73 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
74 depcomp = $(SHELL) $(top_srcdir)/depcomp
75 am__depfiles_maybe = depfiles
76 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
77 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
79 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
81 SOURCES = $(libg2hec_a_SOURCES) $(testcurve_SOURCES) \
83 DIST_SOURCES = $(libg2hec_a_SOURCES) $(testcurve_SOURCES) \
85 includeHEADERS_INSTALL = $(INSTALL_HEADER)
86 HEADERS = $(include_HEADERS)
89 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
93 AUTOHEADER = @AUTOHEADER@
97 CCDEPMODE = @CCDEPMODE@
102 CXXDEPMODE = @CXXDEPMODE@
103 CXXFLAGS = @CXXFLAGS@
104 CYGPATH_W = @CYGPATH_W@
114 INSTALL_DATA = @INSTALL_DATA@
115 INSTALL_PROGRAM = @INSTALL_PROGRAM@
116 INSTALL_SCRIPT = @INSTALL_SCRIPT@
117 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
121 LTLIBOBJS = @LTLIBOBJS@
122 MAKEINFO = @MAKEINFO@
126 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
127 PACKAGE_NAME = @PACKAGE_NAME@
128 PACKAGE_STRING = @PACKAGE_STRING@
129 PACKAGE_TARNAME = @PACKAGE_TARNAME@
130 PACKAGE_VERSION = @PACKAGE_VERSION@
131 PATH_SEPARATOR = @PATH_SEPARATOR@
133 SET_MAKE = @SET_MAKE@
137 abs_builddir = @abs_builddir@
138 abs_srcdir = @abs_srcdir@
139 abs_top_builddir = @abs_top_builddir@
140 abs_top_srcdir = @abs_top_srcdir@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 am__include = @am__include@
144 am__leading_dot = @am__leading_dot@
145 am__quote = @am__quote@
147 am__untar = @am__untar@
149 build_alias = @build_alias@
150 builddir = @builddir@
152 datarootdir = @datarootdir@
155 exec_prefix = @exec_prefix@
156 host_alias = @host_alias@
158 includedir = @includedir@
160 install_sh = @install_sh@
162 libexecdir = @libexecdir@
163 localedir = @localedir@
164 localstatedir = @localstatedir@
167 oldincludedir = @oldincludedir@
170 program_transform_name = @program_transform_name@
173 sharedstatedir = @sharedstatedir@
175 sysconfdir = @sysconfdir@
176 target_alias = @target_alias@
177 top_builddir = @top_builddir@
178 top_srcdir = @top_srcdir@
179 INCLUDES = -I$(top_srcdir)/include
180 include_HEADERS = ../include/g2hec_Genus2_ops.h ../include/g2hec_NAF.h \
181 ../include/g2hec_nsfieldtype.h ../include/g2hec_nstools.h \
182 ../include/g2hec_polytype.h ../include/g2hec_nsdebug.h \
183 ../include/g2hec_rand.h
185 lib_LIBRARIES = libg2hec.a
186 libg2hec_a_SOURCES = g2hcurve.C cantor.C divisor.C add_explicit.C \
187 divisor_negate.C sub.C scalar_mul.C rand.C
190 # Add data directory to distro
191 EXTRA_DIST = testdata
192 testcurve_SOURCES = testcurve.C
193 testrand_SOURCES = testrand.C
194 LDADD = libg2hec.a -lntl
195 check_SCRIPTS = g2hectest_small.sh g2hectest_big.sh randtest.sh
196 TESTS = $(check_SCRIPTS)
197 CLEANFILES = g2hectest_small.sh g2hectest_big.sh randtest.sh
201 .SUFFIXES: .C .o .obj
202 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
204 case '$(am__configure_deps)' in \
206 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
211 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
212 cd $(top_srcdir) && \
213 $(AUTOMAKE) --gnu src/Makefile
215 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
218 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
220 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
221 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
224 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
225 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
227 $(top_srcdir)/configure: $(am__configure_deps)
228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
229 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
230 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
231 install-libLIBRARIES: $(lib_LIBRARIES)
233 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
234 @list='$(lib_LIBRARIES)'; for p in $$list; do \
235 if test -f $$p; then \
237 echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
238 $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
242 @list='$(lib_LIBRARIES)'; for p in $$list; do \
243 if test -f $$p; then \
245 echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
246 $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
250 uninstall-libLIBRARIES:
252 @list='$(lib_LIBRARIES)'; for p in $$list; do \
254 echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
255 rm -f "$(DESTDIR)$(libdir)/$$p"; \
259 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
260 libg2hec.a: $(libg2hec_a_OBJECTS) $(libg2hec_a_DEPENDENCIES)
262 $(libg2hec_a_AR) libg2hec.a $(libg2hec_a_OBJECTS) $(libg2hec_a_LIBADD)
266 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
267 testcurve$(EXEEXT): $(testcurve_OBJECTS) $(testcurve_DEPENDENCIES)
268 @rm -f testcurve$(EXEEXT)
269 $(CXXLINK) $(testcurve_OBJECTS) $(testcurve_LDADD) $(LIBS)
270 testrand$(EXEEXT): $(testrand_OBJECTS) $(testrand_DEPENDENCIES)
271 @rm -f testrand$(EXEEXT)
272 $(CXXLINK) $(testrand_OBJECTS) $(testrand_LDADD) $(LIBS)
280 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/add_explicit.Po@am__quote@
281 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cantor.Po@am__quote@
282 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/divisor.Po@am__quote@
283 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/divisor_negate.Po@am__quote@
284 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g2hcurve.Po@am__quote@
285 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rand.Po@am__quote@
286 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_mul.Po@am__quote@
287 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sub.Po@am__quote@
288 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testcurve.Po@am__quote@
289 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testrand.Po@am__quote@
292 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
293 @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
294 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
295 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
296 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
299 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
300 @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
301 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
302 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
303 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
304 install-includeHEADERS: $(include_HEADERS)
306 test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
307 @list='$(include_HEADERS)'; for p in $$list; do \
308 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
310 echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
311 $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
314 uninstall-includeHEADERS:
316 @list='$(include_HEADERS)'; for p in $$list; do \
318 echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
319 rm -f "$(DESTDIR)$(includedir)/$$f"; \
322 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
323 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
324 unique=`for i in $$list; do \
325 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
327 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
328 END { if (nonempty) { for (i in files) print i; }; }'`; \
332 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
333 $(TAGS_FILES) $(LISP)
336 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
337 unique=`for i in $$list; do \
338 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
340 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
341 END { if (nonempty) { for (i in files) print i; }; }'`; \
342 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
343 test -n "$$unique" || unique=$$empty_fix; \
344 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
348 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
349 $(TAGS_FILES) $(LISP)
351 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
352 unique=`for i in $$list; do \
353 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
356 END { if (nonempty) { for (i in files) print i; }; }'`; \
357 test -z "$(CTAGS_ARGS)$$tags$$unique" \
358 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
362 here=`$(am__cd) $(top_builddir) && pwd` \
363 && cd $(top_srcdir) \
364 && gtags -i $(GTAGS_ARGS) $$here
367 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
369 check-TESTS: $(TESTS)
370 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
371 srcdir=$(srcdir); export srcdir; \
373 if test -n "$$list"; then \
374 for tst in $$list; do \
375 if test -f ./$$tst; then dir=./; \
376 elif test -f $$tst; then dir=; \
377 else dir="$(srcdir)/"; fi; \
378 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
379 all=`expr $$all + 1`; \
380 case " $(XFAIL_TESTS) " in \
382 xpass=`expr $$xpass + 1`; \
383 failed=`expr $$failed + 1`; \
384 echo "XPASS: $$tst"; \
387 echo "PASS: $$tst"; \
390 elif test $$? -ne 77; then \
391 all=`expr $$all + 1`; \
392 case " $(XFAIL_TESTS) " in \
394 xfail=`expr $$xfail + 1`; \
395 echo "XFAIL: $$tst"; \
398 failed=`expr $$failed + 1`; \
399 echo "FAIL: $$tst"; \
403 skip=`expr $$skip + 1`; \
404 echo "SKIP: $$tst"; \
407 if test "$$failed" -eq 0; then \
408 if test "$$xfail" -eq 0; then \
409 banner="All $$all tests passed"; \
411 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
414 if test "$$xpass" -eq 0; then \
415 banner="$$failed of $$all tests failed"; \
417 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
422 if test "$$skip" -ne 0; then \
423 skipped="($$skip tests were not run)"; \
424 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
425 dashes="$$skipped"; \
428 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
429 report="Please report to $(PACKAGE_BUGREPORT)"; \
430 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
433 dashes=`echo "$$dashes" | sed s/./=/g`; \
436 test -z "$$skipped" || echo "$$skipped"; \
437 test -z "$$report" || echo "$$report"; \
439 test "$$failed" -eq 0; \
442 distdir: $(DISTFILES)
443 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
444 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
445 list='$(DISTFILES)'; \
446 dist_files=`for file in $$list; do echo $$file; done | \
447 sed -e "s|^$$srcdirstrip/||;t" \
448 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
449 case $$dist_files in \
450 */*) $(MKDIR_P) `echo "$$dist_files" | \
451 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
454 for file in $$dist_files; do \
455 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
456 if test -d $$d/$$file; then \
457 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
458 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
459 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
461 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
463 test -f $(distdir)/$$file \
464 || cp -p $$d/$$file $(distdir)/$$file \
469 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS)
470 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
472 all-am: Makefile $(LIBRARIES) $(HEADERS)
474 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
475 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
478 install-exec: install-exec-am
479 install-data: install-data-am
480 uninstall: uninstall-am
483 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
485 installcheck: installcheck-am
487 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
488 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
489 `test -z '$(STRIP)' || \
490 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
494 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
497 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
499 maintainer-clean-generic:
500 @echo "This command is intended for maintainers to use"
501 @echo "it deletes files that may require special tools to rebuild."
504 clean-am: clean-checkPROGRAMS clean-generic clean-libLIBRARIES \
507 distclean: distclean-am
510 distclean-am: clean-am distclean-compile distclean-generic \
523 install-data-am: install-includeHEADERS
525 install-dvi: install-dvi-am
527 install-exec-am: install-libLIBRARIES
529 install-html: install-html-am
531 install-info: install-info-am
535 install-pdf: install-pdf-am
537 install-ps: install-ps-am
541 maintainer-clean: maintainer-clean-am
544 maintainer-clean-am: distclean-am maintainer-clean-generic
546 mostlyclean: mostlyclean-am
548 mostlyclean-am: mostlyclean-compile mostlyclean-generic
558 uninstall-am: uninstall-includeHEADERS uninstall-libLIBRARIES
560 .MAKE: install-am install-strip
562 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
563 clean-checkPROGRAMS clean-generic clean-libLIBRARIES ctags \
564 distclean distclean-compile distclean-generic distclean-tags \
565 distdir dvi dvi-am html html-am info info-am install \
566 install-am install-data install-data-am install-dvi \
567 install-dvi-am install-exec install-exec-am install-html \
568 install-html-am install-includeHEADERS install-info \
569 install-info-am install-libLIBRARIES install-man install-pdf \
570 install-pdf-am install-ps install-ps-am install-strip \
571 installcheck installcheck-am installdirs maintainer-clean \
572 maintainer-clean-generic mostlyclean mostlyclean-compile \
573 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
574 uninstall-am uninstall-includeHEADERS uninstall-libLIBRARIES
578 echo -e "for i in \`ls $(srcdir)/testdata/testdata_small*.dat\`\n\
580 ./testcurve < \$${i} \n\
581 done" > g2hectest_small.sh
583 chmod +x g2hectest_small.sh
586 echo -e "for i in \`ls $(srcdir)/testdata/testdata_big*.dat\`\n\
588 ./testcurve < \$${i} \n\
589 done" > g2hectest_big.sh
591 chmod +x g2hectest_big.sh
594 echo -e "for i in 1 2 3 4 5 6 7 8 9 \n\
600 # Tell versions [3.59,3.63) of GNU make to not export all variables.
601 # Otherwise a system limit (for SysV at least) may be exceeded.