~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to examples/tk/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#
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
 
22
 
 
23
data_files = \
 
24
        README.tkdemos \
 
25
        runAllDemos.tcl \
 
26
        runExtendedDemos.tcl \
 
27
        tkdemos.tcl \
 
28
        xtk01.c \
 
29
        xtk02.c \
 
30
        xtk04.c
 
31
 
 
32
tk_scripts = \
 
33
        tk01 \
 
34
        tk02 \
 
35
        tk03 \
 
36
        tk04
22
37
 
23
38
if enable_tk
24
39
 
25
40
examples_tkdir = $(DATA_DIR)/examples/tk
26
41
 
27
42
if enable_itcl
28
 
mkindex = $(top_builddir)/scripts/mktclIndex -itcl
 
43
mkindex = $(top_srcdir)/scripts/mktclIndex -itcl
29
44
else
30
 
mkindex = $(top_builddir)/scripts/mktclIndex -tcl
 
45
mkindex = $(top_srcdir)/scripts/mktclIndex -tcl
31
46
endif
32
47
 
33
48
check_DATA = \
49
64
        x16.tcl \
50
65
        x17.tcl \
51
66
        x18.tcl \
52
 
        x19.tcl
 
67
        x19.tcl \
 
68
        x22.tcl
53
69
 
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).
57
73
x01.tcl: \
58
 
        ../tcl/x01.tcl \
59
 
        ../tcl/x02.tcl \
60
 
        ../tcl/x03.tcl \
61
 
        ../tcl/x04.tcl \
62
 
        ../tcl/x05.tcl \
63
 
        ../tcl/x06.tcl \
64
 
        ../tcl/x07.tcl \
65
 
        ../tcl/x08.tcl \
66
 
        ../tcl/x09.tcl \
67
 
        ../tcl/x10.tcl \
68
 
        ../tcl/x11.tcl \
69
 
        ../tcl/x12.tcl \
70
 
        ../tcl/x13.tcl \
71
 
        ../tcl/x14.tcl \
72
 
        ../tcl/x15.tcl \
73
 
        ../tcl/x16.tcl \
74
 
        ../tcl/x17.tcl \
75
 
        ../tcl/x18.tcl \
76
 
        ../tcl/x19.tcl
77
 
        ( cd ../tcl ; \
 
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 ; \
80
97
          done )
81
98
 
82
 
data_files = \
83
 
        README.tkdemos \
84
 
        runAllDemos.tcl \
85
 
        runExtendedDemos.tcl \
86
 
        tkdemos.tcl \
87
 
        xtk01.c \
88
 
        xtk02.c \
89
 
        xtk04.c
90
 
 
91
99
dist_examples_tk_DATA = $(data_files)
92
100
 
93
101
nodist_examples_tk_DATA = Makefile.examples tclIndex
94
102
 
95
 
tclIndex:
 
103
tclIndex: x01.tcl
96
104
        $(mkindex)
97
105
 
98
 
examples_tk_SCRIPTS = \
99
 
        tk01 \
100
 
        tk02 \
101
 
        tk03 \
102
 
        tk04
 
106
examples_tk_SCRIPTS = $(tk_scripts)
103
107
 
 
108
libplplot = $(top_builddir)/src/libplplot$(LIB_TAG).la
104
109
libplplottcltk = $(top_builddir)/bindings/tcl/libplplottcltk$(LIB_TAG).la
105
110
 
106
111
check_PROGRAMS = \
108
113
        xtk02 \
109
114
        xtk04
110
115
 
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)
115
120
 
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)
119
124
 
120
125
# enable_tk
121
126
endif
131
136
          done )
132
137
endif
133
138
 
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
137
142