4e3819cf |
1 | ## -*-makefile-*- |
2 | ## |
3 | ## $Id: Makefile.am,v 1.1 2001/01/25 22:03:39 mdw Exp $ |
4 | ## |
5 | ## Skeleton makefile for usernet |
6 | ## |
7 | ## (c) 1998 Mark Wooding |
8 | ## |
9 | |
10 | ##----- Licensing notice ---------------------------------------------------- |
11 | ## |
12 | ## This program is free software; you can redistribute it and/or modify |
13 | ## it under the terms of the GNU General Public License as published by |
14 | ## the Free Software Foundation; either version 2 of the License, or |
15 | ## (at your option) any later version. |
16 | ## |
17 | ## This program is distributed in the hope that it will be useful, |
18 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | ## GNU General Public License for more details. |
21 | ## |
22 | ## You should have received a copy of the GNU General Public License |
23 | ## along with this program; if not, write to the Free Software Foundation, |
24 | ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | |
26 | ## --- Boilerplate --- |
27 | |
28 | AUTOMAKE_OPTIONS = foreign |
29 | |
30 | ## --- Strangeness for building modules --- |
31 | |
32 | moduledir = @moduledir@ |
33 | linuxdir = @linuxdir@ |
34 | |
35 | ## --- Important things to build --- |
36 | |
37 | module_DATA = unet.o |
38 | sbin_PROGRAMS = unetcfg |
39 | sbin_SCRIPTS = makedev.unet |
40 | include_HEADERS = unet.h |
41 | info_TEXINFOS = unet.texi |
42 | EXTRA_DIST = unet.c |
43 | |
44 | ## --- Building the kernel modules --- |
45 | |
46 | unet_INCLUDES = -D__KERNEL__ -DMODULE -I$(linuxdir)/include |
47 | |
48 | unet.o: unet.c |
49 | $(COMPILE) $(unet_INCLUDES) -c $(srcdir)/unet.c |