File: header.mk

package info (click to toggle)
aegisub 3.2.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 21,852 kB
  • sloc: cpp: 56,932; ansic: 16,422; asm: 3,618; sh: 3,582; makefile: 407; python: 350; perl: 274; cs: 205; xml: 196; objc: 47
file content (43 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (5)
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
d := $(abspath $(dir $(lastword $(filter-out $(lastword $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))))/

ifndef TOP
TOP := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))/
include $(TOP)Makefile.inc

subdirs := \
	automation \
	libaegisub \
	packages/desktop \
	po \
	src \
	tests \
	tools \
	vendor/luabins \
	vendor/universalchardet

subdirs := $(addprefix $(TOP),$(addsuffix /Makefile,$(subdirs)))

INCLUDING_CHILD_MAKEFILES=yes
d_save := $d
$(foreach dir,$(filter-out $(abspath $(MAKEFILE_LIST)),$(subdirs)), $(eval include $(dir)))
d := $(d_save)
INCLUDING_CHILD_MAKEFILES=no

DISTCLEANFILES += \
	$(TOP)acconf.h \
	$(TOP)configure \
	$(TOP)acconf.h.in~ \
	$(TOP)build/git_version.h \
	$(TOP)Makefile.inc \
	$(TOP)config.log \
	$(TOP)acconf.h.in \
	$(TOP)config.status \
	$(TOP)autom4te.cache \
	$(TOP)aclocal.m4 \

define MKDIR_INSTALL
@$(BIN_MKDIR_P) $(dir $@)
$(BIN_INSTALL) -m644 $< $@
endef

endif