summaryrefslogtreecommitdiff
path: root/packages/m/Makefile
blob: 100098ed5eb1d7f404220931ce3aaf58a5161555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#
# Following command helps to cheate SUBDIRS list:
# $ tree -fid .
#

SUBDIRS := OpenMAX      \
           VideoLAN     \
           a52dec       \
           alsa         \
           amp          \
           amr          \
           audacious    \
           audiocoding  \
           audiofile    \
           dcadec       \
           fb           \
           ffmpeg       \
           gphoto2      \
           gsm          \
           jackaudio    \
           ladspa       \
           lame         \
           libass       \
           libav        \
           libavtp      \
           libcddb      \
           libdc1394    \
           libdv        \
           libexif      \
           libgd        \
           libgphoto2   \
           libmodplug   \
           libsoxr      \
           libvdpau     \
           libvpx       \
           libwebp      \
           linuxaudio   \
           linuxtv      \
           mad          \
           mega-nerd    \
           mikmod       \
           moc          \
           mp4v2        \
           mpg123       \
           normalize    \
           openal-soft  \
           opencv       \
           openh264     \
           openjpeg     \
           openjpeg2    \
           pipewire     \
           portaudio    \
           pulseaudio   \
           record       \
           rtmpdump     \
           sane         \
           schroedinger \
           smpeg        \
           soma         \
           sox          \
           taglib       \
           twolame      \
           vaapi        \
           vid-stab     \
           wavpack      \
           workbone     \
           xiph         \
           xvidcore     \
           zvbi


all-recursive downloads_clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  local_target="$$target"; \
	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; test -z "$$fail"

all: all-recursive

downloads_clean: downloads_clean-recursive

.PHONY: all-recursive downloads_clean-recursive all downloads_clean