diff options
| author | Thierry Thomas <thierry@FreeBSD.org> | 2004-06-10 20:51:46 +0000 |
|---|---|---|
| committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-06-10 20:51:46 +0000 |
| commit | 9a8eb4106b822c8b7d22c55cc097ef05778ee764 (patch) | |
| tree | 245a0eb61892207feb024e5907dbb308920c3b02 /graphics/SciPlot/files/patch-Imakefile | |
| parent | Unbreak. (diff) | |
Add SciPlot 1.36, a full-featured Xt widget to display 2D data in a
graph.
Diffstat (limited to 'graphics/SciPlot/files/patch-Imakefile')
| -rw-r--r-- | graphics/SciPlot/files/patch-Imakefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/graphics/SciPlot/files/patch-Imakefile b/graphics/SciPlot/files/patch-Imakefile new file mode 100644 index 000000000000..438d9b70803c --- /dev/null +++ b/graphics/SciPlot/files/patch-Imakefile @@ -0,0 +1,61 @@ +--- Imakefile.orig Thu Sep 5 04:32:58 1996 ++++ Imakefile Wed Jun 9 17:27:01 2004 +@@ -1,3 +1,4 @@ ++# $FreeBSD$ + XCOMM Imakefile for widget demo programs + + #ifdef LinuxArchitecture +@@ -17,10 +18,10 @@ + CC = cc -std1 + #endif + +-MOTIF = $(LESSTIF) -lXm ++# MOTIF = $(LESSTIF) -lXm + + MOTIFDEPS = $(DEPXMLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) +-MOTIFLIBS = $(MOTIF) $(XMULIB) $(XTOOLLIB) $(XLIB) ++# MOTIFLIBS = $(MOTIF) $(XMULIB) $(XTOOLLIB) $(XLIB) + SYS_LIBRARIES = -lm + CDEBUGFLAGS = + +@@ -28,6 +29,9 @@ + PROGRAMS = sciplot realtime + TARFILE = sciplot + ++SONUM = 0 ++SONAME = $(LIBNAME).so ++ + SRCS = SciPlot.c SciPlotUtil.c xyplot.c realtime.c + HDRS = SciPlot.h SciPlotP.h SciPlotUtil.h + OBJS = $(SRCS:.c=.o) +@@ -54,10 +58,10 @@ + $(HDOC) $*.hdoc > $*.html + + +-AllTarget(sciplot realtime) ++AllTarget(sciplot realtime libs) + +-NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) +-NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) ++NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIB),$(SYS_LIBRARIES)) ++NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIB),$(SYS_LIBRARIES)) + + doc: $(HOBJS) $(HDOC) + @echo "Updated html." +@@ -79,9 +83,16 @@ + tar cfv $(TARFILE).tar $(TARFILES) + compress $(TARFILE).tar + ++libs: $(PLOTOBJS) ++ $(AR) $(LIBNAME).a $(WIDGET).o $(WIDGET)Util.o ++ $(RANLIB) $(LIBNAME).a ++ $(CC) $(SHLIBLDFLAGS) -o $(SONAME).$(SONUM) $(WIDGET).o $(WIDGET)Util.o \ ++ $(LDFLAGS) $(MOTIFLIB) $(LDLIBS) ++ + # Dependencies: + + SciPlot.o: SciPlot.c SciPlotP.h SciPlot.h + SciPlotUtil.o: SciPlotUtil.c SciPlotUtil.h + xyplot.o: xyplot.c SciPlot.h SciPlotUtil.h + realtime.o: realtime.c SciPlot.h SciPlotUtil.h ++libsciplot.a: SciPlot.h SciPlotP.h SciPlotUtil.h SciPlot.c SciPlotUtil.c |
