From 5dfb5242370610dfad09c855925224c587edbfbf Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 25 Mar 2021 17:24:14 +1100 Subject: Implement command line and environment handling for pcp htop. --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8ae0e1f9..52c42157 100644 --- a/Makefile.am +++ b/Makefile.am @@ -343,8 +343,7 @@ pcp_platform_headers = \ zfs/ZfsArcStats.h \ zfs/ZfsCompressedArcMeter.h -if HTOP_PCP -myhtopplatsources = \ +pcp_platform_sources = \ pcp/PCPProcess.c \ pcp/PCPProcessList.c \ pcp/Platform.c \ @@ -353,7 +352,11 @@ myhtopplatsources = \ zfs/ZfsArcMeter.c \ zfs/ZfsCompressedArcMeter.c +if HTOP_PCP +myhtopplatprogram = pcp-htop myhtopplatheaders = $(pcp_platform_headers) +myhtopplatsources = $(pcp_platform_sources) +pcp_htop_SOURCES = $(htop_SOURCES) endif # Unsupported -- cgit v1.2.3