VPATH=@srcdir@ CXX?=c++ SOFLAGS=-fpic -shared DEFINES= prefix=@prefix@ exec_prefix=@exec_prefix@ libexec=@libexecdir@/chroot_safe sbin=@sbindir@ man=@mandir@/man1 install=@INSTALL@ all: chroot_safe.so chroot_safe.so: chroot_safe.cpp Makefile $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES) $(SOFLAGS) chroot_safe.cpp -o chroot_safe.so $< clean: rm -f *.o *.so *~ install: all $(install) -m 0755 -d $(DESTDIR)$(libexec) $(install) -m 0755 -s chroot_safe.so $(DESTDIR)$(libexec)/chroot_safe.so $(install) -m 0755 -d $(DESTDIR)$(sbin) $(install) -m 0750 chroot_safe $(DESTDIR)$(sbin)/chroot_safe $(install) -m 0755 -d $(DESTDIR)$(man) $(install) -m 0444 chroot_safe.1 $(DESTDIR)$(man)/chroot_safe.1 distclean: clean rm -f chroot_safe config.log config.status Makefile chroot_safe.1 rm -rf *.cache mrproper: distclean rm -f configure