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