* configure.in: Added -gnu89 to CFLAGS. * examples/Makefile.am: Fixed LDFLAGS. * sysdeps/common/fsusage.c: (glibtop_get_fsusage_s): * sysdeps/linux/fsusage.c: (linux_2_6_0): * sysdeps/linux/proctime.c: (glibtop_get_proc_time_s): * sysdeps/linux/sysinfo.c: (init_sysinfo): Fixed C89 issues. Closes #149375.
87 lines
2.3 KiB
Makefile
87 lines
2.3 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
INCLUDES = @INCLUDES@
|
|
|
|
DEFS = @DEFS@
|
|
|
|
noinst_PROGRAMS = first second\
|
|
mountlist procmap netload sysdeps timings \
|
|
@static_targets@ @smp_examples@
|
|
|
|
EXTRA_PROGRAMS = first_static second_static \
|
|
mountlist_static procmap_static \
|
|
third third_static smp smp_static \
|
|
netload_static sysdeps_static \
|
|
timings_static
|
|
|
|
first_SOURCES = first.c
|
|
first_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
|
|
|
first_static_SOURCES = $(first_SOURCES)
|
|
first_static_LDADD = $(first_LDADD)
|
|
first_static_LDFLAGS = -static
|
|
|
|
second_SOURCES = second.c
|
|
second_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
|
|
|
second_static_SOURCES = $(second_SOURCES)
|
|
second_static_LDADD = $(second_LDADD)
|
|
second_static_LDFLAGS = -static
|
|
|
|
procmap_SOURCES = procmap.c
|
|
procmap_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
|
|
|
procmap_static_SOURCES = $(procmap_SOURCES)
|
|
procmap_static_LDADD = $(procmap_LDADD)
|
|
procmap_static_LDFLAGS = -static
|
|
|
|
netload_SOURCES = netload.c
|
|
netload_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
|
|
|
netload_static_SOURCES = $(netload_SOURCES)
|
|
netload_static_LDADD = $(netload_LDADD)
|
|
netload_static_LDFLAGS = -static
|
|
|
|
sysdeps_SOURCES = sysdeps.c
|
|
sysdeps_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
|
|
|
sysdeps_static_SOURCES = $(sysdeps_SOURCES)
|
|
sysdeps_static_LDADD = $(sysdeps_LDADD)
|
|
sysdeps_static_LDFLAGS = -static
|
|
|
|
third_names_LIBS = $(top_builddir)/sysdeps/names/libgtop_names-2.0.la
|
|
|
|
third_SOURCES = third.c
|
|
third_LDADD = $(third_names_LIBS) \
|
|
$(top_builddir)/lib/libgtop-2.0.la \
|
|
@INTLLIBS@
|
|
|
|
third_static_SOURCES = $(third_SOURCES)
|
|
third_static_LDADD = $(third_LDADD)
|
|
third_static_LDFLAGS = -static
|
|
|
|
mountlist_SOURCES = mountlist.c
|
|
mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
|
|
|
mountlist_static_SOURCES= $(mountlist_SOURCES)
|
|
mountlist_static_LDADD = $(mountlist_LDADD)
|
|
mountlist_static_LDFLAGS= -static
|
|
|
|
|
|
smp_SOURCES = smp.c
|
|
smp_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
|
|
|
smp_static_SOURCES = $(smp_SOURCES)
|
|
smp_static_LDADD = $(smp_LDADD)
|
|
smp_static_LDFLAGS = -static
|
|
|
|
timings_SOURCES = timings.c
|
|
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
|
|
|
timings_static_SOURCES = $(timings_SOURCES)
|
|
timings_static_LDADD = $(timings_LDADD)
|
|
timings_static_LDFLAGS = -static
|
|
|