## -*-makefile-*- ## ## $Id: Makefile.am,v 1.1 2001/01/25 22:03:39 mdw Exp $ ## ## Skeleton makefile for usernet ## ## (c) 1998 Mark Wooding ## ##----- Licensing notice ---------------------------------------------------- ## ## This program 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; either version 2 of the License, or ## (at your option) any later version. ## ## This program 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; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## --- Boilerplate --- AUTOMAKE_OPTIONS = foreign ## --- Strangeness for building modules --- moduledir = @moduledir@ linuxdir = @linuxdir@ ## --- Important things to build --- module_DATA = unet.o sbin_PROGRAMS = unetcfg sbin_SCRIPTS = makedev.unet include_HEADERS = unet.h info_TEXINFOS = unet.texi EXTRA_DIST = unet.c ## --- Building the kernel modules --- unet_INCLUDES = -D__KERNEL__ -DMODULE -I$(linuxdir)/include unet.o: unet.c $(COMPILE) $(unet_INCLUDES) -c $(srcdir)/unet.c