summaryrefslogtreecommitdiffstats
path: root/src/core/bpf/restrict_ifaces/meson.build
blob: 5f36178228644d22a9ea4da96a06af150ad28f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-License-Identifier: LGPL-2.1-or-later

if conf.get('BPF_FRAMEWORK') != 1
        subdir_done()
endif

restrict_ifaces_bpf_o_unstripped = custom_target(
        'restrict-ifaces.bpf.unstripped.o',
        input : 'restrict-ifaces.bpf.c',
        output : 'restrict-ifaces.bpf.unstripped.o',
        command : bpf_o_unstripped_cmd)

restrict_ifaces_bpf_o = custom_target(
        'restrict-ifaces.bpf.o',
        input : restrict_ifaces_bpf_o_unstripped,
        output : 'restrict-ifaces.bpf.o',
        command : bpf_o_cmd)

restrict_ifaces_skel_h = custom_target(
        'restrict-ifaces.skel.h',
        input : restrict_ifaces_bpf_o,
        output : 'restrict-ifaces.skel.h',
        command : skel_h_cmd,
        capture : true)