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