Added additional checking for recvmsg function
[pwlib.git] / plugins / Makefile.in
blobd3bdd6fb8e56312c664834f5bc083ff5efc851c6
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_V4L2 = @HAS_V4L2@
36 ifeq (1,$(HAS_V4L2))
37 SUBDIRS += vidinput_v4l2
38 ifeq (,$(DEFAULT_VIDINPUT))
39 DEFAULT_VIDINPUT = vidinput_v4l2
40 endif
41 endif
43 HAS_BSDVIDEOCAP = @HAS_BSDVIDEOCAP@
45 ifeq (1,$(HAS_BSDVIDEOCAP))
46 SUBDIRS += vidinput_bsd
47 ifeq (,$(DEFAULT_VIDINPUT))
48 DEFAULT_VIDINPUT = vidinput_bsd
49 endif
50 endif
52 HAS_AVC1394 = @HAS_AVC1394@
54 ifeq (1,$(HAS_AVC1394))
55 SUBDIRS += vidinput_avc
56 ifeq (,$(DEFAULT_VIDINPUT))
57 DEFAULT_VIDINPUT = vidinput_avc1394
58 endif
59 endif
61 HAS_DC1394 = @HAS_DC1394@
63 ifeq (1,$(HAS_DC1394))
64 SUBDIRS += vidinput_dc
65 ifeq (,$(DEFAULT_VIDINPUT))
66 DEFAULT_VIDINPUT = vidinput_dc1394
67 endif
68 endif
72 $(subst tagbuild,,$(STANDARD_TARGETS)) ::
73 set -e; $(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) opt;)
75 default_sound:
76 @echo $(DEFAULT_SOUND)