Fixed GCC 3.4 warnings and improved crash avoidance with NULL pointers.
[pwlib.git] / plugins / Makefile.in
blobdf5dccd3d4ffb1efdd85b7ef372685d695f45d65
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_V4L = @HAS_V4L@
27 ifeq (1,$(HAS_V4L))
28 SUBDIRS += vidinput_v4l
29 ifeq (,$(DEFAULT_VIDINPUT))
30 DEFAULT_VIDINPUT = vidinput_v4l
31 endif
32 endif
34 HAS_BSDVIDEOCAP = @HAS_BSDVIDEOCAP@
36 ifeq (1,$(HAS_BSDVIDEOCAP))
37 SUBDIRS += vidinput_bsd
38 ifeq (,$(DEFAULT_VIDINPUT))
39 DEFAULT_VIDINPUT = vidinput_bsd
40 endif
41 endif
43 HAS_AVC1394 = @HAS_AVC1394@
45 ifeq (1,$(HAS_AVC1394))
46 SUBDIRS += vidinput_avc
47 ifeq (,$(DEFAULT_VIDINPUT))
48 DEFAULT_VIDINPUT = vidinput_avc1394
49 endif
50 endif
52 HAS_DC1394 = @HAS_DC1394@
54 ifeq (1,$(HAS_DC1394))
55 SUBDIRS += vidinput_dc
56 ifeq (,$(DEFAULT_VIDINPUT))
57 DEFAULT_VIDINPUT = vidinput_dc1394
58 endif
59 endif
63 $(subst tagbuild,,$(STANDARD_TARGETS)) ::
64 set -e; $(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) opt;)
66 default_sound:
67 @echo $(DEFAULT_SOUND)