Ticket #15209: libfes.patch

File libfes.patch, 2.3 KB (added by jdemeyer, 5 years ago)
  • Makefile.am

    diff -ru fes-fes-1229a4ec1e4e/Makefile.am fes-fixed/Makefile.am
    old new  
    11AUTOMAKE_OPTIONS = gnu
    22ACLOCAL_AMFLAGS = -I m4
    33
    4 EXTRA_DIST = configfsf.guess configfsf.sub
    54SUBDIRS = src test .
  • src/Makefile.am

    diff -ru fes-fes-1229a4ec1e4e/src/Makefile.am fes-fixed/src/Makefile.am
    old new  
    44libfesdir = $(libdir)
    55libfes_la_SOURCES = idx_LUT.c idx_LUT.h common.c wrapper.c fes.h moebius_transform.c
    66include_HEADERS = fes_interface.h
     7noinst_HEADERS = binomials.h
    78
    89# built_sources.am is generated by... gen_built_sources.py
    910include $(srcdir)/built_sources.am
     
    1213BUILT_SOURCES += all_functions.h
    1314
    1415all_functions.h: gen_built_sources.py
    15         $(PYTHON) gen_built_sources.py $@ $(TAB_T) > $@
     16        $(PYTHON) $< $@ $(TAB_T) > $@
    1617
    1718
    1819if HAVE_SSE2
     
    2829CLEANFILES = $(nodist_libfes_la_SOURCES)
    2930
    3031autogenerated_c%.c: boilerplate_generator.py
    31         $(PYTHON) boilerplate_generator.py $@ > $@
     32        $(PYTHON) $< $@ > $@
    3233
    33 autogenerated_asm%.s : gen_qhasm_code.py
    34         $(PYTHON) gen_qhasm_code.py $@ > $@
     34autogenerated_asm%.s: gen_qhasm_code.py
     35        $(PYTHON) $< $@ > $@
     36
     37EXTRA_DIST = boilerplate_generator.py gen_built_sources.py gen_qhasm_code.py get_idx_list.py idx_LUT.py
  • test/Makefile.am

    diff -ru fes-fes-1229a4ec1e4e/test/Makefile.am fes-fixed/test/Makefile.am
    old new  
    1 AM_CPPFLAGS = -I$(top_srcdir)/src
     1AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src
    22LDADD = $(top_builddir)/src/libfes.la rand.o
     3noinst_HEADERS = rand.h
    34
    4 TESTS = core_tests.py wrapper_tests.py test_LUT
     5# We just need the object rand.o, not really the library
     6noinst_LIBRARIES = rand.a
     7rand_a_SOURCES = rand.c
    58
    69LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
    7 EXTRA_DIST = $(TESTS)
    8 
    910
    1011check_PROGRAMS = semislow fast moebius test_wrapper test_LUT # semislow_specialize
    1112
     
    1314check_PROGRAMS += simd #simd_el
    1415endif
    1516
     17EXTRA_DIST = core_tests.py wrapper_tests.py