* Makefile.am: * cpu.c: (glibtop_get_cpu_p): * netlist.c: (glibtop_get_netlist_s): * netload.c: (glibtop_get_netload_p): * procmem.c: (glibtop_get_proc_mem_p): Fix a bug in netlist where glibtop_netlist.number was never initialized to 0 (this resulted in a NULL pointer dereference in the network load feature of the multiload applet) * Add support for getting interface flags and packet counts even on interfaces without IP addresses (needed for the network load feature of the multiload applet) * Restore per-process limits in the !FreeBSD or __FreeBSD_version < 500013 case * Add CPU interrupt time as IOWAIT to get support for the cpu load feature of the multiload applet. Patch from marcus@freebsd.org (Joe Marcus Clarke). Closes #168704.
23 lines
734 B
Makefile
23 lines
734 B
Makefile
|
|
INCLUDES = @INCLUDES@
|
|
|
|
noinst_LTLIBRARIES = libgtop_sysdeps-2.0.la libgtop_sysdeps_suid-2.0.la
|
|
|
|
libgtop_sysdeps_2_0_la_SOURCES = nosuid.c siglist.c
|
|
|
|
libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
|
|
|
|
libgtop_sysdeps_suid_2_0_la_SOURCES = open.c close.c cpu.c mem.c swap.c \
|
|
uptime.c loadavg.c shm_limits.c msg_limits.c \
|
|
sem_limits.c proclist.c procstate.c procuid.c \
|
|
proctime.c procmem.c procsignal.c prockernel.c \
|
|
procsegment.c procargs.c procmap.c netlist.c \
|
|
netload.c ppp.c procopenfiles.c fsusage.c
|
|
|
|
libgtop_sysdeps_suid_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
|
|
|
|
libgtopinclude_HEADERS = glibtop_server.h glibtop_machine.h \
|
|
glibtop_suid.h
|
|
|
|
libgtopincludedir = $(includedir)/libgtop-2.0
|