File: Makefile.am

package info (click to toggle)
theme-d 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 12,784 kB
  • sloc: lisp: 47,684; sh: 4,200; makefile: 455; ansic: 319
file content (95 lines) | stat: -rw-r--r-- 2,594 bytes parent folder | download
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95

TRANSLATOR_MODULES0 = \
  theme-d-address-environment \
  theme-d-binder \
  theme-d-builtins \
  theme-d-builtin-type-finalization \
  theme-d-common-procedure-utilities \
  theme-d-common \
  theme-d-compilation-errors \
  theme-d-compilation-utilities \
  theme-d-compilation1 \
  theme-d-compilation2 \
  theme-d-compiler-core-def \
  theme-d-compile-unit \
  theme-d-constructors \
  theme-d-cycles \
  theme-d-debug \
  theme-d-entities \
  theme-d-errors-common \
  theme-d-expression-cloning \
  theme-d-expression-rebinding \
  theme-d-expression-translation \
  theme-d-expressions \
  theme-d-fields \
  theme-d-file-handling \
  theme-d-hash-tables \
  theme-d-implementation-pcode-reading \
  theme-d-interface-pcode-reading \
  theme-d-keywords \
  theme-d-letrec-compilation \
  theme-d-linker-core-def \
  theme-d-linker-errors \
  theme-d-linker-instantiation \
  theme-d-link-program \
  theme-d-macro-config \
  theme-d-macros \
  theme-d-param-cache \
  theme-d-parametrized-definitions \
  theme-d-parametrized-instances \
  theme-d-pcode-common \
  theme-d-phase2-compilation \
  theme-d-print-target-object \
  theme-d-procedure-utilities \
  theme-d-representation \
  theme-d-scheme0-target-compilation \
  theme-d-scheme-target-compilation \
  theme-d-special-procedures \
  theme-d-stripping \
  theme-d-symbol-table \
  theme-d-target-compilation-common \
  theme-d-translation-common \
  theme-d-tree-il-target-compilation \
  theme-d-type-system \
  theme-d-type-translation \
  theme-d-var-names

TRANSLATOR_COMP0 = $(TRANSLATOR_MODULES0:%=%.go)

TRANSLATOR_MODULES = $(TRANSLATOR_MODULES0) \
 theme-d-compiler theme-d-linker

translatordir = $(THEME_D_TRANSLATOR_DIR)

translator_DATA = $(TRANSLATOR_MODULES:%=%.go)

scriptdir = $(THEME_D_SCRIPT_DIR)
script_DATA = theme-d-compile.scm theme-d-link.scm

%.go : %.scm
	GUILE_LOAD_PATH=../.. guild compile -o $@ $<

# Not sure if the following is necessary.
install-data-hook ::
	chmod 755 $(DESTDIR)/$(THEME_D_SCRIPT_DIR)/theme-d-compile.scm
	chmod 755 $(DESTDIR)/$(THEME_D_SCRIPT_DIR)/theme-d-link.scm

.PHONY:  mostlyclean-local-check

mostlyclean-local : mostlyclean-local-check

mostlyclean-local-check:
	-rm -f *.go
	-rm -f theme-d-compile.scm theme-d-link.scm

theme-d-compile.scm : theme-d-compile.scm.in
	sed -e 's|@guile_version@|$(MY_GUILE_VERSION)|g' $< > $@
	chmod 755 theme-d-compile.scm

theme-d-link.scm : theme-d-link.scm.in
	sed -e 's|@guile_version@|$(MY_GUILE_VERSION)|g' $< > $@
	chmod 755 theme-d-link.scm

theme-d-compiler.go :: $(TRANSLATOR_COMP0)

theme-d-linker.go :: $(TRANSLATOR_COMP0)