forked from SESA/EbbRT
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.am
More file actions
76 lines (61 loc) · 1.9 KB
/
Makefile.am
File metadata and controls
76 lines (61 loc) · 1.9 KB
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
# EbbRT: Distributed, Elastic, Runtime
# Copyright (C) 2013 SESA Group, Boston University
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4
if HAVE_PYTHON
TESTS_ENVIRONMENT = python
if LRT_ULNX
check_SCRIPTS = test/helloworld.py
TESTS = test/helloworld.py
endif
if LRT_BARE
check_SCRIPTS = test/hello-bare.py
TESTS = test/hello-bare.py
endif
endif
AM_CXXFLAGS = -std=c++11 -Wall -Werror -Wno-unused-private-field
AM_CPPFLAGS = -iquote $(top_srcdir)/src \
--include $(top_builddir)/config.h
lib_LIBRARIES = libebbrt.a
libebbrt_a_SOURCES = \
$(arch_sources) \
$(app_sources) \
$(device_sources) \
$(ebb_sources) \
$(lrt_sources) \
$(misc_sources)
libebbrt_a_LIBADD =
libebbrt_a_DEPENDENCIES =
EXTRA_DIST =
EXTRA_LIBRARIES =
ebbrt_libs =
app_linkflags =
app_deps =
if LRT_BARE
if ARCH_X86_64
app_linkflags += -Wl,-n,-z,max-page-size=0x1000 \
-Wl,-T,$(top_srcdir)/src/lrt/bare/arch/x86_64/link.ld
%.iso: % util/grub.cfg
strip -s $< -o $<.stripped
grub-mkrescue -o $@ -graft-points boot/ebbrt=$<.stripped \
boot/grub/grub.cfg=$(top_srcdir)/util/grub.cfg
endif
#end of LRT_BARE
endif
all_apps: $(EXTRA_PROGRAMS)
include docs/Makefile.am
include src/arch/Makefile.am
include src/app/Makefile.am
include src/ebb/Makefile.am
include src/lib/Makefile.am
include src/lrt/Makefile.am
include test/Makefile.am