linux.c (identify): Don't leak the file handle.
[yaid] / Makefile.am
CommitLineData
9dcdc856
MW
1### -*-makefile-*-
2###
3### Build script for YAID
4###
5### (c) 2012 Straylight/Edgeware
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This file is part of Yet Another Ident Daemon (YAID).
11###
12### YAID 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### YAID 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 YAID; if not, write to the Free Software Foundation,
24### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26EXTRA_DIST =
27
28CLEANFILES =
29DISTCLEANFILES =
30MAINTAINERCLEANFILES =
31
32sbin_PROGRAMS =
33man_MANS =
34
35###--------------------------------------------------------------------------
36### The main server.
37
38sbin_PROGRAMS += yaid
39yaid_SOURCES =
38b211f2 40EXTRA_yaid_SOURCES =
9dcdc856
MW
41yaid_LDADD = $(mLib_LIBS)
42
9da480be 43yaid_SOURCES += yaid.c
bf4d9761 44yaid_SOURCES += addr.c
9da480be 45yaid_SOURCES += policy.c
9dcdc856 46
38b211f2
MW
47yaid_LDADD += $(SYS).$(OBJEXT)
48EXTRA_yaid_SOURCES += linux.c
49
9dcdc856
MW
50###--------------------------------------------------------------------------
51### Release machinery.
52
53dist-hook::
54 echo $(VERSION) >$(distdir)/RELEASE
55
56EXTRA_DIST += config/auto-version
57
58###--------------------------------------------------------------------------
59### Debian.
60
61## General stuff.
62##EXTRA_DIST += debian/rules
63##EXTRA_DIST += debian/control
64##EXTRA_DIST += debian/changelog
65##EXTRA_DIST += debian/copyright
66
67###----- That's all, folks --------------------------------------------------