#~~syntax:makefile
#==============================================================================
# ttyrpld - TTY replay daemon
#   Copyright © Jan Engelhardt <jengelh [at] linux01 gwdg de>, 2004 
#   -- License restrictions apply (GPL2)
#
#   This file is part of ttyrpld.
#   ttyrpld is free software; you can redistribute it and/or modify it
#   under the terms of the GNU General Public License as published by
#   the Free Software Foundation; however only version 2 of the License.
#
#   ttyrpld is distributed in the hope that it will be useful, but
#   WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#   General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program kit; if not, write to:
#   Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#   02111-1307, USA.
#
#   -- For details see doc/GPL2.txt.
#==============================================================================
KERNEL_DIR := /lib/modules/`uname -r`/build
MODULES_DIR := /lib/modules/`uname -r`

.PHONY: all modules install clean

kmod: ;
	make -C ${KERNEL_DIR} SUBDIRS=$$PWD modules;

obj-m += rpldev.o
-include ${TOPDIR}/Rules.make

#==[ End of file ]=============================================================
