# Source Makefile for the Arduino UNO USB to Serial FreeBSD kernel driver
#
# Author:  Bob Frazier
#
# WWW:     http://mrp3.com/arduino.html
#

#.PATH: ${.CURDIR} /sys/pci

KMOD=	uarduno
SRCS=	uarduno.h
SRCS+=	device_if.h bus_if.h pci_if.h vnode_if.h opt_uticom.h opt_usb.h usbdevs.h
SRCS+=	uarduno.c
CFLAGS+ = -I${WRKSRC}

my-clean:
	for xx in * ; do \
	  if test ""$$xx"" = ""uarduno.h"" ; then echo "skipping uarduno.h" ; \
	  elif test ""$$xx"" = ""uarduno.c"" ; then echo "skipping uarduno.c" ; \
	  elif test ""$$xx"" = ""Makefile"" ; then echo "skipping Makefile"; \
	  else rm $$xx ; fi \
	done

.include <bsd.kmod.mk>

