forked from concurrency/kroc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
62 lines (55 loc) · 1.59 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
# Top-level Makefile.am for the KRoC tree.
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = @occam_subdirs@
EXTRA_DIST = \
.gitignore \
BUGS \
CHANGELOG \
README \
demos/README \
modules/button/README \
modules/cif/README \
modules/course/README \
modules/course/etc/README \
modules/course/etc/reading.list \
modules/dynproc/README \
modules/fmtoutlib/README \
modules/moa/README \
modules/nocclibs/README \
modules/occGL/README \
modules/occSDL/README \
modules/pony/README \
modules/sdlraster/README \
modules/udc/README
aclocaldir = $(prefix)/share/aclocal
dist_aclocal_DATA = \
m4/kroc.m4 \
m4/occam-mysql.m4 \
m4/occam-opengl.m4 \
m4/occam-pkg.m4 \
m4/occam-sdl.m4 \
m4/occam-cuda.m4 \
m4/occbuild.m4 \
m4/tvm.m4
all-local: display-message
.PHONY: display-message
display-message:
@modules_enabled=; \
modules_disabled=; \
touch in-tree-modules; \
while read file path deps; do \
name="`echo $$file | sed 's,.module,,'`"; \
if test "$$path" = "-"; then \
modules_disabled="$$modules_disabled $$name"; \
else \
modules_enabled="$$modules_enabled $$name"; \
fi; \
done <in-tree-modules; \
num_enabled="`echo $$modules_enabled | wc -w`"; \
num_disabled="`echo $$modules_disabled | wc -w`"; \
num_total="`echo $$modules_enabled $$modules_disabled | wc -w`"; \
printf "\nKRoC has now been built.\n\n"; \
printf "Modules enabled ($$num_enabled/$$num_total):\n $$modules_enabled\n\n"; \
printf "Modules disabled ($$num_disabled/$$num_total):\n $$modules_disabled\n\n"; \
printf "Please report problems with KRoC to <$(PACKAGE_BUGREPORT)>.\n\n"
DISTCLEANFILES = in-tree-modules