]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/Makefile
Cleaner way to configure
[mirror_iproute2.git] / tc / Makefile
index 8454843ca1b522a0c169e897c8de01f20652e215..a73fb3020961ff31479d63f81d95ace8cb128a92 100644 (file)
@@ -1,5 +1,7 @@
 TCOBJ=tc.o tc_qdisc.o tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o
 
+include ../Config
+
 TCMODULES :=
 TCMODULES += q_fifo.o
 TCMODULES += q_sfq.o
@@ -15,11 +17,13 @@ TCMODULES += q_dsmark.o
 TCMODULES += q_gred.o
 TCMODULES += f_tcindex.o
 TCMODULES += q_ingress.o
-TCMODULES += q_atm.o
-LDLIBS += -latm
 
-TCMODULES += q_delay.o
+ifeq ($(TC_CONFIG_ATM),y)
+  TCMODULES += q_atm.o
+  LDLIBS += -latm
+endif
 
+TCMODULES += q_netsim.o
 TCMODULES += q_csz.o
 TCMODULES += q_htb.o
 TCMODULES += q_hpfq.o