Fixed DevStudio 2003 build with memory check code.
[pwlib.git] / plugins / Makefile.in
blobc4618fec001ec59b20d81e3806ab0fce0bb78c31
1 all ::
3 TARGETDIR=@TARGETDIR@
5 include ../make/ptlib.mak
7 HAS_ALSA = @HAS_ALSA@
9 ifeq (1,$(HAS_ALSA))
10 SUBDIRS += sound_alsa
11 ifeq (,$(DEFAULT_SOUND))
12 DEFAULT_SOUND = sound_alsa
13 endif
14 endif
16 HAS_OSS = @HAS_OSS@
18 ifeq (1,$(HAS_OSS))
19 SUBDIRS += sound_oss
20 ifeq (,$(DEFAULT_SOUND))
21 DEFAULT_SOUND = sound_oss
22 endif
23 endif
25 HAS_ESD = @HAS_ESD@
27 ifeq (1,$(HAS_ESD))
28 SUBDIRS += sound_esd
29 ifeq (,$(DEFAULT_SOUND))
30 DEFAULT_SOUND = sound_esd
31 endif
32 endif
34 HAS_SUNAUDIO = @HAS_SUNAUDIO@
36 ifeq (1,$(HAS_SUNAUDIO))
37 SUBDIRS += sound_sunaudio
38 ifeq (,$(DEFAULT_SOUND))
39 DEFAULT_SOUND = sound_sunaudio
40 endif
41 endif
43 HAS_V4L = @HAS_V4L@
45 ifeq (1,$(HAS_V4L))
46 SUBDIRS += vidinput_v4l
47 ifeq (,$(DEFAULT_VIDINPUT))
48 DEFAULT_VIDINPUT = vidinput_v4l
49 endif
50 endif
52 HAS_V4L2 = @HAS_V4L2@
54 ifeq (1,$(HAS_V4L2))
55 SUBDIRS += vidinput_v4l2
56 ifeq (,$(DEFAULT_VIDINPUT))
57 DEFAULT_VIDINPUT = vidinput_v4l2
58 endif
59 endif
61 HAS_BSDVIDEOCAP = @HAS_BSDVIDEOCAP@
63 ifeq (1,$(HAS_BSDVIDEOCAP))
64 SUBDIRS += vidinput_bsd
65 ifeq (,$(DEFAULT_VIDINPUT))
66 DEFAULT_VIDINPUT = vidinput_bsd
67 endif
68 endif
70 HAS_AVC1394 = @HAS_AVC1394@
72 ifeq (1,$(HAS_AVC1394))
73 SUBDIRS += vidinput_avc
74 ifeq (,$(DEFAULT_VIDINPUT))
75 DEFAULT_VIDINPUT = vidinput_avc1394
76 endif
77 endif
79 HAS_DC1394 = @HAS_DC1394@
81 ifeq (1,$(HAS_DC1394))
82 SUBDIRS += vidinput_dc
83 ifeq (,$(DEFAULT_VIDINPUT))
84 DEFAULT_VIDINPUT = vidinput_dc1394
85 endif
86 endif
89 ifdef DEBUG
90 TARGET := debug
91 else
92 TARGET := opt
93 endif
96 $(subst tagbuild,,$(STANDARD_TARGETS)) ::
97 set -e; $(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@ ;)
99 default_sound:
100 @echo $(DEFAULT_SOUND)