version 1.6, 2000/02/01 10:23:33 |
version 1.9, 2004/02/22 14:11:02 |
|
|
# $OpenXM: OpenXM/src/gnuplot/Makefile,v 1.5 2000/01/31 05:52:05 noro Exp $ |
# $OpenXM: OpenXM/src/gnuplot/Makefile,v 1.8 2004/02/22 13:58:58 takayama Exp $ |
|
|
GNUPLOT = ../../../OpenXM_contrib/gnuplot |
GNUPLOT = ../../../OpenXM_contrib/gnuplot |
CURDIR = ../../OpenXM/src/gnuplot |
CURDIR = ../../OpenXM/src/gnuplot |
Line 7 BINDIR = ../../bin |
|
Line 7 BINDIR = ../../bin |
|
all: configure |
all: configure |
@if [ ! -f $(GNUPLOT)/.make_done ]; then \ |
@if [ ! -f $(GNUPLOT)/.make_done ]; then \ |
if [ `uname` = "SunOS" ]; then \ |
if [ `uname` = "SunOS" ]; then \ |
(cd $(GNUPLOT) ; make all LDFLAGS=-lsocket -lnsl ) ; \ |
(cd $(GNUPLOT) ; make all LDFLAGS="-lsocket -lnsl" ) ; \ |
else \ |
else \ |
(cd $(GNUPLOT) ; make all) ; \ |
(cd $(GNUPLOT) ; make all) ; \ |
fi ; \ |
fi ; \ |
|
|
|
|
configure: patch |
configure: patch |
@if [ ! -f $(GNUPLOT)/.configure_done ]; then \ |
@if [ ! -f $(GNUPLOT)/.configure_done ]; then \ |
(cd $(GNUPLOT) ; ./configure --with-x) \ |
(cd $(GNUPLOT) ; ./configure --with-x) ; \ |
fi |
fi |
@touch $(GNUPLOT)/.configure_done |
@touch $(GNUPLOT)/.configure_done |
|
|