RGSRC=../../../../
include $(RGSRC)/envir.mak

PLUGINSRCS+=pppoe.o
ifneq ($(CONFIG_RG_PPPOA),)
  PLUGINSRCS+=pppoatm.o
endif

ifneq ($(CONFIG_RG_PPTPS),)
  PLUGINSRCS+=pptps_plugin.o
endif

ifneq ($(CONFIG_RG_PPTPC),)
  PLUGINSRCS+=pptpc.o
endif

ifneq ($(CONFIG_RG_L2TPC),)
  PLUGINSRCS+=l2tpc.o
endif

A_TARGET=libplugins.a  
O_OBJS_libplugins.a=$(PLUGINSRCS)

CFLAGS+=-I.. -I../../include -I$(RGSRC)/pkg/atm/lib -I$(RGSRC)/pkg/main \
	-D_linux_=1

CD_EXPORTED_SRC_EXTRA=$(PLUGINSRCS:%.o=%.c)
include $(RGMK)
