diff options
author | osdl.net!shemminger <osdl.net!shemminger> | 2005-02-09 22:05:41 +0000 |
---|---|---|
committer | osdl.net!shemminger <osdl.net!shemminger> | 2005-02-09 22:05:41 +0000 |
commit | eb1d6822e09a27ea2fed335d640599cf66167f79 (patch) | |
tree | e3d823e208a7cdc6dddab7315a405737504d28a4 /netem/Makefile | |
parent | f84f9d04368f8d9fce81c9cc8dd383bdc5e44187 (diff) |
(Logical change 1.141)
Diffstat (limited to 'netem/Makefile')
-rw-r--r-- | netem/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/netem/Makefile b/netem/Makefile index e69de29b..881ed9f5 100644 --- a/netem/Makefile +++ b/netem/Makefile @@ -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 + + |