File: Makefile.am

package info (click to toggle)
gnuplot 6.0.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,960 kB
  • sloc: ansic: 95,874; cpp: 7,199; makefile: 2,470; javascript: 2,339; sh: 1,531; lisp: 664; perl: 304; pascal: 191; tcl: 88; python: 46
file content (159 lines) | stat: -rw-r--r-- 7,402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
## Process this file with automake to produce Makefile.in -*-Makefile-*-
AUTOMAKE_OPTIONS = foreign

CLEANFILES = binary1 binary2 binary3 dodecahedron.bin \
defaults.ini equipo2.tmp field2xy.tmp \
soundfit.par temp.set fontfile.ps fontfile_latex.ps epslatex-inc.eps \
epslatex-inc.pdf epslatex.aux epslatex.dvi epslatex.log epslatex.pdf \
random.tmp stringvar.tmp fit.log fitmulti.dat \
epslatex.ps epslatex.tex epslatex-oldstyle.tex epslatex-oldstyle-inc.eps \
latex_demo.log latex_demo.aux latex_cairo.tex latex_pict2e.tex latex_tikz.tex

BINARY_FILES = binary1 binary2 binary3 dodecahedron.bin

SUBDIRS = $(PLUGIN_DIR)

DEMO = all.dem

GNUPLOT = gnuplot

all: $(BINARY_FILES)

$(BINARY_FILES): ../src/bf_test $(top_srcdir)/demo/dodecahedron.dat
	@echo Creating binary data files
	test "$(top_srcdir)" = "$(top_builddir)" || cp $(top_srcdir)/demo/dodecahedron.dat .
	@../src/bf_test
	test "$(top_srcdir)" = "$(top_builddir)" || rm -f ./dodecahedron.dat

check-prepare:

check-local: check-noninteractive

check-interactive: check-prepare $(BINARY_FILES)
	@if test -z "$(GNUTERM)" ; then \
	  ( bdir=`pwd` ; PATH=$$bdir/../src:$$PATH \
	    FIT_LOG="" \
	    GNUPLOT_DRIVER_DIR=$$bdir/../src \
	    GNUPLOT_LIB=$(srcdir) $(GNUPLOT) $(DEMO) ); \
	else \
	  ( bdir=`pwd` ; PATH=$$bdir/../src:$$PATH \
	    FIT_LOG="" \
	    GNUPLOT_DRIVER_DIR=$$bdir/../src \
	    GNUTERM="$(GNUTERM)" \
	    GNUPLOT_LIB=$(srcdir) $(GNUPLOT) $(DEMO) ); \
	fi

check-noninteractive: check-prepare $(BINARY_FILES)
	@if test -z "$(GNUTERM)" ; then \
	  ( bdir=`pwd` ; PATH=$$bdir/../src:$$PATH \
	    FIT_LOG="" \
	    GNUPLOT_DRIVER_DIR=$$bdir/../src \
	    GNUPLOT_LIB=$(srcdir) $(GNUPLOT) $(DEMO) </dev/null ); \
	else \
	  ( bdir=`pwd` ; PATH=$$bdir/../src:$$PATH\
	    FIT_LOG="" \
	    GNUPLOT_DRIVER_DIR=$$bdir/../src \
	    GNUTERM="$(GNUTERM)" \
	    GNUPLOT_LIB=$(srcdir) $(GNUPLOT) $(DEMO) </dev/null ); \
	fi

epslatex:
	@if test -z "$(GNUTERM)" ; then \
	  ( bdir=`pwd` ; PATH=$$bdir/../src:$$PATH \
	    GNUPLOT_DRIVER_DIR=$$bdir/../src \
	    GNUPLOT_LIB=$(srcdir) $(GNUPLOT) epslatex.dem ); \
	else \
	  ( bdir=`pwd` ; PATH=$$bdir/../src:$$PATH \
	    GNUPLOT_DRIVER_DIR=$$bdir/../src \
	    GNUTERM="$(GNUTERM)" \
	    GNUPLOT_LIB=$(srcdir) $(GNUPLOT) epslatex.dem ); \
	fi
	latex epslatex
	dvips epslatex

latex_demo:
	( bdir=`pwd` ; PATH=$$bdir/../src:$$PATH \
	  GNUPLOT_LIB=$(srcdir) $(GNUPLOT) latex_demo.dem )
	latex epslatex
	dvips -E epslatex -o latex_epslatex.eps
	xelatex latex_demo

