patch-2.1.99 linux/net/sched/Makefile

Next file: linux/net/sched/cls_api.c
Previous file: linux/net/sched/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.98/linux/net/sched/Makefile linux/net/sched/Makefile
@@ -11,6 +11,23 @@
 
 O_OBJS	:= sch_generic.o
 
+ifeq ($(CONFIG_NET_SCHED), y)
+
+O_OBJS += sch_api.o sch_fifo.o
+
+ifeq ($(CONFIG_NET_ESTIMATOR), y)
+O_OBJS += estimator.o
+endif
+
+ifeq ($(CONFIG_NET_CLS), y)
+O_OBJS += cls_api.o
+
+ifeq ($(CONFIG_NET_CLS_POLICE), y)
+O_OBJS += police.o
+endif
+
+endif
+
 ifeq ($(CONFIG_NET_SCH_CBQ), y)
 O_OBJS += sch_cbq.o
 else
@@ -27,6 +44,23 @@
   endif
 endif
 
+ifeq ($(CONFIG_NET_SCH_HPFQ), y)
+O_OBJS += sch_hpfq.o
+else
+  ifeq ($(CONFIG_NET_SCH_HPFQ), m)
+	M_OBJS += sch_hpfq.o
+  endif
+endif
+
+ifeq ($(CONFIG_NET_SCH_HFSC), y)
+O_OBJS += sch_hfsc.o
+else
+  ifeq ($(CONFIG_NET_SCH_HFSC), m)
+	M_OBJS += sch_hfsc.o
+  endif
+endif
+
+
 ifeq ($(CONFIG_NET_SCH_SFQ), y)
 O_OBJS += sch_sfq.o
 else
@@ -51,21 +85,54 @@
   endif
 endif
 
+ifeq ($(CONFIG_NET_SCH_PRIO), y)
+O_OBJS += sch_prio.o
+else
+  ifeq ($(CONFIG_NET_SCH_PRIO), m)
+	M_OBJS += sch_prio.o
+  endif
+endif
 
-ifeq ($(CONFIG_NET_SCH_PFIFO), y)
-O_OBJS += sch_fifo.o
+ifeq ($(CONFIG_NET_SCH_TEQL), y)
+O_OBJS += sch_teql.o
 else
-  ifeq ($(CONFIG_NET_SCH_PFIFO), m)
-	M_OBJS += sch_fifo.o
+  ifeq ($(CONFIG_NET_SCH_TEQL), m)
+	M_OBJS += sch_teql.o
   endif
 endif
 
-ifeq ($(CONFIG_NET_SCH_PRIO), y)
-O_OBJS += sch_prio.o
+ifeq ($(CONFIG_NET_CLS_U32), y)
+O_OBJS += cls_u32.o
 else
-  ifeq ($(CONFIG_NET_SCH_PRIO), m)
-	M_OBJS += sch_prio.o
+  ifeq ($(CONFIG_NET_CLS_U32), m)
+	M_OBJS += cls_u32.o
+  endif
+endif
+
+ifeq ($(CONFIG_NET_CLS_RSVP), y)
+O_OBJS += cls_rsvp.o
+else
+  ifeq ($(CONFIG_NET_CLS_RSVP), m)
+	M_OBJS += cls_rsvp.o
   endif
+endif
+
+ifeq ($(CONFIG_NET_CLS_RSVP6), y)
+O_OBJS += cls_rsvp6.o
+else
+  ifeq ($(CONFIG_NET_CLS_RSVP6), m)
+	M_OBJS += cls_rsvp6.o
+  endif
+endif
+
+ifeq ($(CONFIG_NET_CLS_ROUTE), y)
+O_OBJS += cls_route.o
+endif
+
+ifeq ($(CONFIG_NET_CLS_FW), y)
+O_OBJS += cls_fw.o
+endif
+
 endif
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov