Ignore:
Timestamp:
Jul 28, 2018, 5:41:20 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
a8a7612
Parents:
e10537a9
Message:

Tentative fix for extensionless headers getting deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    re10537a9 r4f18de3  
    7979        @+${TEST_PY} --debug=${debug} -Iconcurrent
    8080
     81# SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated
     82# however, here it is more complicated because it must match the dependencies exactly
     83# depencies seem to have the absolute path to the build directory and relative path
     84# to the headers from there
     85headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*")
     86headers_real = $(shell realpath --relative-to=$(top_builddir) $(headers))
     87headers_deps = $(addprefix $(abs_top_builddir)/, $(headers))
     88$(headers_deps) :
     89        echo "Dummy rule, should never be called"
     90
     91# implicit rule so not all test require a rule
    8192% : %.c $(CC)
    8293        $(COMPILE) $(abspath ${<}) -o ${@}
Note: See TracChangeset for help on using the changeset viewer.