server: Introduce privilege separation.
[tripe] / priv / Makefile.am
diff --git a/priv/Makefile.am b/priv/Makefile.am
new file mode 100644 (file)
index 0000000..7c8ad95
--- /dev/null
@@ -0,0 +1,55 @@
+### -*-makefile-*-
+###
+### Makefile for privilege separation
+###
+### (c) 2008 Straylight/Edgeware
+###
+
+###----- Licensing notice ---------------------------------------------------
+###
+### This file is part of Trivial IP Encryption (TrIPE).
+###
+### TrIPE 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.
+###
+### TrIPE 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 TrIPE; if not, write to the Free Software Foundation,
+### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+include $(top_srcdir)/vars.am
+
+noinst_LIBRARIES        = libpriv.a
+libexec_PROGRAMS        = tripe-privhelper
+man_MANS                =
+
+###--------------------------------------------------------------------------
+### Library.
+
+libpriv_a_SOURCES       =
+
+## Header.
+libpriv_a_SOURCES      += priv.h
+
+## Communications.
+libpriv_a_SOURCES      += comm.c
+
+###--------------------------------------------------------------------------
+### Helper.
+
+## The progam itself.
+tripe_privhelper_SOURCES = helper.c
+tripe_privhelper_LDADD  = $(libpriv) $(libtripe)
+
+## Manual page.
+man_MANS               += tripe-privhelper.8
+CLEANFILES             += tripe-privhelper.8
+EXTRA_DIST             += tripe-privhelper.8.in
+
+###----- That's all, folks --------------------------------------------------