File: Makefile.am

package info (click to toggle)
plotutils 2.6-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,040 kB
  • sloc: ansic: 68,670; sh: 20,086; cpp: 12,382; yacc: 2,588; makefile: 838; lex: 137
file content (20 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## Process this file with automake to produce Makefile.in

bin_PROGRAMS = plot

plot_SOURCES = plot.c fontlist.c
plot_LDADD = ../lib/libcommon.a ../libplot/libplot.la

INCLUDES = -I$(srcdir)/../include

CLEANFILES = fontlist.c

# remove executables installed by previous versions of the package

OBSOLETEBINS = plot2plot plot2tek plot2hpgl plot2fig plot2ps plot2X

install-exec-hook:
	-for f in $(OBSOLETEBINS) ; do rm -f $(bindir)/$$f; done

fontlist.c: $(top_srcdir)/lib/fontlist.c
	@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