##m4-files-begin
EXTRA_DIST = Makefile.am.in scatter2.bin sine.bin using.bin gnuplot.cfg \
world.cor 1.dat 2.dat 3.dat antenna.dat arrowstyle.dat asciimat.dat \
battery.dat big_peak.dat candlesticks.dat cities.dat clip14in.dat \
ctg-y2.dat dodecahedron.dat ellipses.dat empty-circles.dat \
energy_circles.dat finance.dat fit3.dat glass.dat hemisphr.dat \
histerror.dat histopt.dat hull.dat icosahedron.dat immigration.dat \
iris.dat klein.dat lcdemo.dat mask_pm3d.dat moli3.dat optimize.dat \
orbital_elements.dat rgb_variable.dat scatter2.dat silver.dat soundvel.dat \
srl.dat steps.dat table.dat timedat.dat triangle.dat truncated_cube.dat \
using.dat whale.dat world.dat WorldEnergy.dat 3Dboxes.dem airfoil.dem \
all.dem animate2.dem animate.dem animation.dem approximate.dem \
argb_hexdata.dem armillary.dem array.dem array_index.dem arrows.dem \
arrowstyle.dem autoscale.dem azimuth.dem barchart_art.dem BesselJ.dem \
BesselK.dem binary.dem binary_polygon.dem bins.dem bivariat.dem \
bolditalic.dem borders.dem boxclusters.dem boxes3d.dem boxplot.dem \
break_continue.dem callargs.dem candlesticks.dem cerf.dem charset.dem \
chi_shapes.dem circles.dem cities.dem clipobject.dem clip_radial.dem \
colornames.dem colorscheme.dem colorwheel.dem columnhead.dem \
complex_airy.dem complex_trig.dem concave_hull.dem contourfill.dem \
contours.dem controls.dem convex_hull.dem custom_contours.dem \
custom_key.dem dashcolor.dem dashtypes.dem datastrings.dem Dawson.dem \
dgrid3d.dem discrete.dem electron.dem ellipse.dem ellipses_style.dem \
elliptic.dem enhancedtext.dem enhanced_utf8.dem epi_data.dem \
epslatex.dem errorbars.dem expint.dem fenceplot.dem fillbetween.dem \
fillcrvs.dem fillstyle.dem finance.dem fit.dem fitmulti.dem fontfile.dem \
Fresnel.dem fs_empty.dem function_block.dem gantt.dem heatmap_4D.dem \
heatmap_points.dem heatmaps.dem hidden2.dem hidden_compare.dem hidden.dem \
histerror.dem histogram_colors.dem histograms2.dem histograms.dem \
hsteps.dem hypertext.dem hypertext_surface.dem ibeta.dem if_filter.dem \
igamma.dem image2.dem image.dem imageNaN.dem int64.dem invibeta.dem \
invigamma.dem iris.dem isosurface.dem iterate.dem iterbugs.dem jitter.dem \
kdensity2d.dem key.dem keyentry.dem label_stacked_histograms.dem \
lambert.dem latex_demo.dem layout.dem lines_arrows.dem \
linked_autoscale.dem linkedaxes.dem lnGamma.dem logic_timing.dem \
logscale_clipping.dem log_tics.dem macros.dem map_projection.dem \
margins.dem mask_image.dem mask_pm3d.dem matrix_every.dem matrix_index.dem \
mgr.dem molecule.dem monotonic_spline.dem mouselab_1.dem mouselab_2.dem \
mouselabels.dem mousevariables.dem multiaxis.dem multipalette.dem \
multiplt.dem mxtics_time.dem named_palettes.dem named_var.dem nokey.dem \
nonlinear1.dem nonlinear2.dem nonlinear3.dem nonlinear4.dem nonlinear5.dem \
nonlinear6.dem orbits.dem overflow.dem palette+alpha.dem parallel.dem \
param.dem piecewise.dem pixmap.dem pm3d_clip.dem pm3dcolors.dem pm3d.dem \
pm3dgamma.dem pm3d_lighting.dem pointsize.dem polar.dem polargrid.dem \
polar_quadrants.dem poldat.dem polygon_border.dem polygons.dem prob2.dem \
prob3.dem probably_tux.dem prob.dem projection.dem pt_variable.dem \
rainbow.dem random.dem rank_sequence.dem rectangle.dem rgba_lines.dem \
rgb_variable.dem rotate_labels.dem rugplot.dem running_avg.dem \
sampling2.dem sampling.dem scatter.dem sectors.dem sharpen.dem \
short_vector.dem simple.dem singulr.dem smooth.dem smooth_path.dem \
smooth_splines.dem solar_params.dem solar_path.dem special_chars.dem \
special_functions.dem spiderplot.dem spline.dem split.dem spotlight.dem \
stats.dem steps.dem stringvar.dem surface1.dem surface2.dem \
surface_explicit.dem synchrotron.dem textbox.dem textcolor.dem \
textrotate.dem tics.dem timedat.dem transparent.dem transparent_solids.dem \
ttics.dem uigamma.dem unicode.dem using.dem utf8.dem varcolor.dem \
vector.dem violinplot.dem viridis.dem volatile.dem voxel.dem \
vplot.dem walls.dem watch_contours.dem watchmouse.dem watchpoints2.dem \
watchpoints.dem waterfallplot.dem week_date.dem windrose.dem world2.dem \
world.dem zerror.dem zeta.dem zsort.dem demo.edf density.fnc hexa.fnc \
line.fnc reflect.fnc gen-random.inc stat.inc GM1_sugar.pdb aries.png \
bldg.png gradient.png icon64x64.png GM1_bonds.r3d blutux.rgb sound.par \
sound2.par start.par gnuplot.rot gnu-valley random-points gpdemos.tcl html 
##m4-files-end

Makefile.am: Makefile.am.in
	rm -f $@ $@t
	sed -n '1,/^##m4-files-begin/p' Makefile.am.in > $@t
	echo EXTRA_DIST = Makefile.am.in *.bin *.cfg *.cor *.dat *.dem *.edf \
	  *.fnc *.inc *.pdb *.png *.r3d *.rgb sound.par sound2.par \
	  start.par *.rot gnu-valley random-points gpdemos.tcl html | fmt | \
	  (tr '\012' @; echo) | sed 's/@$$/%/;s/@/ \\@/g' | tr @% '\012 ' \
	  >> $@t
	sed -n '/^##m4-files-end/,$$p' $< >> $@t
	echo if BUILD_PLUGIN >> $@t
	echo    PLUGIN_DIR = plugin >> $@t
	echo endif >> $@t
	chmod og-w $@t
	mv $@t $@