1 include $(SUBDIR)../config.mak
66 HEADERS-$(CONFIG_LZO) += lzo.h
68 HEADERS-$(CONFIG_OPENCL) += opencl.h
70 ARCH_HEADERS = bswap.h \
75 BUILT_HEADERS = avconfig.h \
139 OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \
141 OBJS-$(CONFIG_LZO) += lzo.o
142 OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
144 OBJS += $(COMPAT_OBJS:%=../compat/%)
146 # Windows resource file
147 SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
149 SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
150 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
151 SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
152 SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
154 TESTPROGS = adler32 \
195 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
197 TOOLS = crypto_bench ffhash ffeval ffescape
199 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
200 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
202 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2