]> git.proxmox.com Git - mirror_iproute2.git/blame - tc/Makefile
(Logical change 1.33)
[mirror_iproute2.git] / tc / Makefile
CommitLineData
aba5acdf
SH
1TCOBJ=tc.o tc_qdisc.o tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o
2
aba5acdf
SH
3TCMODULES :=
4TCMODULES += q_fifo.o
5TCMODULES += q_sfq.o
6TCMODULES += q_red.o
7TCMODULES += q_prio.o
8TCMODULES += q_tbf.o
9TCMODULES += q_cbq.o
10TCMODULES += f_rsvp.o
11TCMODULES += f_u32.o
12TCMODULES += f_route.o
13TCMODULES += f_fw.o
cda17fcd
SH
14TCMODULES += q_dsmark.o
15TCMODULES += q_gred.o
16TCMODULES += f_tcindex.o
17TCMODULES += q_ingress.o
18TCMODULES += q_atm.o
19LDLIBS += -latm
20
3c535bff 21TCMODULES += q_delay.o
aba5acdf 22
cda17fcd 23TCMODULES += q_csz.o
9e9d615e 24TCMODULES += q_htb.o
cda17fcd
SH
25TCMODULES += q_hpfq.o
26TCMODULES += q_hfsc.o
aba5acdf
SH
27
28TCOBJ += $(TCMODULES)
29
30TCLIB := tc_core.o
31TCLIB += tc_red.o
32TCLIB += tc_cbq.o
33TCLIB += tc_estimator.o
34
35LDLIBS += -L. -ltc -lm -ldl
36LDFLAGS += -Wl,-export-dynamic
37
38all: libtc.a tc
39
40tc: $(TCOBJ) $(LIBNETLINK) $(LIBUTIL) $(TCLIB)
41
42libtc.a: $(TCLIB)
43 $(AR) rcs $@ $(TCLIB)
44
45install: all
46 install -m 0755 -s tc $(DESTDIR)$(SBINDIR)
47
48
49clean:
50 rm -f $(TCOBJ) $(TCLIB) libtc.a tc
51