comparison Makefile @ 4877:8066ba089889 libavcodec

Remove hackish support for the non-free fixed-point AMR-NB reference code.
author diego
date Wed, 25 Apr 2007 19:12:04 +0000
parents 9eb71aebecf4
children 0e38c828bdae
comparison
equal deleted inserted replaced
4876:384c95879d8b 4877:8066ba089889
269 OBJS-$(CONFIG_LIBVORBIS) += oggvorbis.o 269 OBJS-$(CONFIG_LIBVORBIS) += oggvorbis.o
270 OBJS-$(CONFIG_X264) += x264.o 270 OBJS-$(CONFIG_X264) += x264.o
271 OBJS-$(CONFIG_XVID) += xvidff.o xvid_rc.o 271 OBJS-$(CONFIG_XVID) += xvidff.o xvid_rc.o
272 272
273 OBJS-$(CONFIG_AMR) += amr.o 273 OBJS-$(CONFIG_AMR) += amr.o
274 ifeq ($(CONFIG_AMR_NB_FIXED),yes)
275 EXTRAOBJS += amr/*.o
276 EXTRADEPS=amrlibs
277 endif
278 274
279 275
280 OBJS-$(CONFIG_AAC_PARSER) += parser.o 276 OBJS-$(CONFIG_AAC_PARSER) += parser.o
281 OBJS-$(CONFIG_AC3_PARSER) += parser.o ac3.o 277 OBJS-$(CONFIG_AC3_PARSER) += parser.o ac3.o
282 OBJS-$(CONFIG_CAVSVIDEO_PARSER) += cavs.o parser.o 278 OBJS-$(CONFIG_CAVSVIDEO_PARSER) += cavs.o parser.o
395 TESTS+= cpuid_test motion-test 391 TESTS+= cpuid_test motion-test
396 endif 392 endif
397 393
398 include ../common.mak 394 include ../common.mak
399 395
400 amrlibs:
401 $(MAKE) -C amr spclib fipoplib
402
403 tests: apiexample $(TESTS) 396 tests: apiexample $(TESTS)
404 397
405 clean:: 398 clean::
406 rm -f \ 399 rm -f \
407 i386/*.o i386/*~ \ 400 i386/*.o i386/*~ \
411 ppc/*.o ppc/*~ \ 404 ppc/*.o ppc/*~ \
412 ps2/*.o ps2/*~ \ 405 ps2/*.o ps2/*~ \
413 sh4/*.o sh4/*~ \ 406 sh4/*.o sh4/*~ \
414 sparc/*.o sparc/*~ \ 407 sparc/*.o sparc/*~ \
415 apiexample $(TESTS) 408 apiexample $(TESTS)
416 -$(MAKE) -C amr clean
417 409
418 apiexample: apiexample.o $(LIB) 410 apiexample: apiexample.o $(LIB)
419 411
420 cpuid_test: i386/cputest.c 412 cpuid_test: i386/cputest.c
421 $(CC) $(CFLAGS) -D__TEST__ -o $@ $< 413 $(CC) $(CFLAGS) -D__TEST__ -o $@ $<
427 419
428 motion-test: motion_test.o $(LIB) 420 motion-test: motion_test.o $(LIB)
429 421
430 fft-test: fft-test.o $(LIB) 422 fft-test: fft-test.o $(LIB)
431 423
432 .PHONY: amrlibs tests 424 .PHONY: tests