1 include $(SUBDIR)../config.mak
68 HEADERS-$(CONFIG_LZO) += lzo.h
70 HEADERS-$(CONFIG_OPENCL) += opencl.h
72 ARCH_HEADERS = bswap.h \
77 BUILT_HEADERS = avconfig.h \
141 OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \
143 OBJS-$(CONFIG_LZO) += lzo.o
144 OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
146 OBJS += $(COMPAT_OBJS:%=../compat/%)
148 # Windows resource file
149 SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
151 SKIPHEADERS = old_pix_fmts.h
153 SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
154 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
155 SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
156 SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
158 TESTPROGS = adler32 \
199 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
201 TOOLS = crypto_bench ffhash ffeval ffescape
203 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
204 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
206 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2