### -*-makefile-*- ### ### Build script for YAID ### ### (c) 2012 Straylight/Edgeware ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of Yet Another Ident Daemon (YAID). ### ### YAID 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. ### ### YAID 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 YAID; if not, write to the Free Software Foundation, ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. EXTRA_DIST = CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = sbin_PROGRAMS = man_MANS = ###-------------------------------------------------------------------------- ### Substitutions. confsubst = $(top_srcdir)/config/confsubst EXTRA_DIST += config/confsubst SUBSTITUTIONS = \ prefix=$(prefix) exec_prefix=$(exec_prefix) \ sysconfdir=$(sysconfdir) V_SUBST = $(V_SUBST_@AM_V@) V_SUBST_ = $(V_SUBST_@AM_DEFAULT_V@) V_SUBST_0 = @echo " SUBST $@"; SUBST = $(V_SUBST)$(confsubst) ###-------------------------------------------------------------------------- ### The main server. sbin_PROGRAMS += yaid yaid_SOURCES = EXTRA_yaid_SOURCES = yaid_LDADD = $(mLib_LIBS) man_MANS += yaid.8 EXTRA_DIST += yaid.8.in CLEANFILES += yaid.8 yaid.8: yaid.8.in Makefile $(SUBST) $(srcdir)/yaid.8.in >yaid.8 $(SUBSTITUTIONS) yaid_SOURCES += yaid.h yaid_SOURCES += yaid.c yaid_SOURCES += addr.c yaid_SOURCES += policy.c yaid_LDADD += $(SYS).$(OBJEXT) EXTRA_yaid_SOURCES += linux.c ###-------------------------------------------------------------------------- ### Release machinery. dist-hook:: echo $(VERSION) >$(distdir)/RELEASE EXTRA_DIST += config/auto-version ###-------------------------------------------------------------------------- ### Debian. ## General stuff. EXTRA_DIST += debian/control debian/copyright debian/changelog EXTRA_DIST += debian/rules debian/compat debian/source/format EXTRA_DIST += debian/yaid.install debian/yaid.init EXTRA_DIST += debian/yaid.policy ###----- That's all, folks --------------------------------------------------