Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Restructured package and added polar plotting

  • Loading branch information...
commit ed26955153aa0156f37350917ee62b30a5645266 1 parent 31d1dfc
@pchilds authored
Showing with 38,875 additions and 253 deletions.
  1. +2 −0  AUTHORS
  2. 0  LICENSE → COPYING
  3. +161 −0 INSTALL
  4. +2 −0  NEWS
  5. +5 −0 PlotLinear/Makefile.am
  6. +9 −0 PlotLinear/configure.ac
  7. +9 −0 PlotLinear/src/Makefile.am
  8. +185 −113 { → PlotLinear/src}/plotlinear0-1-0.c
  9. 0  { → PlotLinear/src}/plotlinear0-1-0.h
  10. +88 −48 { → PlotLinear/src}/plotlinearboth0-1-0.c
  11. 0  { → PlotLinear/src}/plotlinearboth0-1-0.h
  12. +88 −48 { → PlotLinear/src}/plotlinearlines0-1-0.c
  13. 0  { → PlotLinear/src}/plotlinearlines0-1-0.h
  14. 0  { → PlotLinear/src}/plotlinearpoints0-1-0.c
  15. 0  { → PlotLinear/src}/plotlinearpoints0-1-0.h
  16. 0  { → PlotLinear/src}/testplotlinear0-1-0.c
  17. 0  { → PlotLinear/src}/testplotlinear0-1-0.h
  18. BIN  PlotLinear/testplotlinear
  19. +5 −0 PlotLog/Makefile.am
  20. +9 −0 PlotLog/configure.ac
  21. +13 −0 PlotLog/src/Makefile.am
  22. 0  { → PlotLog/src}/plotlinearlog0-1-0.h
  23. 0  { → PlotLog/src}/plotlinearlogboth0-1-0.h
  24. 0  { → PlotLog/src}/plotlinearloglines0-1-0.h
  25. 0  { → PlotLog/src}/plotlinearlogpoints0-1-0.h
  26. 0  { → PlotLog/src}/plotloglinear0-1-0.h
  27. 0  { → PlotLog/src}/plotloglinearboth0-1-0.h
  28. 0  { → PlotLog/src}/plotloglinearlines0-1-0.h
  29. 0  { → PlotLog/src}/plotloglinearpoints0-1-0.h
  30. 0  { → PlotLog/src}/plotloglog0-1-0.h
  31. 0  { → PlotLog/src}/plotloglogboth0-1-0.h
  32. 0  { → PlotLog/src}/plotlogloglines0-1-0.h
  33. 0  { → PlotLog/src}/plotloglogpoints0-1-0.h
  34. +677 −0 PlotPolar/Makefile
  35. +5 −0 PlotPolar/Makefile.am
  36. +677 −0 PlotPolar/Makefile.in
  37. +1,109 −0 PlotPolar/aclocal.m4
  38. +4,690 −0 PlotPolar/autom4te.cache/output.0
  39. +4,690 −0 PlotPolar/autom4te.cache/output.1
  40. +141 −0 PlotPolar/autom4te.cache/requests
  41. +840 −0 PlotPolar/autom4te.cache/traces.0
  42. +337 −0 PlotPolar/autom4te.cache/traces.1
  43. +26 −0 PlotPolar/config.h
  44. +25 −0 PlotPolar/config.h.in
  45. +291 −0 PlotPolar/config.log
  46. +1,172 −0 PlotPolar/config.status
  47. +4,690 −0 PlotPolar/configure
  48. +9 −0 PlotPolar/configure.ac
  49. +630 −0 PlotPolar/depcomp
  50. +520 −0 PlotPolar/install-sh
  51. +376 −0 PlotPolar/missing
  52. +1,448 −0 PlotPolar/src/.deps/plotpolar0-1-0.Po
  53. +1,446 −0 PlotPolar/src/.deps/testplotpolar0-1-0.Po
  54. +459 −0 PlotPolar/src/Makefile
  55. +9 −0 PlotPolar/src/Makefile.am
  56. +459 −0 PlotPolar/src/Makefile.in
  57. BIN  PlotPolar/src/TestPolarPlot
  58. +3,891 −0 PlotPolar/src/plotpolar0-0-8.c
  59. +4,378 −0 PlotPolar/src/plotpolar0-1-0.c
  60. +4,378 −0 PlotPolar/src/plotpolar0-1-0.c~
  61. +70 −0 PlotPolar/src/plotpolar0-1-0.h
  62. +6 −12 plotpolar0-1-0.h → PlotPolar/src/plotpolar0-1-0.h~
  63. BIN  PlotPolar/src/plotpolar0-1-0.o
  64. +6 −12 { → PlotPolar/src}/plotpolarboth0-1-0.h
  65. +6 −10 { → PlotPolar/src}/plotpolarlines0-1-0.h
  66. +6 −10 { → PlotPolar/src}/plotpolarpoints0-1-0.h
  67. +247 −0 PlotPolar/src/testplotpolar0-1-0.c
  68. +247 −0 PlotPolar/src/testplotpolar0-1-0.c~
  69. +26 −0 PlotPolar/src/testplotpolar0-1-0.h
  70. +26 −0 PlotPolar/src/testplotpolar0-1-0.h~
  71. BIN  PlotPolar/src/testplotpolar0-1-0.o
  72. +1 −0  PlotPolar/stamp-h1
  73. BIN  PlotPolar/testplotpolar
  74. +243 −0 PlotPolar/testplotpolar0-1-0.c~
  75. +26 −0 PlotPolar/testplotpolar0-1-0.h~
  76. +16 −0 TODO
  77. BIN  testplotlinear
