-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
89 lines (72 loc) · 1.89 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
CFLAGS = -Wall -ggdb -O2
include_HEADERS =
AM_YFLAGS = -d
bin_PROGRAMS = yamldt intexpr dts2yaml shatest
yamldt_CFLAGS = $(LIBYAML_CFLAGS) $(LIBELF_CFLAGS)
yamldt_SOURCES = yamldt.c \
dt.c dt.h \
list.h fdt.h libfdt_env.h \
tree.c tree.h \
dtbgen.c dtbgen.h \
yamlgen.c yamlgen.h \
nullgen.c nullgen.h \
nullcheck.c nullcheck.h \
dtbcheck.c dtbcheck.h \
utils.c utils.h \
syexpr.c syexpr.h \
base64.c base64.h \
hkdf.c hmac.c sha1.c sha224-256.c sha384-512.c usha.c \
sha.h sha-private.h \
dtsparser.c dtsparser.h
yamldt_LDADD = -lm $(LIBYAML_LIBS)
if EXEC_EBPF
yamldt_SOURCES += ebpf.c ebpf.h \
ebpf_dt.c ebpf_dt.h
endif
intexpr_SOURCES = intexpr.c \
syexpr.c syexpr.h \
utils.c utils.h
dts2yaml_SOURCES = dts2yaml.c \
dtsparser.c dtsparser.h \
syexpr.c syexpr.h \
utils.c utils.h
shatest_SOURCES = shatest.c \
hkdf.c hmac.c sha1.c sha224-256.c sha384-512.c usha.c \
sha.h sha-private.h
AM_MAKEFLAGS = DTC=@DTC@ \
YAMLDT=@abs_top_builddir@/yamldt \
EBPFRUN=@abs_top_builddir@/ebpfrun \
DTS2YAML=@abs_top_builddir@/dts2yaml \
EBPFCC=@EBPFCC@ \
TOPDIR=@abs_top_srcdir@
SUBDIRS = . port
if RUN_EBPFCC
SUBDIRS += ebpf
endif
if EXEC_EBPF
bin_PROGRAMS += ebpfrun ebpfcompile
ebpfrun_CFLAGS = $(LIBELF_CFLAGS) $(LIBYAML_CFLAGS)
ebpfrun_SOURCES = ebpfrun.c \
ebpf.c ebpf.h \
ebpf_dt.c ebpf_dt.h \
utils.c utils.h \
dt.c dt.h \
tree.c tree.h \
list.h fdt.h libfdt_env.h \
yamlgen.c yamlgen.h \
nullgen.c nullgen.h \
nullcheck.c nullcheck.h \
syexpr.c syexpr.h \
base64.c base64.h \
dtsparser.c dtsparser.h
ebpfrun_LDADD = -lm $(LIBYAML_LIBS)
ebpfcompile_CFLAGS = $(LIBELF_CFLAGS)
ebpfcompile_SOURCES = ebpfcompile.c \
ebpf.c ebpf.h \
utils.c utils.h
endif
if RUN_DTC
SUBDIRS += test-suite
endif