X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile.in;h=73766ac75b31b69765ab4be9da5d4519a63559a9;hp=b3d1a3ff33801e0c4a53acfa81d2ee7c586184c3;hb=c4f0d4e876a8177db5738596f22349e030e0a1dc;hpb=04fa50e1587057705dccb6e539378415c52209ad diff --git a/Makefile.in b/Makefile.in index b3d1a3f..73766ac 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,11 +6,12 @@ includedir = @includedir@ libdir = @libdir@ datarootdir = @datarootdir@ datadir = @datadir@ +with_demo_app = @with_demo_app@ CC=@CC@ CXX=@CXX@ CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @Eigen3_CFLAGS@ @GLEW_CFLAGS@ -LDFLAGS=@GLEW_LIBS@ @SDL_LIBS@ +LDFLAGS=@GLEW_LIBS@ @SDL_LIBS@ -lpthread DEMO_LDFLAGS=@SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@ RANLIB=ranlib INSTALL=install @@ -48,21 +49,27 @@ TESTED_EFFECTS += padding_effect TESTED_EFFECTS += resample_effect TESTED_EFFECTS += dither_effect TESTED_EFFECTS += deconvolution_sharpen_effect +TESTED_EFFECTS += fft_pass_effect UNTESTED_EFFECTS = sandbox_effect UNTESTED_EFFECTS += mirror_effect UNTESTED_EFFECTS += resize_effect UNTESTED_EFFECTS += vignette_effect +UNTESTED_EFFECTS += multiply_effect EFFECTS = $(TESTED_EFFECTS) $(UNTESTED_EFFECTS) # Unit tests. TESTS=effect_chain_test $(TESTED_INPUTS:=_test) $(TESTED_EFFECTS:=_test) -LIB_OBJS=effect_util.o util.o widgets.o effect.o effect_chain.o init.o $(INPUTS:=.o) $(EFFECTS:=.o) +LIB_OBJS=effect_util.o util.o widgets.o effect.o effect_chain.o init.o resource_pool.o $(INPUTS:=.o) $(EFFECTS:=.o) # Default target: -all: $(TESTS) demo +all: libmovit.a $(TESTS) + +ifeq ($(with_demo_app),yes) +all: demo +endif # Google Test and other test library functions. TEST_OBJS = gtest-all.o gtest_sdl_main.o test_util.o @@ -116,7 +123,7 @@ coverage: check lcov --remove movit.info '*_test.cpp' '*/test_util.{cpp,h}' -o movit.info genhtml -o coverage movit.info -HDRS = effect_chain.h effect.h input.h image_format.h init.h util.h +HDRS = effect_chain.h effect_util.h effect.h input.h image_format.h init.h util.h defs.h resource_pool.h HDRS += $(INPUTS:=.h) HDRS += $(EFFECTS:=.h)