source: trunk/third/libgtop/examples/Makefile.am @ 18272

Revision 18272, 4.0 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18271, which included commits to RCS files with non-trunk default branches.
Line 
1## Process this file with automake to produce Makefile.in
2
3LINK                    = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
4
5INCLUDES                = @INCLUDES@
6
7DEFS                    = @DEFS@
8
9# We install it in `libexec' since this will make it more easy
10# to put the examples into an extra RPM package.
11
12libgtopdir              = $(libexecdir)/libgtop
13
14libgtop_PROGRAMS        = first second\
15                          mountlist procmap netload sysdeps timings \
16                          @static_targets@ @guile_examples@ @smp_examples@
17
18EXTRA_PROGRAMS          = first_static second_static \
19                          mountlist_static procmap_static \
20                          third third_static smp smp_static \
21                          netload_static sysdeps_static \
22                          timings_static
23
24first_SOURCES           = first.c
25first_LDADD             = $(top_builddir)/lib/libgtop-2.0.la \
26                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
27                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
28                          @LIBSUPPORT@ @INTLLIBS@
29
30first_static_SOURCES    = $(first_SOURCES)
31first_static_LDADD      = $(first_LDADD)
32first_static_LDFLAGS    = -static
33
34second_SOURCES          = second.c
35second_LDADD            = $(top_builddir)/lib/libgtop-2.0.la \
36                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
37                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
38                          @LIBSUPPORT@ @INTLLIBS@
39
40second_static_SOURCES   = $(second_SOURCES)
41second_static_LDADD     = $(second_LDADD)
42second_static_LDFLAGS   = -static
43
44procmap_SOURCES         = procmap.c
45procmap_LDADD           = $(top_builddir)/lib/libgtop-2.0.la \
46                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
47                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
48                          @LIBSUPPORT@ @INTLLIBS@
49
50
51
52procmap_static_SOURCES  = $(procmap_SOURCES)
53procmap_static_LDADD    = $(procmap_LDADD)
54procmap_static_LDFLAGS  = -static
55
56netload_SOURCES         = netload.c
57netload_LDADD           = $(top_builddir)/lib/libgtop-2.0.la \
58                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
59                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
60                          @LIBSUPPORT@ @INTLLIBS@
61
62netload_static_SOURCES  = $(netload_SOURCES)
63netload_static_LDADD    = $(netload_LDADD)
64netload_static_LDFLAGS  = -static
65
66sysdeps_SOURCES         = sysdeps.c
67sysdeps_LDADD           = $(top_builddir)/lib/libgtop-2.0.la \
68                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
69                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
70                          @LIBSUPPORT@ @INTLLIBS@
71
72sysdeps_static_SOURCES  = $(sysdeps_SOURCES)
73sysdeps_static_LDADD    = $(sysdeps_LDADD)
74sysdeps_static_LDFLAGS  = -static
75
76third_guile_names_LIBS  = $(top_builddir)/sysdeps/guile/names/libgtop_guile_names-2.0.la
77third_names_LIBS        = $(top_builddir)/sysdeps/names/libgtop_names-2.0.la
78
79third_SOURCES           = third.c
80third_LDADD             = $(top_builddir)/sysdeps/guile/libgtop_guile-2.0.la \
81                          $(third_guile_names_LIBS) $(third_names_LIBS) \
82                          $(top_builddir)/lib/libgtop-2.0.la \
83                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
84                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
85                          @GUILE_LIBS@ @LIBSUPPORT@ @INTLLIBS@
86
87third_static_SOURCES    = $(third_SOURCES)
88third_static_LDADD      = $(third_LDADD)
89third_static_LDFLAGS    = -static
90
91mountlist_SOURCES       = mountlist.c
92mountlist_LDADD         = $(top_builddir)/lib/libgtop-2.0.la \
93                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
94                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
95                          @LIBSUPPORT@ @INTLLIBS@
96
97mountlist_static_SOURCES= $(mountlist_SOURCES)
98mountlist_static_LDADD  = $(mountlist_LDADD)
99mountlist_static_LDFLAGS= -static
100
101
102smp_SOURCES             = smp.c
103smp_LDADD               = $(top_builddir)/lib/libgtop-2.0.la \
104                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
105                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
106                          @LIBSUPPORT@ @INTLLIBS@
107
108smp_static_SOURCES      = $(smp_SOURCES)
109smp_static_LDADD        = $(smp_LDADD)
110smp_static_LDFLAGS      = -static
111
112timings_SOURCES         = timings.c
113timings_LDADD           = $(top_builddir)/lib/libgtop-2.0.la \
114                          $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
115                          $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
116                          @LIBSUPPORT@ @INTLLIBS@
117
118timings_static_SOURCES  = $(timings_SOURCES)
119timings_static_LDADD    = $(timings_LDADD)
120timings_static_LDFLAGS  = -static
121
Note: See TracBrowser for help on using the repository browser.