View
2  AUTHORS
@@ -0,0 +1,2 @@
+Paul Childs <p.childs@physics.org>
+
View
0  LICENSE → COPYING
File renamed without changes
View
161 INSTALL
@@ -0,0 +1,161 @@
+Basic Installation
+==================
+
+ These are more or less generic installation instructions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.
+
+ The file `configure.in' is used to create `configure' by a program
+called `autoconf'. You only need `configure.in' if you want to change
+it or regenerate `configure' using a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory named according to the desired plotting
+ function (e.g. /PlotPolar) and type `./configure' to configure the
+ package for your system. If you're using `csh' on an old version
+ of System V, you might need to type `sh ./configure' instead to
+ prevent `csh' from trying to execute `configure' itself. While
+ running, configure prints some messages telling which features it
+ is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+Alternately the following should work with gcc:
+
+ cd src
+ gcc -o testplotpolar testplotpolar0-1-0.c \
+ `pkg-config --cflags --libs gtk+-2.0` \
+ plotpolar0-1-0.h plotpolar0-1-0.c
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. You can give `configure'
+initial values for variables by setting them in the environment. Using
+a Bourne-compatible shell, you can do that on the command line like
+this:
+ CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+
+Or on systems that have the `env' program, you can do it like this:
+ env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ If you have to use a `make' that does not supports the `VPATH'
+variable, you have to compile the package for one architecture at a time
+in the source code directory. After you have installed the package for
+one architecture, use `make distclean' before reconfiguring for another
+architecture.
+
+Optional Features
+=================
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' can not figure out
+automatically, but needs to determine by the type of host the package
+will run on. Usually `configure' can figure that out, but if it prints
+a message saying it can not guess the host type, give it the
+`--host=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name with three fields:
+ CPU-COMPANY-SYSTEM
+
+See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the host type.
+
+ If you are building compiler tools for cross-compiling, you can also
+use the `--target=TYPE' option to select the type of system they will
+produce code for and the `--build=TYPE' option to select the type of
+system on which you are compiling the package.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Operation Controls
+==================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--cache-file=FILE'
+ Use and save the results of the tests in FILE instead of
+ `./config.cache'. Set FILE to `/dev/null' to disable caching, for
+ debugging `configure'.
+
+`--help'
+ Print a summary of the options to `configure', and exit.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`--version'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`configure' also accepts some other, not widely useful, options.
+
View
2  NEWS
@@ -0,0 +1,2 @@
+
+
View
5 PlotLinear/Makefile.am
@@ -0,0 +1,5 @@
+## Process this file with automake to produce Makefile.in
+SUBDIRS=src
+EXTRA_DIST= \
+ autogen.sh
+
View
9 PlotLinear/configure.ac
@@ -0,0 +1,9 @@
+AC_PREREQ([2.65])
+AC_INIT([GtkPlot],[0.1.0],[pchilds@physics.org],[gtk-plot],[https://github.com/pchilds/GtkPlot])
+AC_CONFIG_SRCDIR([src/testplotlinear0-1-0.h])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AC_PROG_CC([gcc cc])
+AC_CONFIG_HEADERS([config.h])
+PKG_CHECK_MODULES([LIN], [gtk+-2.0 >= 2.14])
+AC_CONFIG_FILES([Makefile src/Makefile])
+AC_OUTPUT()
View
9 PlotLinear/src/Makefile.am
@@ -0,0 +1,9 @@
+## Process this file with automake to produce Makefile.in
+AM_CFLAGS=$(LIN_CFLAGS)
+bin_PROGRAMS=TestLinearPlot
+TestLinearPlot_SOURCES= \
+ testplotlinear0-1-0.c \
+ plotlinear0-1-0.c \
+ testplotlinear0-1-0.h \
+ plotlinear0-1-0.h
+TestLinearPlot_LDADD=$(LIN_LIBS)
View
298 plotlinear0-1-0.c → PlotLinear/src/plotlinear0-1-0.c
@@ -32,7 +32,7 @@
#include <gtk/gtk.h>
#include <math.h>
-#include <cairo-ps.h>
+#include<cairo-ps.h>
#include "plotlinear0-1-0.h"
#define PLOT_LINEAR_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), PLOT_TYPE_LINEAR, PlotLinearPrivate))
@@ -454,10 +454,10 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
}
}
- priv->range.xj=xl;
- priv->range.yj=yu;
- priv->range.xn=xu;
- priv->range.yn=yl;
+ (priv->range.xj)=xl;
+ (priv->range.yj)=yu;
+ (priv->range.xn)=xu;
+ (priv->range.yn)=yl;
cairo_set_source_rgb(cr, 0, 0, 0);
cairo_set_line_width(cr, 2);
cairo_move_to(cr, 0, ya);
@@ -1731,14 +1731,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1750,14 +1755,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
cairo_stroke(cr);
xs=1;
@@ -1798,14 +1808,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1817,14 +1832,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yl-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
cairo_stroke(cr);
xs=1;
@@ -1910,14 +1930,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1929,14 +1954,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
cairo_stroke(cr);
xs=1;
@@ -1977,14 +2007,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1996,14 +2031,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yl-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
cairo_stroke(cr);
xs=1;
@@ -2184,14 +2224,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -2199,14 +2244,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
xs=1;
}
@@ -2241,14 +2291,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -2256,14 +2311,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yl-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
xs=1;
}
@@ -2333,14 +2393,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -2348,14 +2413,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
xs=1;
}
@@ -2390,14 +2460,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -2405,14 +2480,19 @@ static void draw(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yl-yv))/(yvn-yv);
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
xs=1;
}
@@ -3009,11 +3089,7 @@ static gboolean plot_linear_button_press(GtkWidget *widget, GdkEventButton *even
else
{
d=(event->x)-(priv->range.xj);
- if (d>0)
- {
- (priv->flagr)=1;
- (priv->rescale.xmin)+=(((priv->bounds.xmax)-(priv->bounds.xmin))*d)/((priv->range.xn)-(priv->range.xj));
- }
+ if (d>0) {(priv->rescale.xmin)+=(((priv->bounds.xmax)-(priv->bounds.xmin))*d)/((priv->range.xn)-(priv->range.xj)); (priv->flagr)=1;}
}
}
if (((plot->zmode)&12)!=0)
@@ -3022,11 +3098,7 @@ static gboolean plot_linear_button_press(GtkWidget *widget, GdkEventButton *even
else
{
d=(priv->range.yn)-(event->y);
- if (d>0)
- {
- (priv->flagr)=1;
- (priv->rescale.ymin)+=(((priv->bounds.ymax)-(priv->bounds.ymin))*d)/((priv->range.yn)-(priv->range.yj));
- }
+ if (d>0) {(priv->rescale.ymin)+=(((priv->bounds.ymax)-(priv->bounds.ymin))*d)/((priv->range.yn)-(priv->range.yj)); (priv->flagr)=1;}
}
}
}
@@ -3085,7 +3157,7 @@ static gboolean plot_linear_button_release(GtkWidget *widget, GdkEventButton *ev
if (d>0) (priv->rescale.ymax)-=(((priv->bounds.ymax)-(priv->bounds.ymin))*d)/((priv->range.yn)-(priv->range.yj));
}
}
- if (((plot->zmode)&1)==0)
+ if (((plot->zmode)&1)==0) /* move checks into updatepretty */
{
if ((priv->rescale.xmax)>(priv->rescale.xmin))
{
@@ -3195,7 +3267,7 @@ static gboolean plot_linear_button_release(GtkWidget *widget, GdkEventButton *ev
}
else if ((event->y)<=10)
{
- xw=widget->allocation.width;
+ xw=(widget->allocation.width);
if ((event->x)>=xw-20)
{
if ((event->x)>xw-10) {(plot->zmode)^=1; plot_linear_redraw(widget);}
View
0  plotlinear0-1-0.h → PlotLinear/src/plotlinear0-1-0.h
File renamed without changes
View
136 plotlinearboth0-1-0.c → PlotLinear/src/plotlinearboth0-1-0.c
@@ -1726,14 +1726,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1745,14 +1750,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
cairo_stroke(cr);
xs=1;
@@ -1793,14 +1803,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1812,14 +1827,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yl-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
cairo_stroke(cr);
xs=1;
@@ -1905,14 +1925,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1924,14 +1949,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
cairo_stroke(cr);
xs=1;
@@ -1972,14 +2002,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1991,14 +2026,19 @@ static void draw_both(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yl-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
cairo_stroke(cr);
xs=1;
View
0  plotlinearboth0-1-0.h → PlotLinear/src/plotlinearboth0-1-0.h
File renamed without changes
View
136 plotlinearlines0-1-0.c → PlotLinear/src/plotlinearlines0-1-0.c
@@ -1721,14 +1721,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1736,14 +1741,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
xs=1;
}
@@ -1778,14 +1788,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xu, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xu, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1793,14 +1808,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xu, yv);
else
{
- tx=((yvn-yv)*(xu-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xu, tx);
+ tx=((xvn-xv)*(yl-yv))/tx;
+ tx+=xv;
+ if ((tx<=xu)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xu-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xu, tx);
+ }
}
xs=1;
}
@@ -1870,14 +1890,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_move_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1885,14 +1910,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yu-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yu-yv))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_line_to(cr, tx, yu);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
xs=1;
}
@@ -1927,14 +1957,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
{
if (xs==1)
{
- tx=((xvn-xv)*(yv-yl))/(yv-yvn); /* divide by zero handling? */
- tx+=xv;
- if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_move_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_move_to(cr, xl, tx);
+ tx=((xvn-xv)*(yv-yl))/tx;
+ tx+=xv;
+ if ((tx>=xl)&&(yvn<yv)) cairo_move_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_move_to(cr, xl, tx);
+ }
}
}
cairo_line_to(cr, xvn, yvn);
@@ -1942,14 +1977,19 @@ static void draw_lines(GtkWidget *widget, cairo_t *cr)
}
else if (xs==0)
{
- tx=((xvn-xv)*(yl-yv))/(yvn-yv);
- tx+=xv;
- if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ tx=yvn-yv;
+ if ((tx<DZE)&&(tx>NZE)) cairo_line_to(cr, xl, yv);
else
{
- tx=((yvn-yv)*(xl-xv))/(xvn-xv);
- tx+=yv;
- cairo_line_to(cr, xl, tx);
+ tx=((xvn-xv)*(yl-yv))/(yvn-yv);
+ tx+=xv;
+ if ((tx>=xl)&&(yvn>yv)) cairo_line_to(cr, tx, yl);
+ else
+ {
+ tx=((yvn-yv)*(xl-xv))/(xvn-xv);
+ tx+=yv;
+ cairo_line_to(cr, xl, tx);
+ }
}
xs=1;
}
View
0  plotlinearlines0-1-0.h → PlotLinear/src/plotlinearlines0-1-0.h
File renamed without changes
View
0  plotlinearpoints0-1-0.c → PlotLinear/src/plotlinearpoints0-1-0.c
File renamed without changes
View
0  plotlinearpoints0-1-0.h → PlotLinear/src/plotlinearpoints0-1-0.h
File renamed without changes
View
0  testplotlinear0-1-0.c → PlotLinear/src/testplotlinear0-1-0.c
File renamed without changes
View
0  testplotlinear0-1-0.h → PlotLinear/src/testplotlinear0-1-0.h
File renamed without changes
View
BIN  PlotLinear/testplotlinear
Binary file not shown
View
5 PlotLog/Makefile.am
@@ -0,0 +1,5 @@
+## Process this file with automake to produce Makefile.in
+SUBDIRS=src
+EXTRA_DIST= \
+ autogen.sh
+
View
9 PlotLog/configure.ac
@@ -0,0 +1,9 @@
+AC_PREREQ([2.65])
+AC_INIT([GtkPlot],[0.1.0],[pchilds@physics.org],[gtk-plot],[https://github.com/pchilds/GtkPlot])
+AC_CONFIG_SRCDIR([src/testplotlog0-1-0.h])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AC_PROG_CC([gcc cc])
+AC_CONFIG_HEADERS([config.h])
+PKG_CHECK_MODULES([LOG], [gtk+-2.0 >= 2.14])
+AC_CONFIG_FILES([Makefile src/Makefile])
+AC_OUTPUT()
View
13 PlotLog/src/Makefile.am
@@ -0,0 +1,13 @@
+## Process this file with automake to produce Makefile.in
+AM_CFLAGS=$(LOG_CFLAGS)
+bin_PROGRAMS=TestLogPlot
+TestLogPlot_SOURCES= \
+ testplotlog0-1-0.c \
+ plotloglog0-1-0.c \
+ plotloglinear0-1-0.c \
+ plotlinearlog0-1-0.c \
+ testplotlog0-1-0.h \
+ plotloglog0-1-0.h \
+ plotloglinear0-1-0.h \
+ plotlinearlog0-1-0.h
+TestLogPlot_LDADD=$(LOG_LIBS)
View
0  plotlinearlog0-1-0.h → PlotLog/src/plotlinearlog0-1-0.h
File renamed without changes
View
0  plotlinearlogboth0-1-0.h → PlotLog/src/plotlinearlogboth0-1-0.h
File renamed without changes
View
0  plotlinearloglines0-1-0.h → PlotLog/src/plotlinearloglines0-1-0.h
File renamed without changes
View
0  plotlinearlogpoints0-1-0.h → PlotLog/src/plotlinearlogpoints0-1-0.h
File renamed without changes
View
0  plotloglinear0-1-0.h → PlotLog/src/plotloglinear0-1-0.h
File renamed without changes
View
0  plotloglinearboth0-1-0.h → PlotLog/src/plotloglinearboth0-1-0.h
File renamed without changes
View
0  plotloglinearlines0-1-0.h → PlotLog/src/plotloglinearlines0-1-0.h
File renamed without changes
View
0  plotloglinearpoints0-1-0.h → PlotLog/src/plotloglinearpoints0-1-0.h
File renamed without changes
View
0  plotloglog0-1-0.h → PlotLog/src/plotloglog0-1-0.h
File renamed without changes
View
0  plotloglogboth0-1-0.h → PlotLog/src/plotloglogboth0-1-0.h
File renamed without changes
View
0  plotlogloglines0-1-0.h → PlotLog/src/plotlogloglines0-1-0.h
File renamed without changes
View
0  plotloglogpoints0-1-0.h → PlotLog/src/plotloglogpoints0-1-0.h
File renamed without changes
View
677 PlotPolar/Makefile
@@ -0,0 +1,677 @@
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+pkgdatadir = $(datadir)/gtk-plot
+pkgincludedir = $(includedir)/gtk-plot
+pkglibdir = $(libdir)/gtk-plot
+pkglibexecdir = $(libexecdir)/gtk-plot
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = .
+DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(top_srcdir)/configure depcomp install-sh missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+ distdir dist dist-all distcheck
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ { test ! -d "$(distdir)" \
+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -fr "$(distdir)"; }; }
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = ${SHELL} /home/iona/Documents/program/GtkPlot/PlotPolar/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/iona/Documents/program/GtkPlot/PlotPolar/missing --run tar
+AUTOCONF = ${SHELL} /home/iona/Documents/program/GtkPlot/PlotPolar/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/iona/Documents/program/GtkPlot/PlotPolar/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/iona/Documents/program/GtkPlot/PlotPolar/missing --run automake-1.11
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPPFLAGS =
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EXEEXT =
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /home/iona/Documents/program/GtkPlot/PlotPolar/missing --run makeinfo
+MKDIR_P = /bin/mkdir -p
+OBJEXT = o
+PACKAGE = gtk-plot
+PACKAGE_BUGREPORT = pchilds@physics.org
+PACKAGE_NAME = GtkPlot
+PACKAGE_STRING = GtkPlot 0.1.0
+PACKAGE_TARNAME = gtk-plot
+PACKAGE_URL = https://github.com/pchilds/GtkPlot
+PACKAGE_VERSION = 0.1.0
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+POL_CFLAGS = -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
+POL_LIBS = -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
+SET_MAKE =
+SHELL = /bin/bash
+STRIP =
+VERSION = 0.1.0
+abs_builddir = /home/iona/Documents/program/GtkPlot/PlotPolar
+abs_srcdir = /home/iona/Documents/program/GtkPlot/PlotPolar
+abs_top_builddir = /home/iona/Documents/program/GtkPlot/PlotPolar
+abs_top_srcdir = /home/iona/Documents/program/GtkPlot/PlotPolar
+ac_ct_CC = gcc
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build_alias =
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host_alias =
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/iona/Documents/program/GtkPlot/PlotPolar/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = /bin/mkdir -p
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix =
+top_builddir = .
+top_srcdir = .
+SUBDIRS = src
+EXTRA_DIST = \
+ autogen.sh
+
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+am--refresh:
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+ $(am__remove_distdir)
+
+dist-lzma: distdir
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
+ $(am__remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
+ $(am__remove_distdir)
+
+dist-tarZ: distdir
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__remove_distdir)
+
+dist-shar: distdir
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__remove_distdir)
+
+dist dist-all: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lzma*) \
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
+ mkdir $(distdir)/_build
+ mkdir $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @$(am__cd) '$(distuninstallcheck_dir)' \
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile config.h
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
+ ctags-recursive install-am install-strip tags-recursive
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am am--refresh check check-am clean clean-generic \
+ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
+ dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
+ distclean distclean-generic distclean-hdr distclean-tags \
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
View
5 PlotPolar/Makefile.am
@@ -0,0 +1,5 @@
+## Process this file with automake to produce Makefile.in
+SUBDIRS=src
+EXTRA_DIST= \
+ autogen.sh
+
View
677 PlotPolar/Makefile.in
@@ -0,0 +1,677 @@
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = .
+DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(top_srcdir)/configure depcomp install-sh missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+ distdir dist dist-all distcheck
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ { test ! -d "$(distdir)" \
+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -fr "$(distdir)"; }; }
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EXEEXT = @EXEEXT@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+POL_CFLAGS = @POL_CFLAGS@
+POL_LIBS = @POL_LIBS@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+SUBDIRS = src
+EXTRA_DIST = \
+ autogen.sh
+
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+am--refresh:
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+ $(am__remove_distdir)
+
+dist-lzma: distdir
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
+ $(am__remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
+ $(am__remove_distdir)
+
+dist-tarZ: distdir
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__remove_distdir)
+
+dist-shar: distdir
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__remove_distdir)
+
+dist dist-all: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lzma*) \
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
+ mkdir $(distdir)/_build
+ mkdir $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @$(am__cd) '$(distuninstallcheck_dir)' \
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2