# Generated automatically from Makefile.in by configure.
#
# hep8a --- a Linux kernel driver module for the Hunt Engineering
#           HEPC8 HERON motherboard
#
# This driver is
#
#                     Copyright (C) 1999 by HUNT ENGINEERING
#
# This driver is free software, and you are welcome to redistribute it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option) 
# any later version.
#
# The driver is distributed in the hope that it will be useful and work with
# your system's configuration. The driver was originally developed for use
# with the HUNT ENGINEERING API, and has been tested only for that purpose.
#
# Due to the fact that the driver is free, it is provided WITHOUT ANY 
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. Please see the GNU General Public License (GPL)
# for details. You should have received a copy of the GPL with this package;
# if not, write to the Free Software Foundation, Inc., 675 Mass Ave., 
# Cambride, MA 02139, USA
#
# Please report bugs or suggestions to support@hunteng.demon.co.uk
#
# The development of this driver module was based upon the following
# information:
#
# o Hunt Engineering: HECP8 4-slot HERON Motherboard: USER MANUAL
#   Hardware Rev A, Document Rev B, P.Warnes, 8/10/99. (available
#   via http://www.hunteng.co.uk)
# 
# o Alessandro Rubini: Linux Device Drivers. O'Reilly & Associates, 1998.
#
# o Ori Pomerantz: Linux Kernel Module Programming Guide, 1999. (for 2.0 to
#   2.2 migration)
#
# WARNING: this driver has been tested only with Redhat Linux 6.1, with a
# kernel version of 2.2.12-20 with a P100 Pentium PC. The select/poll function
# has not been tested (as this is not used by the API interface), nor has the
# NON_BLOCKING mode been tested (again, it's not used by our API interface).
#
# HUNT ENGINEERING, Dec 14, 1999.
#

CC=gcc
GPP=g++
CFLAGS=-O2 -Wall -DPC=1 -D_LINUX=1 -DCMDLINE=1

BINDIR=/usr/local/bin
LIBDIR=/usr/local/lib
INCDIR=/usr/local/include

###############################################

host: host.o
	$(GPP) $(CFLAGS) host.o /usr/local/lib/libhel.so /usr/lib/librt.so -o host

host.o: ../host.cpp
	$(GPP) $(CFLAGS) -c ../host.cpp

clean:
	rm -f *.o *~ core

install:
	install -d $(BINDIR)
	install linuxsl $(BINDIR)

uninstall:
	rm $(BINDIR)/linuxsl
