mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-16 05:54:34 +03:00
Add NetBSD platform support without procfs dependency
- TODO, clean up the code base and update comments in code.
This commit is contained in:
24
Makefile.am
24
Makefile.am
@ -236,6 +236,30 @@ myhtopplatheaders = $(dragonflybsd_platform_headers)
|
||||
myhtopplatsources = $(dragonflybsd_platform_sources)
|
||||
endif
|
||||
|
||||
# NetBSD
|
||||
# -------
|
||||
|
||||
netbsd_platform_headers = \
|
||||
netbsd/Platform.h \
|
||||
netbsd/ProcessField.h \
|
||||
netbsd/NetBSDProcessList.h \
|
||||
netbsd/NetBSDProcess.h \
|
||||
generic/hostname.h \
|
||||
generic/uname.h
|
||||
|
||||
netbsd_platform_sources = \
|
||||
netbsd/Platform.c \
|
||||
netbsd/NetBSDProcessList.c \
|
||||
netbsd/NetBSDProcess.c \
|
||||
generic/hostname.c \
|
||||
generic/uname.c
|
||||
|
||||
if HTOP_NETBSD
|
||||
AM_LDFLAGS += -lkvm
|
||||
myhtopplatheaders = $(netbsd_platform_headers)
|
||||
myhtopplatsources = $(netbsd_platform_sources)
|
||||
endif
|
||||
|
||||
# OpenBSD
|
||||
# -------
|
||||
|
||||
|
Reference in New Issue
Block a user