ifeq "$(ROOTDIR)" ""
export ROOTDIR=$(shell while true; do if [ -f BaseVar.mk ]; then pwd;exit; else cd ..;fi;done;)
endif

include $(ROOTDIR)/.config
obj-y = sample.o 
E_TARGET = sample

EXTRA_LDFLAGS = -lxagent -L$(BUILDDIR)/apps/ssap/xagent
include $(ROOTDIR)/Rules.make

installme::
	$(Q)cp $(E_TARGET) $(FSROOT)/usr/sbin -rf
	$(Q)$(STRIP) $(FSROOT)/usr/sbin/$(E_TARGET)

