-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile.am
70 lines (56 loc) · 2.19 KB
/
Makefile.am
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
bin_PROGRAMS = cm cm-c cm-cxx cm-glsl cm-cuda cm-opencl
AUTOMAKE_OPTIONS = subdir-objects
cm_c_SOURCES = c-mera.asd \
src/c-mera/version.lisp \
src/c-mera/cmd.lisp \
src/c-mera/utils.lisp \
src/c-mera/nodes.lisp \
src/c-mera/traverser.lisp \
src/c-mera/pretty.lisp \
src/c-mera/c-mera.lisp \
src/c/utils.lisp \
src/c/nodes.lisp \
src/c/traverser.lisp \
src/c/pretty.lisp \
src/c/syntax.lisp \
src/c/reader.lisp \
src/c/cm-c.lisp \
src/c/cmu-c.lisp
cm_cxx_SOURCES = src/cxx/nodes.lisp \
src/cxx/traverser.lisp \
src/cxx/syntax.lisp \
src/cxx/pretty.lisp \
src/cxx/reader.lisp \
src/cxx/cm-cxx.lisp \
src/cxx/cmu-cxx.lisp
cm_glsl_SOURCES = src/glsl/nodes.lisp \
src/glsl/syntax.lisp \
src/glsl/pretty.lisp \
src/glsl/cm-glsl.lisp
cm_cuda_SOURCES = src/cuda/nodes.lisp \
src/cuda/syntax.lisp \
src/cuda/pretty.lisp \
src/cuda/cm-cuda.lisp
cm_opencl_SOURCES = src/opencl/nodes.lisp \
src/opencl/syntax.lisp \
src/opencl/pretty.lisp \
src/opencl/cm-opencl.lisp
# since we store $(bindir) in the front-end program we have to make sure to recompile
# when the Makefile changes (potential change of prefix.
cm_SOURCES = src/front/cm.c
cm_CFLAGS = -DBINDIR=\"$(bindir)\"
cm$(EXEEXT): $(cm_SOURCES) Makefile
$(CC) $(CPPFLAGS) $(cm_CFLAGS) $< -o $@
cm-c$(EXEEXT): $(cm_c_SOURCES)
@LISP_PROG@ @DYNAMIC_SPACE_SPEC@ @LISP_LOAD_ARG@ util/build/dump-c.lisp
cm-glsl$(EXEEXT) : $(cm_c_SOURCES) $(cm_glsl_SOURCES)
@LISP_PROG@ @DYNAMIC_SPACE_SPEC@ @LISP_LOAD_ARG@ util/build/dump-glsl.lisp
cm-cxx$(EXEEXT): $(cm_c_SOURCES) $(cm_cxx_SOURCES)
@LISP_PROG@ @DYNAMIC_SPACE_SPEC@ @LISP_LOAD_ARG@ util/build/dump-cxx.lisp
cm-cuda$(EXEEXT): $(cm_c_SOURCES) $(cm_cxx_SOURCES) $(cm_cuda_SOURCES)
@LISP_PROG@ @DYNAMIC_SPACE_SPEC@ @LISP_LOAD_ARG@ util/build/dump-cuda.lisp
cm-opencl$(EXEEXT): $(cm_c_SOURCES) $(cm_cxx_SOURCES) $(cm_opencl_SOURCES)
@LISP_PROG@ @DYNAMIC_SPACE_SPEC@ @LISP_LOAD_ARG@ util/build/dump-opencl.lisp
EXTRA_DIST = util/build/dump-c.lisp util/build/dump-glsl.lisp \
util/build/dump-cxx.lisp util/build/dump-cuda.lisp \
util/build/dump-opencl.lisp