captive_sandbox_server_SOURCES= \
main.c
-captive_sandbox_server_LDADD=$(captive_library) $(INTLLIBS)
+captive_sandbox_server_CFLAGS=$(ORBIT_CFLAGS) $(LINC_CFLAGS)
+captive_sandbox_server_LDADD =$(ORBIT_LIBS) $(LINC_LIBS) $(captive_library) $(INTLLIBS)
sbin_PROGRAMS+=captive-sandbox-server
+sbinPROGRAMS_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
+
+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)