Makefile.am 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ## Makefile.am for plotutils.
  2. ## Process this file with automake to produce Makefile.in in all directories.
  3. # plot, tek2plot, plotfont, graph, and hersheydemo are linked with libplot.
  4. # spline, double, and ode are not, however. All use the routines in lib.
  5. #
  6. # pic2plot is written in C++ but is currently linked with libplot, not
  7. # libplotter. (It could easily be modified to use libplotter rather than
  8. # libplot.) We build it only if --enable-libplotter is specified, though;
  9. # which is a bit contradictory.
  10. # Since the libxmi 2D rasterization library is distributed as a separate
  11. # package, by default we don't build and install it as a standalone
  12. # library. (It's always compiled into libplot and libplotter, though.)
  13. if NO_LIBPLOTTER
  14. ADD_LIBPLOTTER =
  15. else
  16. ADD_LIBPLOTTER = pic2plot libplotter
  17. endif
  18. if NO_LIBXMI
  19. ADD_LIBXMI =
  20. else
  21. ADD_LIBXMI = libxmi
  22. endif
  23. SUBDIRS = lib spline double ode ode-examples libplot $(ADD_LIBXMI) plot tek2plot plotfont graph hersheydemo $(ADD_LIBPLOTTER) include info doc fonts test
  24. # files with nonstandard names in this directory
  25. EXTRA_DIST = COMPAT INSTALL.pkg INSTALL.fonts KNOWN_BUGS ONEWS PROBLEMS
  26. # remove files that are symlinks, and shouldn't be part of the
  27. # distribution
  28. dist-hook:
  29. for i in mi_alloc.c mi_api.c mi_arc.c mi_canvas.c mi_fllarc.c mi_fllrct.c mi_fplycon.c mi_gc.c mi_ply.c mi_plycon.c mi_plygen.c mi_plypnt.c mi_plyutil.c mi_spans.c mi_widelin.c mi_zerarc.c mi_zerolin.c mi_version.c; do rm -f $(distdir)/libplot/$$i; done
  30. for i in xmi.h mi_api.h mi_arc.h mi_fllarc.h mi_fply.h mi_gc.h mi_line.h mi_ply.h mi_scanfill.h mi_spans.h mi_widelin.h mi_zerarc.h; do rm -f $(distdir)/libplot/$$i; done
  31. rm -f $(distdir)/libplotter/*.cc
  32. rm -f $(distdir)/libplotter/*.h
  33. for i in graph plot tek2plot plotfont pic2plot; do rm -f $(distdir)/$$i/fontlist.c; done