blob: a34b19166c1c227010c4f2499d4df5649ddeafd3 (
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
|
$(eval $(call import.MODULE.rules,MACOSX))
macosx.build: $(MACOSX.m4.out)
macosx.build: $(MACOSX.osl.filelist)
macosx.clean:
$(RM.exe) -f $(MACOSX.m4.out)
$(RM.exe) -f $(MACOSX.osl.filelist)
$(MACOSX.m4.out): $(BUILD/)project/handbrake.m4
$(MACOSX.m4.out): | $(dir $(MACOSX.m4.out))
$(MACOSX.m4.out): $(MACOSX.build/)%: $(MACOSX.src/)%.m4
$(M4.exe) -Iproject $< > $@
$(MACOSX.osl.filelist): | $(dir $(MACOSX.osl.filelist))
$(MACOSX.osl.filelist): $(BUILD/)GNUmakefile
@echo "creating $@"
@> $@
$(foreach i,$(foreach m,$(MODULES.NAMES),$($m.OSL.files)),$(call fn.PRINTLN,@echo $i >> $@))
###############################################################################
clean: macosx.clean
build: macosx.build
|