# $Id$ # automake source for sandbox filesystem sandbox server # Copyright (C) 2003 Jan Kratochvil # # This program 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; exactly version 2 of June 1991 is required # # This program 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 this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA include $(top_srcdir)/Makefile-head.am captive_sandbox_server_SOURCES= \ main.c captive_sandbox_server_CFLAGS=$(ORBIT_CFLAGS) $(LINC_CFLAGS) $(GNOME_VFS_CFLAGS) $(LIBXML_CFLAGS) captive_sandbox_server_LDADD =$(ORBIT_LIBS) $(LINC_LIBS) $(GNOME_VFS_LIBS) $(LIBXML_LIBS) $(captive_library) $(INTLLIBS) libexec_PROGRAMS=captive-sandbox-server libexecPROGRAMS_INSTALL=${INSTALL} -o root -g root -m 4755 EXTRA_DIST+=.gdbinit install-data-hook: $(mkinstalldirs) $(DESTDIR)$(CAPTIVE_SANDBOX_CHROOT) $(mkinstalldirs) $(DESTDIR)$(CAPTIVE_SANDBOX_CHROOT)/tmp chmod 1777 $(DESTDIR)$(CAPTIVE_SANDBOX_CHROOT)/tmp install-exec-hook: if test `id -u` -eq 0 -a -z "$(DESTDIR)";then \ if grep -q '^$(CAPTIVE_SANDBOX_SETGID):' /etc/group;then true;else \ echo "ERROR: Add '$(CAPTIVE_SANDBOX_SETGID)' to your '/etc/group'; see README and groupadd(8)"; \ exit 1; \ fi; \ if grep -q '^$(CAPTIVE_SANDBOX_SETUID):' /etc/passwd;then true;else \ echo "ERROR: Add '$(CAPTIVE_SANDBOX_SETUID)' to your '/etc/passwd'; see README and useradd(8)"; \ exit 1; \ fi; \ fi EXTRA_DIST+=captive-sandbox-server.pod.pl.in CLEANFILES+=captive-sandbox-server.pod captive-sandbox-server.1 if ENABLE_MAN_PAGES captive_sandbox_server_man_cond=captive-sandbox-server.1 endif man_MANS=$(captive_sandbox_server_man_cond)