forked from akezeke/spotyxbmc2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.mk
37 lines (29 loc) · 1.17 KB
/
bootstrap.mk
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
BOOTSTRAP_SUBDIRS += configure.in
BOOTSTRAP_SUBDIRS += xbmc/screensavers/rsxs-0.9/configure.ac
BOOTSTRAP_SUBDIRS += xbmc/visualizations/Goom/goom2k4-0/configure.in
BOOTSTRAP_SUBDIRS += lib/cpluff/configure.ac
BOOTSTRAP_SUBDIRS += lib/gtest/configure.ac
ifneq ($(wildcard lib/libdvd/libdvdcss/configure.ac),)
BOOTSTRAP_SUBDIRS += lib/libdvd/libdvdcss/configure.ac
DVD_CSS=lib/libdvd/libdvdcss/configure
endif
BOOTSTRAP_SUBDIRS += lib/libdvd/libdvdread/configure.ac
BOOTSTRAP_SUBDIRS += lib/libdvd/libdvdnav/configure.ac
ifneq ($(wildcard pvr-addons/Makefile.am),)
BOOTSTRAP_SUBDIRS += pvr-addons/configure.ac
endif
BOOTSTRAP_TARGETS=$(basename $(BOOTSTRAP_SUBDIRS))
all: $(BOOTSTRAP_TARGETS)
#preserve order for libdvd. dvdcss (if present) -> dvdread -> dvdnav.
lib/libdvd/libdvdread/configure: $(DVD_CSS)
lib/libdvd/libdvdnav/configure: lib/libdvd/libdvdread/configure
%: %.ac
autoreconf -vif $(@D)
-@rm -rf $(@D)/autom4te.cache
%: %.in
autoreconf -vif $(@D)
-@rm -rf $(@D)/autom4te.cache
configure: configure.in
autoreconf -vif $(@D)
-@rm -rf $(@D)/autom4te.cache
@test -n "$$BOOTSTRAP_STANDALONE" || ( echo "Configuration is stale. You should almost certainly reconfigure" && false )