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.in

    re10537a9 r4f18de3  
    309309fstream_test_SOURCES = fstream_test.c
    310310avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c
     311
     312# SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated
     313# however, here it is more complicated because it must match the dependencies exactly
     314# depencies seem to have the absolute path to the build directory and relative path
     315# to the headers from there
     316headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*")
     317headers_real = $(shell realpath --relative-to=$(top_builddir) $(headers))
     318headers_deps = $(addprefix $(abs_top_builddir)/, $(headers))
    311319all: all-am
    312320
     
    626634concurrency :
    627635        @+${TEST_PY} --debug=${debug} -Iconcurrent
    628 
     636$(headers_deps) :
     637        echo "Dummy rule, should never be called"
     638
     639# implicit rule so not all test require a rule
    629640% : %.c $(CC)
    630641        $(COMPILE) $(abspath ${<}) -o ${@}
Note: See TracChangeset for help on using the changeset viewer.