comparison Makefile @ 1069:8528d0b9e508 libavcodec

moving postprocess to ffmpeg/libavcodec
author michaelni
date Fri, 14 Feb 2003 21:27:25 +0000
parents e67433f96ae3
children 0a48dd404167
comparison
equal deleted inserted replaced
1068:a5be963709d1 1069:8528d0b9e508
33 OBJS+= liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o \ 33 OBJS+= liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o \
34 liba52/imdct.o liba52/parse.o 34 liba52/imdct.o liba52/parse.o
35 endif 35 endif
36 endif 36 endif
37 37
38 ifeq ($(CONFIG_PP),yes)
39 ifeq ($(SHARED_PP),yes)
40 EXTRALIBS += -lpostproc
41 else
42 # LIBS += libpostproc/libpostproc.a ... should be fixed
43 OBJS += libpostproc/postprocess.o
44 endif
45 endif
46
38 ifeq ($(CONFIG_MP3LAME),yes) 47 ifeq ($(CONFIG_MP3LAME),yes)
39 OBJS += mp3lameaudio.o 48 OBJS += mp3lameaudio.o
40 EXTRALIBS += -lmp3lame 49 EXTRALIBS += -lmp3lame
41 endif 50 endif
42 51
122 131
123 $(SLIB): $(OBJS) 132 $(SLIB): $(OBJS)
124 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) 133 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
125 134
126 dsputil.o: dsputil.c dsputil.h 135 dsputil.o: dsputil.c dsputil.h
136
137 libpostproc/libpostproc.a:
138 $(MAKE) -C libpostproc
127 139
128 %.o: %.c 140 %.o: %.c
129 $(CC) $(CFLAGS) -c -o $@ $< 141 $(CC) $(CFLAGS) -c -o $@ $<
130 142
131 %.o: %.S 143 %.o: %.S