mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-07 14:41:10 +00:00
(Logical change 1.141)
This commit is contained in:
parent
f84f9d0436
commit
eb1d6822e0
@ -0,0 +1,27 @@
|
|||||||
|
DISTGEN = maketable normal pareto paretonormal
|
||||||
|
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
|
||||||
|
|
||||||
|
LDLIBS += -lm
|
||||||
|
|
||||||
|
%.dist: %.c
|
||||||
|
$(HOSTCC) $(CFLAGS) -o $* $< -lm
|
||||||
|
./$* >$@
|
||||||
|
|
||||||
|
%.dist: %.dat
|
||||||
|
./maketable $< >$@
|
||||||
|
|
||||||
|
all: $(DISTGEN) $(DISTDATA)
|
||||||
|
|
||||||
|
install: all
|
||||||
|
mkdir -p $(DESTDIR)/usr/lib/tc
|
||||||
|
for i in $(DISTDATA); \
|
||||||
|
do install -m 755 $$i $(DESTDIR)/usr/lib/tc; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(DISTDATA) $(DISTGEN)
|
||||||
|
|
||||||
|
maketable: maketable.c
|
||||||
|
$(HOSTCC) $(CFLAGS) -o $@ $< -lm
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user