1MAKE = @MAKE@ 2RM = @RM@ 3SHELL = @SHELL@ 4LIBTOOL_DEPS = @LIBTOOL_DEPS@ 5 6srcdir = @srcdir@ 7logfilesbuild_dir = @logfilesbuild_dir@ 8 9all: 10 cd src && $(MAKE) $(MAKEOPTS) 11 12install: 13 @if [ -n "$(PREFIX)" ] ; then \ 14 ./sbin/install-package -prefix=$(PREFIX) ; \ 15 else \ 16 ./sbin/install-package ; \ 17 fi 18 19uninstall: 20 @-./sbin/uninstall-viewer 21 22clean: 23 -cd src && $(MAKE) $(MAKEOPTS) clean 24 25rmprog: 26 @-for file in bin/* sbin/* ; do \ 27 case "$$file" in \ 28 *.in) ;; \ 29 *) $(RM) -f $$file ;; \ 30 esac ; \ 31 done 32 33distclean: rmprog 34 @-cd src && $(MAKE) $(MAKEOPTS) distclean 35 @-$(RM) sbin/install-package 36 @-$(RM) Makefile libtool 37 @-$(RM) trace_impl.h 38 @-$(RM) config.log config.status 39 @-$(RM) -r autom4te*.cache 40 @-test "$(srcdir)" != . && $(RM) -f $(logfilesbuild_dir)/*.rlog 41 42maintainer-clean: distclean 43 @-$(RM) trace_impl.h.in 44 45owner-clean: maintainer-clean 46 @-$(RM) configure 47 48libtool: $(LIBTOOL_DEPS) 49 $(SHELL) ./config.status --recheck 50 51