Annotation of OpenXM/src/gnuplot/Makefile, Revision 1.4
1.4 ! takayama 1: # $OpenXM: OpenXM/src/gnuplot/Makefile,v 1.3 2000/01/15 12:23:37 takayama Exp $
1.1 maekawa 2:
3: GNUPLOT = ../../../OpenXM_contrib/gnuplot
4: CURDIR = ../../OpenXM/src/gnuplot
5: BINDIR = ../../bin
6:
1.2 maekawa 7: all: configure
1.1 maekawa 8: @if [ ! -f ./.make_done ]; then \
1.4 ! takayama 9: if test `uname` = "SunOS" ; \
! 10: then \
! 11: (cd $(GNUPLOT) ; make all LDFLAGS=-lsocket -lnsl ) ; \
! 12: else \
! 13: (cd $(GNUPLOT) ; make all) ; \
! 14: fi ; \
1.1 maekawa 15: fi
16: @touch ./.make_done
17:
18: install: all
19: install -c -s $(GNUPLOT)/gnuplot $(BINDIR)/gnuplot4ox
20: install -c -s $(GNUPLOT)/gnuplot_x11 $(BINDIR)/gnuplot_x11
21:
22: clean: patch-clean
23: @if [ -f ./.make_done ]; then \
24: (cd $(GNUPLOT) ; make distclean) \
25: fi
1.2 maekawa 26: @rm -f ./.make_done ./.configure_done
27:
28: distclean:
1.1 maekawa 29: rm -f $(BINDIR)/gnuplot4ox $(BINDIR)/gnuplot_x11
1.2 maekawa 30:
31: configure: patch
32: @if [ ! -f ./.configure_done ]; then \
33: (cd $(GNUPLOT) ; ./configure --with-x) \
34: fi
35: @touch ./.configure_done
1.1 maekawa 36:
37: patch:
1.3 takayama 38: -@if [ ! -f ./.patch_done ]; then \
1.1 maekawa 39: (cd $(GNUPLOT) ; patch < $(CURDIR)/plot.c.diff) \
40: fi
41: @touch ./.patch_done
42:
43: patch-clean:
44: @if [ -f ./.patch_done ]; then \
45: (cd $(GNUPLOT) ; patch -R < $(CURDIR)/plot.c.diff) \
46: fi
47: @rm -f ./.patch_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>