Mercurial > libavcodec.hg
annotate libpostproc/Makefile @ 3270:d6a5ed01acdf libavcodec
Vorbis specs requires blocksize_1 >= blocksize_0, error if it's false.
Predict buffer size from blocksize_1 and number of channels and make
sure this does not exceed AVCODEC_MAX_AUDIO_FRAME_SIZE
Patch by Uoti Urpala >>> uoti |.| urpala |@| pp1 |.| inet |.| fi <<<
| author | rtognimp |
|---|---|
| date | Sun, 23 Apr 2006 21:11:31 +0000 |
| parents | 00b0af60fe53 |
| children |
| rev | line source |
|---|---|
| 127 | 1 |
| 1069 | 2 include ../../config.mak |
| 127 | 3 |
|
3115
76d320e10dca
libpostproc installs into a different directory that needs to be created.
diego
parents:
3114
diff
changeset
|
4 # Overload incdir, postproc include files go in a different directory. |
|
76d320e10dca
libpostproc installs into a different directory that needs to be created.
diego
parents:
3114
diff
changeset
|
5 incdir=$(prefix)/include/postproc |
|
76d320e10dca
libpostproc installs into a different directory that needs to be created.
diego
parents:
3114
diff
changeset
|
6 |
|
3044
ed98beb48872
Move library name generation to configure, simplifies build system a bit more.
diego
parents:
3040
diff
changeset
|
7 NAME=postproc |
| 3124 | 8 SUBDIR=libavcodec/libpostproc |
|
3046
1127b4455bec
Remove redundant --enable-shared-pp configure option and make the PP code
diego
parents:
3044
diff
changeset
|
9 ifeq ($(BUILD_SHARED),yes) |
|
3040
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3038
diff
changeset
|
10 LIBVERSION=$(SPPVERSION) |
|
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3038
diff
changeset
|
11 LIBMAJOR=$(SPPMAJOR) |
|
812
607e867a8be4
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
michael
parents:
790
diff
changeset
|
12 endif |
| 127 | 13 |
| 3124 | 14 STATIC_OBJS=postprocess.o |
| 15 SHARED_OBJS=postprocess_pic.o | |
| 127 | 16 |
| 3124 | 17 HEADERS = postprocess.h |
| 18 | |
| 19 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -I$(SRC_PATH)/libavcodec -I../.. $(EXTRA_INC) | |
| 127 | 20 # -I/usr/X11R6/include/ |
| 21 | |
| 3124 | 22 include $(SRC_PATH)/common.mak |
|
508
8f9fa4ec9cbb
colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents:
170
diff
changeset
|
23 |
|
3046
1127b4455bec
Remove redundant --enable-shared-pp configure option and make the PP code
diego
parents:
3044
diff
changeset
|
24 ifeq ($(BUILD_SHARED),yes) |
| 787 | 25 postprocess_pic.o: postprocess.c |
| 1069 | 26 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $< |
|
812
607e867a8be4
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
michael
parents:
790
diff
changeset
|
27 endif |
| 834 | 28 |
