#
# Makefile for the linux networking.
#
# 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...

MOD_SUB_DIRS  :=
ALL_SUB_DIRS  := sunrpc sunrpc_des
MOD_LIST_NAME := NET_MISC_MODULES

ifeq ($(CONFIG_SUNRPC),y)
SUB_DIRS += sunrpc
else
  ifeq ($(CONFIG_SUNRPC),m)
  MOD_SUB_DIRS += sunrpc
  endif
endif

ifeq ($(CONFIG_SUNRPC_SECURE),y)
SUB_DIRS += sunrpc_des
else
  ifeq ($(CONFIG_SUNRPC_SECURE),m)
  MOD_SUB_DIRS += sunrpc_des
  endif
endif

include $(TOPDIR)/Rules.make
