[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / gnuplot

Annotation of OpenXM/src/gnuplot/Makefile, Revision 1.2

1.2     ! maekawa     1: # $OpenXM: OpenXM/src/gnuplot/Makefile,v 1.1 2000/01/07 18:03:25 maekawa 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.2     ! maekawa     9:                (cd $(GNUPLOT) ; make all) \
1.1       maekawa    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
1.2     ! maekawa    21:        @rm -f ./.make_done ./.configure_done
        !            22:
        !            23: distclean:
1.1       maekawa    24:        rm -f $(BINDIR)/gnuplot4ox $(BINDIR)/gnuplot_x11
1.2     ! maekawa    25:
        !            26: configure: patch
        !            27:        @if [ ! -f ./.configure_done ]; then \
        !            28:                (cd $(GNUPLOT) ; ./configure --with-x) \
        !            29:        fi
        !            30:        @touch ./.configure_done
1.1       maekawa    31:
                     32: patch:
                     33:        @if [ ! -f ./.patch_done ]; then \
                     34:                (cd $(GNUPLOT) ; patch < $(CURDIR)/plot.c.diff) \
                     35:        fi
                     36:        @touch ./.patch_done
                     37:
                     38: patch-clean:
                     39:        @if [ -f ./.patch_done ]; then \
                     40:                (cd $(GNUPLOT) ; patch -R < $(CURDIR)/plot.c.diff) \
                     41:        fi
                     42:        @rm -f ./.patch_done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>