Annotation of OpenXM/src/gnuplot-diff/Makefile, Revision 1.11
1.11 ! maekawa 1: # $OpenXM: OpenXM/src/gnuplot-diff/Makefile,v 1.10 1999/11/27 20:37:07 maekawa Exp $
1.4 maekawa 2:
1.9 maekawa 3: GNUPLOT = ../../../OpenXM_contrib/gnuplot
1.10 maekawa 4: CURDIR = ../../OpenXM/src/gnuplot-diff
1.1 maekawa 5: BINDIR = ../../bin
1.2 maekawa 6:
1.11 ! maekawa 7: all: patch
1.10 maekawa 8: @if [ ! -f ./.make_done ]; then \
1.7 maekawa 9: (cd $(GNUPLOT) ; ./configure --with-x ; make) \
10: fi
1.10 maekawa 11: @touch ./.make_done
1.6 maekawa 12:
1.7 maekawa 13: install: all
1.8 maekawa 14: install -c -s $(GNUPLOT)/gnuplot $(BINDIR)/gnuplot4ox
15: install -c -s $(GNUPLOT)/gnuplot_x11 $(BINDIR)/gnuplot_x11
1.1 maekawa 16:
1.11 ! maekawa 17: clean: patch-clean
1.10 maekawa 18: @if [ -f ./.make_done ]; then \
1.7 maekawa 19: (cd $(GNUPLOT) ; make distclean) \
1.6 maekawa 20: fi
1.7 maekawa 21: rm -f $(BINDIR)/gnuplot4ox $(BINDIR)/gnuplot_x11
1.10 maekawa 22: @rm -f ./.make_done
1.5 maekawa 23:
24: patch:
1.10 maekawa 25: @if [ ! -f ./.patch_done ]; then \
26: (cd $(GNUPLOT) ; patch < $(CURDIR)/plot.c.diff) \
1.6 maekawa 27: fi
1.10 maekawa 28: @touch ./.patch_done
1.5 maekawa 29:
30: patch-clean:
1.10 maekawa 31: @if [ -f ./.patch_done ]; then \
32: (cd $(GNUPLOT) ; patch -R < $(CURDIR)/plot.c.diff) \
1.6 maekawa 33: fi
1.10 maekawa 34: @rm -f ./.patch_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>