~uhh-ssd/+junk/Probe_Control

« back to all changes in this revision

Viewing changes to plplot/plplot-5.9.9/examples/c/Makefile.examples

  • Committer: Joachim Erfle
  • Date: 2012-06-15 16:09:06 UTC
  • Revision ID: joachim.erfle@desy.de-20120615160906-popdt8a9d8ob1oyw
added stripmeasurements

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# examples/c/Makefile.examples.in for PLplot
 
2
###
 
3
### Process this file with configure to produce Makefile.examples
 
4
###
 
5
# Copyright (C) 2002, 2004  Alan W. Irwin
 
6
# Copyright (C) 2004  Rafael Laboissiere
 
7
# Copyright (C) 2004  Andrew Ross
 
8
#
 
9
# This file is part of PLplot.
 
10
#
 
11
# PLplot is free software; you can redistribute it and/or modify
 
12
# it under the terms of the GNU Library General Public License as published by
 
13
# the Free Software Foundation; version 2 of the License.
 
14
#
 
15
# PLplot is distributed in the hope that it will be useful,
 
16
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
# GNU Library General Public License for more details.
 
19
#
 
20
# You should have received a copy of the GNU Library General Public License
 
21
# along with the file PLplot; if not, write to the Free Software
 
22
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 
23
 
 
24
CC = /usr/bin/gcc
 
25
EXEEXT = 
 
26
 
 
27
LIB_TAG = d
 
28
PKG_CONFIG_ENV = PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 
29
RPATHCMD = -Wl,-rpath -Wl,/usr/local/lib
 
30
 
 
31
#PLPLOTCANVAS_EXECUTABLES_list = \
 
32
#                plplotcanvas_demo$(EXEEXT) \
 
33
#                plplotcanvas_animation$(EXEEXT)
 
34
 
 
35
extXdrawable_EXECUTABLES_list = \
 
36
        extXdrawable_demo$(EXEEXT)
 
37
 
 
38
extcairo_EXECUTABLES_list = \
 
39
        ext-cairo-test$(EXEEXT)
 
40
 
 
41
EXECUTABLES_list = \
 
42
                 x01c$(EXEEXT) \
 
43
                 x02c$(EXEEXT) \
 
44
                 x03c$(EXEEXT) \
 
45
                 x04c$(EXEEXT) \
 
46
                 x05c$(EXEEXT) \
 
47
                 x06c$(EXEEXT) \
 
48
                 x07c$(EXEEXT) \
 
49
                 x08c$(EXEEXT) \
 
50
                 x09c$(EXEEXT) \
 
51
                 x10c$(EXEEXT) \
 
52
                 x11c$(EXEEXT) \
 
53
                 x12c$(EXEEXT) \
 
54
                 x13c$(EXEEXT) \
 
55
                 x14c$(EXEEXT) \
 
56
                 x15c$(EXEEXT) \
 
57
                 x16c$(EXEEXT) \
 
58
                 x17c$(EXEEXT) \
 
59
                 x18c$(EXEEXT) \
 
60
                 x19c$(EXEEXT) \
 
61
                 x20c$(EXEEXT) \
 
62
                 x21c$(EXEEXT) \
 
63
                 x22c$(EXEEXT) \
 
64
                 x23c$(EXEEXT) \
 
65
                 x24c$(EXEEXT) \
 
66
                 x25c$(EXEEXT) \
 
67
                 x26c$(EXEEXT) \
 
68
                 x27c$(EXEEXT) \
 
69
                 x28c$(EXEEXT) \
 
70
                 x29c$(EXEEXT) \
 
71
                 x30c$(EXEEXT) \
 
72
                 x31c$(EXEEXT) \
 
73
                 x32c$(EXEEXT) \
 
74
                 x33c$(EXEEXT) \
 
75
                 $(PLPLOTCANVAS_EXECUTABLES_list) \
 
76
                 $(extXdrawable_EXECUTABLES_list) \
 
77
                 $(extcairo_EXECUTABLES_list)
 
78
 
 
79
all: $(EXECUTABLES_list)
 
80
 
 
81
clean:
 
82
        rm -f $(EXECUTABLES_list)
 
83
 
 
84
#plplotcanvas_demo$(EXEEXT): plplotcanvas_demo.c
 
85
#       $(CC) $< -o $@ $(RPATHCMD) \
 
86
#                       `$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG)-gnome2`
 
87
##      $(CC) $< -o $@ \
 
88
##                      `plplot-config --cflags --libs --with-gcw`
 
89
 
 
90
#plplotcanvas_animation$(EXEEXT): plplotcanvas_animation.c
 
91
#       $(CC) $< -o $@ $(RPATHCMD) \
 
92
#                       `$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG)-gnome2` \
 
93
#                       `pkg-config --cflags --libs gthread-2.0`                        
 
94
##      $(CC) $< -o \
 
95
##                      $@ `plplot-config --cflags --libs --with-gcw` \
 
96
##                       
 
97
 
 
98
extXdrawable_demo$(EXEEXT): extXdrawable_demo.c
 
99
        $(CC) $< -o $@ $(RPATHCMD) \
 
100
        `$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG) gtk+-x11-2.0`
 
101
 
 
102
ext-cairo-test$(EXEEXT): ext-cairo-test.c
 
103
        $(CC) $< -o $@ $(RPATHCMD) \
 
104
        `$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG) cairo`
 
105
 
 
106
.c$(EXEEXT):
 
107
        $(CC) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG)`
 
108
#       $(CC) $< -o $@ `plplot-config --cflags --libs`
 
109
 
 
110
.SUFFIXES: .c $(EXEEXT)