]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
(Logical change 1.141)
authorosdl.net!shemminger <osdl.net!shemminger>
Wed, 9 Feb 2005 22:05:41 +0000 (22:05 +0000)
committerosdl.net!shemminger <osdl.net!shemminger>
Wed, 9 Feb 2005 22:05:41 +0000 (22:05 +0000)
netem/Makefile

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..881ed9f5d6e51379dadd4ff2ff02a8a18fc24553 100644 (file)
@@ -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
+
+