1 include $(SUBDIR)../config.mak
69 HEADERS-$(CONFIG_LZO) += lzo.h
71 HEADERS-$(CONFIG_OPENCL) += opencl.h
73 ARCH_HEADERS = bswap.h \
78 BUILT_HEADERS = avconfig.h \
142 OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \
144 OBJS-$(CONFIG_LZO) += lzo.o
145 OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
147 OBJS += $(COMPAT_OBJS:%=../compat/%)
149 # Windows resource file
150 SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
152 SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
153 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
154 SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
155 SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
157 TESTPROGS = adler32 \
198 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
200 TOOLS = crypto_bench ffhash ffeval ffescape
202 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
203 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
205 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2