#
# Makefile for the IP Virtual services layer.
# Added by Bryce
# Fixed by rmk
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

obj-y		:=
obj-m		:=
obj-n		:=
obj-		:=

ip_vs-objs	:= ip_vs_conn.o ip_vs_core.o ip_vs_ctl.o ip_vs_sched.o \
		   ip_vs_timer.o ip_vs_app.o

obj-$(CONFIG_IP_VS)		+= ip_vs.o

obj-$(CONFIG_IP_VS_LC)		+= ip_vs_lc.o
obj-$(CONFIG_IP_VS_RR)		+= ip_vs_rr.o
obj-$(CONFIG_IP_VS_WLC)		+= ip_vs_wlc.o
obj-$(CONFIG_IP_VS_WRR)		+= ip_vs_wrr.o
obj-$(CONFIG_IP_VS_LBLC)	+= ip_vs_lblc.o
obj-$(CONFIG_IP_VS_LBLCR)	+= ip_vs_lblcr.o
obj-$(CONFIG_IP_VS_FTP)		+= ip_vs_ftp.o

include $(TOPDIR)/Rules.make

ip_vs.o:	$(ip_vs-objs)
		$(LD) -r -o $@ $(ip_vs-objs)

tar:
	tar -cvf /dev/f1 .

