[SCM] libav/experimental: non-recursive makefiles
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:18:33 UTC 2013
The following commit has been merged in the experimental branch:
commit 7669899bdf2d1b416a13fa2ba763e28c1fbedafb
Author: Måns Rullgård <mans at mansr.com>
Date: Mon Apr 7 21:16:50 2008 +0000
non-recursive makefiles
Originally committed as revision 26346 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
diff --git a/libswscale/Makefile b/libswscale/Makefile
index d99cb56..20ace9e 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -1,4 +1,4 @@
-include ../config.mak
+include $(SUBDIR)../config.mak
NAME = swscale
FFLIBS = avutil
@@ -15,12 +15,11 @@ ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o
HEADERS = swscale.h rgb2rgb.h
-include ../common.mak
+CLEANFILES = cs_test swscale-example
-cs_test: cs_test.o $(LIBNAME)
+include $(SUBDIR)../subdir.mak
-swscale-example: swscale-example.o $(LIBNAME)
-swscale-example: EXTRALIBS += -lm
+$(SUBDIR)cs_test: $(SUBDIR)cs_test.o $(SUBDIR)$(LIBNAME)
-clean::
- rm -f cs_test swscale-example
+$(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
+$(SUBDIR)swscale-example: EXTRALIBS += -lm
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list