123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
- AUTOMAKE_OPTIONS = subdir-objects
- AM_CPPFLAGS = -I$(top_srcdir)/include
- AM_CFLAGS = $(OGG_CFLAGS) $(CAIRO_CFLAGS)
- EXTRA_DIST = \
- encoder_disabled.c \
- arm/arm2gnu.pl \
- arm/armopts.s.in \
- arm/armcpu.c \
- arm/armbits.h \
- arm/armbits.s \
- arm/armfrag.s \
- arm/armidct.s \
- arm/armint.h \
- arm/armenc.h \
- arm/armencfrag.s \
- arm/armenquant.s \
- c64x/c64xint.h \
- c64x/c64xdec.h \
- x86/mmxfrag.c \
- x86/mmxidct.c \
- x86/mmxloop.h \
- x86/mmxstate.c \
- x86/sse2idct.c \
- x86/x86cpu.c \
- x86/x86int.h \
- x86/x86state.c \
- x86/mmxencfrag.c \
- x86/mmxfdct.c \
- x86/sse2encfrag.c \
- x86/sse2fdct.c \
- x86/sse2trans.h \
- x86/x86enc.c \
- x86/x86enc.h \
- x86/x86enquant.c \
- x86/x86zigzag.h \
- x86_vc
- lib_LTLIBRARIES = libtheoradec.la libtheoraenc.la libtheora.la
- if THEORA_DISABLE_ENCODE
- encoder_uniq_sources = \
- encoder_disabled.c
- encoder_sources = \
- $(encoder_uniq_sources)
- else
- encoder_uniq_x86_sources = \
- x86/mmxencfrag.c \
- x86/mmxfdct.c \
- x86/sse2encfrag.c \
- x86/x86enquant.c \
- x86/x86enc.c
- encoder_uniq_x86_64_sources = \
- x86/sse2fdct.c
- encoder_shared_x86_sources = \
- x86/x86cpu.c \
- x86/mmxfrag.c \
- x86/mmxidct.c \
- x86/mmxstate.c \
- x86/sse2idct.c \
- x86/x86state.c
- encoder_shared_x86_64_sources =
- encoder_uniq_arm_sources = \
- armencfrag-gnu.S \
- armenquant-gnu.S \
- arm/armenc.c
- if CPU_arm
- BUILT_SOURCES = \
- armbits-gnu.S \
- armfrag-gnu.S \
- armidct-gnu.S \
- armloop-gnu.S \
- armopts-gnu.S
- endif
- encoder_shared_arm_sources = \
- armbits-gnu.S \
- armfrag-gnu.S \
- armidct-gnu.S \
- armloop-gnu.S \
- arm/armcpu.c \
- arm/armstate.c
- if CPU_x86_64
- encoder_uniq_arch_sources = \
- $(encoder_uniq_x86_sources) \
- $(encoder_uniq_x86_64_sources)
- nodist_encoder_uniq_arch_sources =
- encoder_shared_arch_sources = \
- $(encoder_shared_x86_sources) \
- $(encoder_shared_x86_64_sources)
- nodist_encoder_shared_arch_sources =
- else
- if CPU_x86_32
- encoder_uniq_arch_sources = $(encoder_uniq_x86_sources)
- nodist_encoder_uniq_arch_sources =
- encoder_shared_arch_sources = $(encoder_shared_x86_sources)
- nodist_encoder_shared_arch_sources =
- else
- if CPU_arm
- encoder_uniq_arch_sources =
- nodist_encoder_uniq_arch_sources = $(encoder_uniq_arm_sources)
- encoder_shared_arch_sources =
- nodist_encoder_shared_arch_sources = $(encoder_shared_arm_sources)
- else
- encoder_uniq_arch_sources =
- nodist_encoder_uniq_arch_sources =
- encoder_shared_arch_sources =
- nodist_encoder_shared_arch_sources =
- endif
- endif
- endif
- encoder_uniq_sources = \
- analyze.c \
- fdct.c \
- encfrag.c \
- encapiwrapper.c \
- encinfo.c \
- encode.c \
- enquant.c \
- huffenc.c \
- mathops.c \
- mcenc.c \
- rate.c \
- tokenize.c \
- $(encoder_uniq_arch_sources)
- encoder_sources = \
- apiwrapper.c \
- bitpack.c \
- dequant.c \
- fragment.c \
- idct.c \
- internal.c \
- state.c \
- quant.c \
- $(encoder_shared_arch_sources) \
- $(encoder_uniq_sources)
- nodist_encoder_arch_sources = \
- $(nodist_encoder_shared_arch_sources) \
- $(nodist_encoder_uniq_arch_sources)
- endif
- decoder_x86_sources = \
- x86/x86cpu.c \
- x86/mmxidct.c \
- x86/mmxfrag.c \
- x86/mmxstate.c \
- x86/sse2idct.c \
- x86/x86state.c
- decoder_arm_sources = \
- arm/armcpu.c \
- arm/armstate.c
- nodist_decoder_arm_sources = \
- armbits-gnu.S \
- armfrag-gnu.S \
- armidct-gnu.S \
- armloop-gnu.S
- decoder_c64x_sources = \
- c64x/c64xdec.c \
- c64x/c64xfrag.c \
- c64x/c64xidct.c \
- c64x/c64xstate.c
- if CPU_x86_64
- decoder_arch_sources = $(decoder_x86_sources)
- nodist_decoder_arch_sources =
- else
- if CPU_x86_32
- decoder_arch_sources = $(decoder_x86_sources)
- nodist_decoder_arch_sources =
- else
- if CPU_arm
- decoder_arch_sources = $(decoder_arm_sources)
- nodist_decoder_arch_sources = $(nodist_decoder_arm_sources)
- else
- if CPU_c64x
- decoder_arch_sources = $(decoder_c64x_sources)
- nodist_decoder_arch_sources =
- else
- decoder_arch_sources =
- nodist_decoder_arch_sources =
- endif
- endif
- endif
- endif
- decoder_sources = \
- apiwrapper.c \
- bitpack.c \
- decapiwrapper.c \
- decinfo.c \
- decode.c \
- dequant.c \
- fragment.c \
- huffdec.c \
- idct.c \
- info.c \
- internal.c \
- quant.c \
- state.c \
- $(decoder_arch_sources)
- noinst_HEADERS = \
- apiwrapper.h \
- bitpack.h \
- dct.h \
- decint.h \
- dequant.h \
- encint.h \
- enquant.h \
- huffdec.h \
- huffenc.h \
- huffman.h \
- internal.h \
- mathops.h \
- modedec.h \
- ocintrin.h \
- quant.h \
- state.h \
- arm/armcpu.h \
- c64x/c64xdec.h \
- c64x/c64xint.h \
- x86/mmxloop.h \
- x86/sse2trans.h \
- x86/x86cpu.h \
- x86/x86enc.h \
- x86/x86int.h \
- x86/x86zigzag.h
- libtheoradec_la_SOURCES = \
- $(decoder_sources) \
- Version_script-dec theoradec.exp
- nodist_libtheoradec_la_SOURCES = \
- $(nodist_decoder_arch_sources)
- libtheoradec_la_LDFLAGS = \
- -version-info @THDEC_LIB_CURRENT@:@THDEC_LIB_REVISION@:@THDEC_LIB_AGE@ \
- @THEORADEC_LDFLAGS@ @CAIRO_LIBS@ \
- -no-undefined
- libtheoraenc_la_SOURCES = \
- $(encoder_sources) \
- Version_script-enc theoraenc.exp
- nodist_libtheoraenc_la_SOURCES = \
- $(nodist_encoder_arch_sources)
- libtheoraenc_la_LDFLAGS = \
- -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
- @THEORAENC_LDFLAGS@ $(OGG_LIBS) \
- -no-undefined
- libtheoraenc_la_LIBADD = libtheoradec.la
- libtheora_la_SOURCES = \
- $(decoder_sources) \
- $(encoder_uniq_sources) \
- Version_script theora.exp
- nodist_libtheora_la_SOURCES = \
- $(nodist_decoder_arch_sources) \
- $(nodist_encoder_uniq_arch_sources)
- libtheora_la_LDFLAGS = \
- -version-info @TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ \
- @THEORA_LDFLAGS@ @CAIRO_LIBS@ $(OGG_LIBS) \
- -no-undefined
- debug:
- $(MAKE) all CFLAGS="@DEBUG@"
- profile:
- $(MAKE) all CFLAGS="@PROFILE@"
- # contstruct various symbol export list files
- .def.exp : defexp.awk
- awk -f defexp.awk $< > $@
- CLEANFILES = \
- armbits-gnu.S \
- armfrag-gnu.S \
- armidct-gnu.S \
- armloop-gnu.S \
- armopts-gnu.S \
- armencfrag-gnu.S \
- armenquant-gnu.S
- # automake doesn't do dependency tracking for asm files, that I can tell
- armfrag-gnu.S: armopts-gnu.S
- armidct-gnu.S: armopts-gnu.S
- armloop-gnu.S: armopts-gnu.S
- armencfrag-gnu.S: armopts-gnu.S
- armenquant-gnu.S: armopts-gnu.S
- # convert ARM asm to GNU as format
- %-gnu.S: $(srcdir)/arm/%.s
- $(srcdir)/arm/arm2gnu.pl < $< > $@
- # Special case for armopts.s, because it is built by configure
- armopts-gnu.S: arm/armopts.s
- $(srcdir)/arm/arm2gnu.pl < $< > $@
|