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