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

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

1.5     ! noro        1: # $OpenXM: OpenXM/src/gnuplot/Makefile,v 1.4 2000/01/19 07:07:51 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
1.5     ! noro       19:        if test `uname` = "OSF1" ; then \
        !            20:                installbsd -c -s $(GNUPLOT)/gnuplot $(BINDIR)/gnuplot4ox ; \
        !            21:                installbsd -c -s $(GNUPLOT)/gnuplot_x11 $(BINDIR)/gnuplot_x11 ; \
        !            22:        else \
        !            23:                install -c -s $(GNUPLOT)/gnuplot $(BINDIR)/gnuplot4ox ; \
        !            24:                install -c -s $(GNUPLOT)/gnuplot_x11 $(BINDIR)/gnuplot_x11; \
        !            25:        fi
1.1       maekawa    26:
                     27: clean: patch-clean
                     28:        @if [ -f ./.make_done ]; then \
                     29:                (cd $(GNUPLOT) ; make distclean) \
                     30:        fi
1.2       maekawa    31:        @rm -f ./.make_done ./.configure_done
                     32:
                     33: distclean:
1.1       maekawa    34:        rm -f $(BINDIR)/gnuplot4ox $(BINDIR)/gnuplot_x11
1.2       maekawa    35:
                     36: configure: patch
                     37:        @if [ ! -f ./.configure_done ]; then \
                     38:                (cd $(GNUPLOT) ; ./configure --with-x) \
                     39:        fi
                     40:        @touch ./.configure_done
1.1       maekawa    41:
                     42: patch:
1.3       takayama   43:        -@if [ ! -f ./.patch_done ]; then \
1.1       maekawa    44:                (cd $(GNUPLOT) ; patch < $(CURDIR)/plot.c.diff) \
                     45:        fi
                     46:        @touch ./.patch_done
                     47:
                     48: patch-clean:
                     49:        @if [ -f ./.patch_done ]; then \
                     50:                (cd $(GNUPLOT) ; patch -R < $(CURDIR)/plot.c.diff) \
                     51:        fi
                     52:        @rm -f ./.patch_done

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