1
# examples/tk/Makefile.examples.in for PLplot
3
### Process this file with configure to produce Makefile.examples
5
# Copyright (C) 2002, 2004 Alan W. Irwin
6
# Copyright (C) 2004 Rafael Laboissiere
8
# This file is part of PLplot.
10
# PLplot is free software; you can redistribute it and/or modify
11
# it under the terms of the GNU Library General Public License as published by
12
# the Free Software Foundation; version 2 of the License.
14
# PLplot is distributed in the hope that it will be useful,
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# GNU Library General Public License for more details.
19
# You should have received a copy of the GNU Library General Public License
20
# along with the file PLplot; if not, write to the Free Software
21
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26
@pkg_config_true@LIB_TAG = @LIB_TAG@
27
@pkg_config_true@PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
28
@pkg_config_true@RPATHCMD = @RPATHCMD@
30
EXECUTABLES_list = xtk01$(EXEEXT)
31
# Second and fourth examples depend on itk.
32
@itk_true@itk_EXECUTABLES_list = xtk02$(EXEEXT) xtk04$(EXEEXT)
34
all: $(EXECUTABLES_list) $(itk_EXECUTABLES_list)
37
rm -f $(EXECUTABLES_list) $(itk_EXECUTABLES_list)
40
@pkg_config_true@ $(CC) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG)-tcl`
41
@pkg_config_false@ $(CC) $< -o $@ `plplot-config --cflags --libs --with-tcl`
43
.SUFFIXES: .c $(EXEEXT)