# $Revision: 1.3 $	$Date: 2001/12/14 10:08:11 $

LIBNAME=rtd-ecan
#EXTRA_VERSION_DATE=defined

SRCS = $(wildcard *.c *.cc)
TOPDIR=../..
include $(TOPDIR)/dfmakefiles/defs.make

INCLUDE_FILES = EcanIoctl.h EcanFunc.h

DOC_DIR=$(docdir)/rtd-ecan
DOC_FILES=README

# from $(TOPDIR)
EXTRA_FULLEXPORT_FILES+=INSTALL Makefile dfmakefiles
EXTRA_FULLEXPORT_FILES+=dfcommon dfcompat dfc
EXTRA_FULLEXPORT_FILES+=linux/compat linux/df


all:	lib

all lib: .release.h


config: configclean $(TOPINCDIR)
	$(CMDPREFIX)for f in $(INCLUDE_FILES); \
		do $(LN_S) ../rtd/ecan/$$f $(TOPINCDIR)/$$f; done

configclean:
	-$(CMDPREFIX)$(RM) $(addprefix $(TOPINCDIR)/,$(INCLUDE_FILES))


include $(TOPDIR)/dfmakefiles/rules.make

