gl: hook up to build system
[platform/upstream/gstreamer.git] / ext / Makefile.am
1 if USE_ALSA
2 ALSA_DIR=alsa
3 else
4 ALSA_DIR=
5 endif
6
7 if USE_CDPARANOIA
8 CDPARANOIA_DIR=cdparanoia
9 else
10 CDPARANOIA_DIR=
11 endif
12
13 if USE_GL
14 GL_DIR=gl
15 else
16 GL_DIR=
17 endif
18
19 if USE_LIBVISUAL
20 LIBVISUAL_DIR=libvisual
21 else
22 LIBVISUAL_DIR=
23 endif
24
25 if USE_OGG
26 OGG_DIR=ogg
27 else
28 OGG_DIR=
29 endif
30
31 if USE_OPUS
32 OPUS_DIR=opus
33 else
34 OPUS_DIR=
35 endif
36
37 if USE_PANGO
38 PANGO_DIR = pango
39 else
40 PANGO_DIR =
41 endif
42
43 if USE_VORBIS
44 VORBIS_DIR=vorbis
45 endif
46
47 if USE_IVORBIS
48 VORBIS_DIR=vorbis
49 endif
50
51 if !USE_VORBIS
52 if !USE_IVORBIS
53 VORBIS_DIR=
54 endif
55 endif
56
57 if USE_THEORA
58 THEORA_DIR=theora
59 else
60 THEORA_DIR=
61 endif
62
63 SUBDIRS = \
64   $(ALSA_DIR) \
65   $(CDPARANOIA_DIR) \
66   $(GL_DIR) \
67   $(LIBVISUAL_DIR) \
68   $(OGG_DIR) \
69   $(OPUS_DIR) \
70   $(PANGO_DIR) \
71   $(THEORA_DIR) \
72   $(VORBIS_DIR)
73
74 DIST_SUBDIRS = \
75   alsa \
76   cdparanoia \
77   gl \
78   libvisual \
79   ogg \
80   opus \
81   pango \
82   theora \
83   vorbis
84
85 include $(top_srcdir)/common/parallel-subdirs.mak