X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile.in;h=ea764650fe938a790f24ca18069cdebb5e30cae2;hb=15daf781e6ce00ec37ca806a16e490d59dcb4e24;hp=1091f934eeaee49c6acca04d046ef7aa84d5630b;hpb=a80b859d6c8bb9ed1e7aa547d4a9972f1a041347;p=movit diff --git a/Makefile.in b/Makefile.in index 1091f93..ea76465 100644 --- a/Makefile.in +++ b/Makefile.in @@ -8,13 +8,18 @@ datarootdir = @datarootdir@ datadir = @datadir@ top_builddir = @top_builddir@ with_demo_app = @with_demo_app@ +with_SDL2 = @with_SDL2@ CC=@CC@ CXX=@CXX@ -CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @Eigen3_CFLAGS@ @GLEW_CFLAGS@ -LDFLAGS=@GLEW_LIBS@ @SDL_LIBS@ -lpthread -DEMO_LDLIBS=@SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@ -LIBTOOL=@LIBTOOL@ +CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @SDL2_CFLAGS@ @SDL_CFLAGS@ @Eigen3_CFLAGS@ @epoxy_CFLAGS@ +ifeq ($(with_SDL2),yes) +CXXFLAGS += -DHAVE_SDL2 +endif +LDFLAGS=@epoxy_LIBS@ @SDL2_LIBS@ @SDL_LIBS@ -lpthread +DEMO_LDLIBS=@SDL2_image_LIBS@ @SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@ +SHELL=@SHELL@ +LIBTOOL=@LIBTOOL@ --tag=CXX RANLIB=ranlib INSTALL=install MKDIR=mkdir @@ -54,6 +59,8 @@ TESTED_EFFECTS += dither_effect TESTED_EFFECTS += deconvolution_sharpen_effect TESTED_EFFECTS += fft_pass_effect TESTED_EFFECTS += vignette_effect +TESTED_EFFECTS += slice_effect +TESTED_EFFECTS += complex_modulate_effect UNTESTED_EFFECTS = sandbox_effect UNTESTED_EFFECTS += mirror_effect @@ -63,9 +70,9 @@ UNTESTED_EFFECTS += multiply_effect EFFECTS = $(TESTED_EFFECTS) $(UNTESTED_EFFECTS) # Unit tests. -TESTS=effect_chain_test $(TESTED_INPUTS:=_test) $(TESTED_EFFECTS:=_test) +TESTS=effect_chain_test fp16_test $(TESTED_INPUTS:=_test) $(TESTED_EFFECTS:=_test) -LIB_OBJS=effect_util.o util.o widgets.o effect.o effect_chain.o init.o resource_pool.o $(INPUTS:=.o) $(EFFECTS:=.o) +LIB_OBJS=effect_util.o util.o widgets.o effect.o effect_chain.o init.o resource_pool.o fp16.o $(INPUTS:=.o) $(EFFECTS:=.o) # Default target: all: libmovit.la $(TESTS) @@ -125,7 +132,7 @@ check: $(TESTS) # You need to build with COVERAGE=1 to use this target. coverage: check lcov -d . -c -o movit.info - lcov --remove movit.info '*_test.cpp' 'test_util.*' widgets.cpp -o movit.info + lcov --remove movit.info '*_test.cpp' 'test_util.*' 'sandbox_effect.*' widgets.cpp -o movit.info genhtml -o coverage movit.info HDRS = effect_chain.h effect_util.h effect.h input.h image_format.h init.h util.h defs.h resource_pool.h