forked from old/legacy-imlib2
test: Properly include test.h in test SOURCES
This commit is contained in:
parent
5d9a589612
commit
16cda0cc97
|
@ -34,29 +34,31 @@ endif
|
|||
%.c: $(top_srcdir)/src/lib/%.c
|
||||
ln -s $< $@
|
||||
|
||||
test_file_SOURCES = test.cpp test_file.cpp
|
||||
TEST_COMMON = test.cpp test.h
|
||||
|
||||
test_file_SOURCES = $(TEST_COMMON) test_file.cpp
|
||||
nodist_test_file_SOURCES = file.c
|
||||
test_file_LDADD = $(LIBS)
|
||||
|
||||
test_context_SOURCES = test.cpp test_context.cpp
|
||||
test_context_SOURCES = $(TEST_COMMON) test_context.cpp
|
||||
test_context_LDADD = $(LIBS)
|
||||
|
||||
test_load_SOURCES = test.cpp test_load.cpp
|
||||
test_load_SOURCES = $(TEST_COMMON) test_load.cpp
|
||||
test_load_LDADD = $(LIBS)
|
||||
|
||||
test_load_2_SOURCES = test.cpp test_load_2.cpp
|
||||
test_load_2_SOURCES = $(TEST_COMMON) test_load_2.cpp
|
||||
test_load_2_LDADD = $(LIBS) -lz
|
||||
|
||||
test_save_SOURCES = test.cpp test_save.cpp
|
||||
test_save_SOURCES = $(TEST_COMMON) test_save.cpp
|
||||
test_save_LDADD = $(LIBS)
|
||||
|
||||
test_grab_SOURCES = test.cpp test_grab.cpp
|
||||
test_grab_SOURCES = $(TEST_COMMON) test_grab.cpp
|
||||
test_grab_LDADD = $(LIBS)
|
||||
|
||||
test_scale_SOURCES = test.cpp test_scale.cpp
|
||||
test_scale_SOURCES = $(TEST_COMMON) test_scale.cpp
|
||||
test_scale_LDADD = $(LIBS) -lz
|
||||
|
||||
test_rotate_SOURCES = test.cpp test_rotate.cpp
|
||||
test_rotate_SOURCES = $(TEST_COMMON) test_rotate.cpp
|
||||
test_rotate_LDADD = $(LIBS) -lz
|
||||
|
||||
TESTS_RUN = $(addprefix run-, $(GTESTS))
|
||||
|
|
Loading…
Reference in New Issue