1 | ## Process this file with automake to produce Makefile.in |
---|
2 | |
---|
3 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ |
---|
4 | |
---|
5 | INCLUDES = @INCLUDES@ |
---|
6 | |
---|
7 | DEFS = @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 | |
---|
12 | libgtopdir = $(libexecdir)/libgtop |
---|
13 | |
---|
14 | libgtop_PROGRAMS = first second\ |
---|
15 | mountlist procmap netload sysdeps timings \ |
---|
16 | @static_targets@ @guile_examples@ @smp_examples@ |
---|
17 | |
---|
18 | EXTRA_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 | |
---|
24 | first_SOURCES = first.c |
---|
25 | first_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 | |
---|
30 | first_static_SOURCES = $(first_SOURCES) |
---|
31 | first_static_LDADD = $(first_LDADD) |
---|
32 | first_static_LDFLAGS = -static |
---|
33 | |
---|
34 | second_SOURCES = second.c |
---|
35 | second_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 | |
---|
40 | second_static_SOURCES = $(second_SOURCES) |
---|
41 | second_static_LDADD = $(second_LDADD) |
---|
42 | second_static_LDFLAGS = -static |
---|
43 | |
---|
44 | procmap_SOURCES = procmap.c |
---|
45 | procmap_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 | |
---|
52 | procmap_static_SOURCES = $(procmap_SOURCES) |
---|
53 | procmap_static_LDADD = $(procmap_LDADD) |
---|
54 | procmap_static_LDFLAGS = -static |
---|
55 | |
---|
56 | netload_SOURCES = netload.c |
---|
57 | netload_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 | |
---|
62 | netload_static_SOURCES = $(netload_SOURCES) |
---|
63 | netload_static_LDADD = $(netload_LDADD) |
---|
64 | netload_static_LDFLAGS = -static |
---|
65 | |
---|
66 | sysdeps_SOURCES = sysdeps.c |
---|
67 | sysdeps_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 | |
---|
72 | sysdeps_static_SOURCES = $(sysdeps_SOURCES) |
---|
73 | sysdeps_static_LDADD = $(sysdeps_LDADD) |
---|
74 | sysdeps_static_LDFLAGS = -static |
---|
75 | |
---|
76 | third_guile_names_LIBS = $(top_builddir)/sysdeps/guile/names/libgtop_guile_names-2.0.la |
---|
77 | third_names_LIBS = $(top_builddir)/sysdeps/names/libgtop_names-2.0.la |
---|
78 | |
---|
79 | third_SOURCES = third.c |
---|
80 | third_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 | |
---|
87 | third_static_SOURCES = $(third_SOURCES) |
---|
88 | third_static_LDADD = $(third_LDADD) |
---|
89 | third_static_LDFLAGS = -static |
---|
90 | |
---|
91 | mountlist_SOURCES = mountlist.c |
---|
92 | mountlist_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 | |
---|
97 | mountlist_static_SOURCES= $(mountlist_SOURCES) |
---|
98 | mountlist_static_LDADD = $(mountlist_LDADD) |
---|
99 | mountlist_static_LDFLAGS= -static |
---|
100 | |
---|
101 | |
---|
102 | smp_SOURCES = smp.c |
---|
103 | smp_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 | |
---|
108 | smp_static_SOURCES = $(smp_SOURCES) |
---|
109 | smp_static_LDADD = $(smp_LDADD) |
---|
110 | smp_static_LDFLAGS = -static |
---|
111 | |
---|
112 | timings_SOURCES = timings.c |
---|
113 | timings_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 | |
---|
118 | timings_static_SOURCES = $(timings_SOURCES) |
---|
119 | timings_static_LDADD = $(timings_LDADD) |
---|
120 | timings_static_LDFLAGS = -static |
---|
121 | |
---|