~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-updates

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-01-20 17:51:19 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090120175119-gu6kw1arv5tmf1vr
Tags: 3:0.svn20090119-1ubuntu1+unstripped1
* merge with the ubuntu.jaunty branch
* reenable x264 LP: #303537
* build against vdpau
* enable xvmc support

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
        rm -f $(addprefix "$(SHLIBDIR)/",$(ALLHOOKS_SRCS:.c=$(SLIBSUF)))
150
150
        -rmdir "$(SHLIBDIR)/vhook/"
151
151
 
152
 
clean::
 
152
testclean:
 
153
        rm -rf tests/vsynth1 tests/vsynth2 tests/data tests/asynth1.sw tests/*~
 
154
 
 
155
clean:: testclean
153
156
        rm -f $(ALLPROGS) $(ALLPROGS_G) output_example$(EXESUF)
154
157
        rm -f doc/*.html doc/*.pod doc/*.1
155
 
        rm -rf tests/vsynth1 tests/vsynth2 tests/data tests/asynth1.sw tests/*~
156
158
        rm -f $(addprefix tests/,$(addsuffix $(EXESUF),audiogen videogen rotozoom seek_test tiny_psnr))
157
159
        rm -f $(addprefix tools/,$(addsuffix $(EXESUF),cws2fws pktdumper qt-faststart trasher))
158
160
        rm -f vhook/*.o vhook/*~ vhook/*.so vhook/*.dylib vhook/*.dll
299
301
regtest-ref: ffmpeg$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm tests/asynth1.sw
300
302
 
301
303
$(CODEC_TESTS) regtest-ref: tests/tiny_psnr$(EXESUF)
302
 
        $(SRC_PATH)/tests/regression.sh $@ vsynth   tests/vsynth1 a
303
 
        $(SRC_PATH)/tests/regression.sh $@ rotozoom tests/vsynth2 a
 
304
        $(SRC_PATH)/tests/regression.sh $@ vsynth   tests/vsynth1 a "$(TARGET_EXEC)" "$(TARGET_PATH)"
 
305
        $(SRC_PATH)/tests/regression.sh $@ rotozoom tests/vsynth2 a "$(TARGET_EXEC)" "$(TARGET_PATH)"
304
306
 
305
307
$(LAVF_TESTS):
306
 
        $(SRC_PATH)/tests/regression.sh $@ lavf tests/vsynth1 b
 
308
        $(SRC_PATH)/tests/regression.sh $@ lavf tests/vsynth1 b "$(TARGET_EXEC)" "$(TARGET_PATH)"
307
309
 
308
310
seektest: codectest libavtest tests/seek_test$(EXESUF)
309
 
        $(SRC_PATH)/tests/seek_test.sh $(SEEK_REFFILE)
 
311
        $(SRC_PATH)/tests/seek_test.sh $(SEEK_REFFILE) "$(TARGET_EXEC)" "$(TARGET_PATH)"
310
312
 
311
313
servertest: ffserver$(EXESUF) tests/vsynth1/00.pgm tests/asynth1.sw
312
314
        @echo
326
328
tests/asynth1.sw: tests/audiogen$(EXESUF)
327
329
        $(BUILD_ROOT)/$< $@
328
330
 
329
 
%$(EXESUF): %.c
330
 
        $(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $<
 
331
tests/%$(EXESUF): tests/%.c
 
332
        $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
331
333
 
332
334
tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
333
335
        $(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)