19
19
# You should have received a copy of the GNU Library General Public License
20
20
# along with the file; if not, write to the Free Software
21
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26
runExtendedDemos.tcl \
25
40
examples_tkdir = $(DATA_DIR)/examples/tk
28
mkindex = $(top_builddir)/scripts/mktclIndex -itcl
43
mkindex = $(top_srcdir)/scripts/mktclIndex -itcl
30
mkindex = $(top_builddir)/scripts/mktclIndex -tcl
45
mkindex = $(top_srcdir)/scripts/mktclIndex -tcl
54
70
### x01.tcl stands symbolically for x??.tcl. If specify $(check_DATA)
55
71
### instead, then for loop below is usually incorrectly repeated for each file
56
72
### in check_DATA (depending on coarseness of timer).
74
$(top_srcdir)/examples/tcl/x01.tcl \
75
$(top_srcdir)/examples/tcl/x02.tcl \
76
$(top_srcdir)/examples/tcl/x03.tcl \
77
$(top_srcdir)/examples/tcl/x04.tcl \
78
$(top_srcdir)/examples/tcl/x05.tcl \
79
$(top_srcdir)/examples/tcl/x06.tcl \
80
$(top_srcdir)/examples/tcl/x07.tcl \
81
$(top_srcdir)/examples/tcl/x08.tcl \
82
$(top_srcdir)/examples/tcl/x09.tcl \
83
$(top_srcdir)/examples/tcl/x10.tcl \
84
$(top_srcdir)/examples/tcl/x11.tcl \
85
$(top_srcdir)/examples/tcl/x12.tcl \
86
$(top_srcdir)/examples/tcl/x13.tcl \
87
$(top_srcdir)/examples/tcl/x14.tcl \
88
$(top_srcdir)/examples/tcl/x15.tcl \
89
$(top_srcdir)/examples/tcl/x16.tcl \
90
$(top_srcdir)/examples/tcl/x17.tcl \
91
$(top_srcdir)/examples/tcl/x18.tcl \
92
$(top_srcdir)/examples/tcl/x19.tcl \
93
$(top_srcdir)/examples/tcl/x22.tcl
94
( cd $(top_srcdir)/examples/tcl ; \
78
95
for file in x??.tcl ; do \
79
rm -f ../tk/$$file; $(LN_S) ../tcl/$$file ../tk/$$file ; \
96
rm -f $(BUILD_DIR)/examples/tk/$$file; $(LN_S) $(top_srcdir)/examples/tcl/$$file $(BUILD_DIR)/examples/tk/$$file ; \
85
runExtendedDemos.tcl \
91
99
dist_examples_tk_DATA = $(data_files)
93
101
nodist_examples_tk_DATA = Makefile.examples tclIndex
98
examples_tk_SCRIPTS = \
106
examples_tk_SCRIPTS = $(tk_scripts)
108
libplplot = $(top_builddir)/src/libplplot$(LIB_TAG).la
104
109
libplplottcltk = $(top_builddir)/bindings/tcl/libplplottcltk$(LIB_TAG).la
106
111
check_PROGRAMS = \
111
cflags = -I$(top_builddir)/bindings/tk -I$(top_builddir)/bindings/tcl $(TCLINCCMD) $(TKINCCMD)
116
cflags = -I$(top_srcdir)/include -I$(top_srcdir)/bindings/tk -I$(top_srcdir)/bindings/tcl $(TCLINCCMD) $(TKINCCMD)
112
117
xtk01_CFLAGS = $(cflags)
113
118
xtk02_CFLAGS = $(cflags)
114
119
xtk04_CFLAGS = $(cflags)
116
xtk01_LDFLAGS = $(libplplottcltk)
117
xtk02_LDFLAGS = $(libplplottcltk)
118
xtk04_LDFLAGS = $(libplplottcltk)
121
xtk01_LDFLAGS = $(libplplot) $(libplplottcltk)
122
xtk02_LDFLAGS = $(libplplot) $(libplplottcltk)
123
xtk04_LDFLAGS = $(libplplot) $(libplplottcltk)
134
EXTRA_DIST = $(data_files) Makefile.examples.in $(examples_tk_SCRIPTS)
139
EXTRA_DIST = $(data_files) Makefile.examples.in $(tk_scripts)
135
140
CLEANFILES = tclIndex $(check_DATA) check_stamp
136
141
DISTCLEANFILES = Makefile.examples