| 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 | |
| 26 | EXTRA_DIST = |
| 27 | |
| 28 | CLEANFILES = |
| 29 | DISTCLEANFILES = |
| 30 | MAINTAINERCLEANFILES = |
| 31 | |
| 32 | sbin_PROGRAMS = |
| 33 | man_MANS = |
| 34 | |
| 35 | ###-------------------------------------------------------------------------- |
| 36 | ### The main server. |
| 37 | |
| 38 | sbin_PROGRAMS += yaid |
| 39 | yaid_SOURCES = |
| 40 | EXTRA_yaid_SOURCES = |
| 41 | yaid_LDADD = $(mLib_LIBS) |
| 42 | |
| 43 | yaid_SOURCES += yaid.h |
| 44 | yaid_SOURCES += yaid.c |
| 45 | yaid_SOURCES += addr.c |
| 46 | yaid_SOURCES += policy.c |
| 47 | |
| 48 | yaid_LDADD += $(SYS).$(OBJEXT) |
| 49 | EXTRA_yaid_SOURCES += linux.c |
| 50 | |
| 51 | ###-------------------------------------------------------------------------- |
| 52 | ### Release machinery. |
| 53 | |
| 54 | dist-hook:: |
| 55 | echo $(VERSION) >$(distdir)/RELEASE |
| 56 | |
| 57 | EXTRA_DIST += config/auto-version |
| 58 | |
| 59 | ###-------------------------------------------------------------------------- |
| 60 | ### Debian. |
| 61 | |
| 62 | ## General stuff. |
| 63 | ##EXTRA_DIST += debian/rules |
| 64 | ##EXTRA_DIST += debian/control |
| 65 | ##EXTRA_DIST += debian/changelog |
| 66 | ##EXTRA_DIST += debian/copyright |
| 67 | |
| 68 | ###----- That's all, folks -------------------------------------------------- |