3 ### Build script for YAID
5 ### (c) 2012 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of Yet Another Ident Daemon (YAID).
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.
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.
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.
30 MAINTAINERCLEANFILES =
35 ###--------------------------------------------------------------------------
38 confsubst = $(top_srcdir)/config/confsubst
39 EXTRA_DIST += config/confsubst
42 prefix=$(prefix) exec_prefix=$(exec_prefix) \
43 sysconfdir=$(sysconfdir)
45 V_SUBST = $(V_SUBST_$(V))
46 V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
47 V_SUBST_0 = @echo " SUBST $@";
48 SUBST = $(V_SUBST)$(confsubst)
50 ###--------------------------------------------------------------------------
56 yaid_LDADD = $(mLib_LIBS)
59 EXTRA_DIST += yaid.8.in
61 yaid.8: yaid.8.in Makefile
62 $(SUBST) $(srcdir)/yaid.8.in >yaid.8 $(SUBSTITUTIONS)
64 yaid_SOURCES += yaid.h
65 yaid_SOURCES += yaid.c
66 yaid_SOURCES += addr.c
67 yaid_SOURCES += policy.c
69 yaid_LDADD += $(SYS).$(OBJEXT)
70 EXTRA_yaid_SOURCES += linux.c
72 ###--------------------------------------------------------------------------
73 ### Release machinery.
76 echo $(VERSION) >$(distdir)/RELEASE
78 EXTRA_DIST += config/auto-version
80 ###--------------------------------------------------------------------------
84 EXTRA_DIST += debian/control debian/copyright debian/changelog
85 EXTRA_DIST += debian/rules debian/compat
86 EXTRA_DIST += debian/yaid.install debian/yaid.init
87 EXTRA_DIST += debian/yaid.policy
89 ###----- That's all, folks --------------------------------------------------