Makefile.am 868 B

12345678910111213141516171819202122232425
  1. ## Process this file with automake to produce Makefile.in
  2. bin_PROGRAMS = graph
  3. graph_SOURCES = graph.c misc.c linemode.c reader.c plotter.c fontlist.c
  4. graph_LDADD = ../lib/libcommon.a ../libplot/libplot.la
  5. noinst_HEADERS = extern.h
  6. INCLUDES = -I$(srcdir)/../include
  7. CLEANFILES = fontlist.c
  8. # remove executables installed by previous versions of the package, and
  9. # remove obsolete library versions too
  10. OBSOLETEBINS = graph-tek graph-hpgl graph-fig graph-ps graph-X
  11. OBSOLETELIBS = libplottek.a libplothpgl.a libplotfig.a libplotps.a libplotX.a
  12. install-exec-hook:
  13. -for f in $(OBSOLETEBINS) ; do rm -f $(bindir)/$$f; done
  14. -for f in $(OBSOLETELIBS) ; do rm -f $(libdir)/$$f; done
  15. fontlist.c: $(top_srcdir)/lib/fontlist.c
  16. @rm -f fontlist.c ; if $(LN_S) $(top_srcdir)/lib/fontlist.c fontlist.c ; then true ; else cp -p $(top_srcdir)/lib/fontlist.c fontlist.c ; fi