Commit ce715cd9 authored by shemminger's avatar shemminger

Allow parallel make of netem directory.

Use HOSTCC when building local tools
parent 3d418dc3
2005-09-01 Stephen Hemminger <shemminger@dxpl.pdx.osdl.net>
2005-09-01 Mike Frysinger <vapier@gentoo.org>
* Fix build issues with netem tables (parallel make and HOSTCC)
2005-09-01 Stephen Hemminger <shemminger@osdl.org>
* Integrate support for DCCP into 'ss' (from acme)
* Add -batch option to ip.
* Update to 2.6.14 headers
2005-09-01 Eric Dumazet <dada1@cosmosbay.com>
* Fix lnstat : First column should not be summed
2005-08-16 Stephen Hemminger <shemminger@osdl.org>
......
DISTGEN = maketable normal pareto paretonormal
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
HOSTCC ?= $(CC)
LDLIBS += -lm
%.dist: %.c
$(HOSTCC) $(CFLAGS) -o $* $< -lm
./$* >$@
all: $(DISTGEN) $(DISTDATA)
%.dist: %.dat
./maketable $< >$@
$(DISTGEN):
$(HOSTCC) -Wall -O1 -I../include -o $@ $@.c -lm
all: $(DISTGEN) $(DISTDATA)
%.dist: %
./$* > $@
experimental.dist: maketable experimental.dat
./maketable experimental.dat > experimental.dist
install: all
mkdir -p $(DESTDIR)/usr/lib/tc
......@@ -20,8 +23,3 @@ install: all
clean:
rm -f $(DISTDATA) $(DISTGEN)
maketable: maketable.c
$(HOSTCC) $(CFLAGS) -o $@ $< -lm
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment