a473280ab9
Previously, kvm_read was used to get the memory usage in FreeBSD. However, this has been deprecated in favor of sysctl. This patch implements this change. Some work had previously been done in this direction, as could be seen in the file src/mem_freebsd_sysctl.c. Since this file is no longer needed, it has been removed. Additionally, some formatting has been done on the remaining older code for a more consistent style.
28 lines
457 B
Makefile
28 lines
457 B
Makefile
bin_PROGRAMS = wmmemload
|
|
|
|
wmmemload_SOURCES = \
|
|
main.c \
|
|
mem.h \
|
|
mem_@OS@.c \
|
|
dockapp.c \
|
|
dockapp.h \
|
|
backdrop_off.xpm \
|
|
backdrop_on.xpm \
|
|
parts_mem.xpm \
|
|
parts_swap.xpm
|
|
|
|
EXTRA_wmmemload_SOURCES = \
|
|
mem_linux.c \
|
|
mem_freebsd.c \
|
|
mem_openbsd.c \
|
|
mem_solaris.c
|
|
|
|
AM_CPPFLAGS = @DFLAGS@ @HEADER_SEARCH_PATH@
|
|
|
|
wmmemload_LDADD = @LIBRARY_SEARCH_PATH@ @XLIBS@
|
|
|
|
INSTALL_PROGRAM = \
|
|
@INSTALL_PROGRAM@ \
|
|
@SETGID_FLAGS@ \
|
|
$(AM_INSTALL_PROGRAM_FLAGS)
|