summaryrefslogtreecommitdiffstats
path: root/make/include/main.defs
blob: f07678b79cb5b02ee8e9d6441891d34e53837c0f (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
include $(SRC/)make/include/base.defs
include $(SRC/)make/include/contrib.defs
include $(SRC/)make/include/function.defs
include $(SRC/)make/include/gcc.defs
include $(SRC/)make/include/select.defs
include $(SRC/)make/include/target.defs
include $(SRC/)make/include/tool.defs

###############################################################################

MODULES += contrib/a52dec

ifneq (,$(filter $(BUILD.system),cygwin))
    MODULES += contrib/bzip2
endif

MODULES += contrib/faac
MODULES += contrib/faad2
MODULES += contrib/ffmpeg
MODULES += contrib/lame
MODULES += contrib/libdca
MODULES += contrib/libdvdread
MODULES += contrib/libmkv
MODULES += contrib/libmp4v2
MODULES += contrib/libogg
MODULES += contrib/libsamplerate
MODULES += contrib/libtheora
MODULES += contrib/libvorbis
MODULES += contrib/mpeg2dec
MODULES += contrib/x264
MODULES += contrib/xvidcore

ifneq (,$(filter $(BUILD.system),cygwin))
    MODULES += contrib/zlib
endif

## these must come after contrib since some contrib modules are optional
MODULES += libhb

###############################################################################

## test module is replaced with macosx when Darwin+Xcode
ifneq (,$(filter $(BUILD.system),darwin))
    ifeq (1,$(FEATURE.xcode))
        MODULES += macosx
    else
        MODULES += test
    endif
else
    MODULES += test
endif

ifneq (,$(filter $(BUILD.system),linux))
    ifeq (1,$(FEATURE.gtk))
        MODULES += gtk
    endif
endif

###############################################################################

MODULES += doc

###############################################################################

include $(MODULES:%=$(SRC/)%/module.defs)
include $(SRC/)make/variant/$(HOST.system).defs
-include $(SRC/)make/variant/$(HOST.system).$(BUILD.machine).defs