OSDN Git Service

MacGui: Remove Target Size as a rate control option as it doesn't really work correct...
[handbrake-jp/handbrake-jp-git.git] / make / include / main.rules
1 .DELETE_ON_ERROR:
2 .SUFFIXES:
3
4 ###############################################################################
5
6 ## file-wide conditional to use xcode rules if xcode=1 method=terminal
7 ## xcodemake will set BUILD.method != terminal to prevent infinite recursion
8 ifeq (1:terminal,$(FEATURE.xcode):$(BUILD.method))
9     include $(SRC/)macosx/module.xcode
10 else
11
12 ## only included using special report targets
13 ifneq (,$(REPORT))
14     include $(SRC/)make/include/report.defs
15 endif
16
17 ###############################################################################
18
19 .PHONY: build clean install uninstall xclean doc report
20
21 build:
22 clean:
23 install:
24 install-strip:
25 uninstall:
26 xclean: contrib.xclean clean
27 doc:
28 report:: report.main report.modules
29
30 ## legacy
31 mrproper: xclean
32
33 ###############################################################################
34
35 include $(SRC/)make/include/base.rules
36
37 include $(MODULES:%=$(SRC/)%/module.rules)
38 -include $(SRC/)make/variant/$(BUILD.system).rules
39 -include $(SRC/)make/variant/$(BUILD.system).$(BUILD.machine).rules
40
41 ###############################################################################
42
43 ## target which causes re-configure if project-root is svn update'd
44 $(BUILD/)GNUmakefile: $(wildcard $(SRC/).svn/entries)
45         $(SRC/)configure --force --conf-method=$(CONF.method) $(CONF.args)
46
47 ## target useful to force reconfigure; only helpful for build-system development
48 .PHONY: reconfigure
49 reconfigure:
50         $(SRC/)configure --force --conf-method=$(CONF.method) $(CONF.args)
51
52 ###############################################################################
53
54 ## target to build all dependency dirs
55 $(sort $(dir $(BUILD.out))):
56         $(MKDIR.exe) -p $@
57
58 endif ## xcode=1 method=terminal