aboutsummaryrefslogtreecommitdiffstats
path: root/utils/keytable/bpf_protocols/Makefile.am
blob: aa7489006245ac74ae904f22d1a77a144a66316e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
NOSTDINC=-nostdinc -isystem $(shell $(CLANG) -print-file-name=include)

%.o: %.c
	$(CLANG) -I../../../include $(NOSTDINC) -I/usr/include -target bpf -O2 -emit-llvm -c $< -o - | $(LLC) -march=bpf -filetype=obj -o $@

PROTOCOLS = grundig.o

all: $(PROTOCOLS)

# custom target
install-data-local:
	$(install_sh) -d "$(DESTDIR)$(keytableuserdir)/protocols"
	$(install_sh) $(PROTOCOLS) "$(DESTDIR)$(keytableuserdir)/protocols"

Privacy Policy