0a41b754ffde06b4c703b8339daf97b3bc49b4e1
[captive.git] / src / client / sandbox-server / Makefile.am
1 # $Id$
2 # automake source for sandbox filesystem sandbox server
3 # Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 include $(top_srcdir)/Makefile-head.am
20
21 captive_sandbox_server_SOURCES= \
22                 main.c
23 captive_sandbox_server_CFLAGS=$(ORBIT_CFLAGS) $(LINC_CFLAGS)
24 captive_sandbox_server_LDADD =$(ORBIT_LIBS)   $(LINC_LIBS)   $(captive_library) $(INTLLIBS)
25 sbin_PROGRAMS+=captive-sandbox-server
26 sbinPROGRAMS_INSTALL=${INSTALL} -o root -g root -m 4755
27 EXTRA_DIST+=.gdbinit
28
29 install-data-hook:
30         $(mkinstalldirs) $(DESTDIR)$(CAPTIVE_SANDBOX_CHROOT)
31         $(mkinstalldirs) $(DESTDIR)$(CAPTIVE_SANDBOX_CHROOT)/tmp
32         chmod 1777 $(DESTDIR)$(CAPTIVE_SANDBOX_CHROOT)/tmp
33
34 EXTRA_DIST+=captive-sandbox-server.pod.pl.in
35 CLEANFILES+=captive-sandbox-server.pod captive-sandbox-server.1
36 if ENABLE_MAN_PAGES
37 captive_sandbox_server_man_cond=captive-sandbox-server.1
38 endif
39 man_MANS=$(captive_sandbox_server_man_cond)