diff options
author | Nathan Scott <nathans@redhat.com> | 2023-05-02 16:56:18 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-05-08 13:06:38 +1000 |
commit | 72235d8e098d9d79029dca65122605741e1aafad (patch) | |
tree | 96593b8bd9dc95dc5ab321bd363d36351cbd0a99 /Makefile.am | |
parent | 0bdade1b6cb40c5bd374a93ac0489058a7421bb5 (diff) |
Adapt platform code for the new Machine base class
Move host-centric data to new derived <Platform>Machine classes,
separate from process-list-centric data.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 94db4d77..b25d1cb8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -166,6 +166,7 @@ linux_platform_headers = \ linux/IOPriority.h \ linux/IOPriorityPanel.h \ linux/LibSensors.h \ + linux/LinuxMachine.h \ linux/LinuxProcess.h \ linux/LinuxProcessList.h \ linux/Platform.h \ @@ -188,6 +189,7 @@ linux_platform_sources = \ linux/HugePageMeter.c \ linux/IOPriorityPanel.c \ linux/LibSensors.c \ + linux/LinuxMachine.c \ linux/LinuxProcess.c \ linux/LinuxProcessList.c \ linux/Platform.c \ @@ -208,6 +210,7 @@ endif # ------- freebsd_platform_headers = \ + freebsd/FreeBSDMachine.h \ freebsd/FreeBSDProcessList.h \ freebsd/FreeBSDProcess.h \ freebsd/Platform.h \ @@ -223,6 +226,7 @@ freebsd_platform_headers = \ freebsd_platform_sources = \ freebsd/Platform.c \ + freebsd/FreeBSDMachine.c \ freebsd/FreeBSDProcessList.c \ freebsd/FreeBSDProcess.c \ generic/fdstat_sysctl.c \ @@ -242,6 +246,7 @@ endif # ------------ dragonflybsd_platform_headers = \ + dragonflybsd/DragonFlyBSDMachine.h \ dragonflybsd/DragonFlyBSDProcessList.h \ dragonflybsd/DragonFlyBSDProcess.h \ dragonflybsd/Platform.h \ @@ -252,6 +257,7 @@ dragonflybsd_platform_headers = \ generic/uname.h dragonflybsd_platform_sources = \ + dragonflybsd/DragonFlyBSDMachine.c \ dragonflybsd/DragonFlyBSDProcessList.c \ dragonflybsd/DragonFlyBSDProcess.c \ dragonflybsd/Platform.c \ @@ -275,6 +281,7 @@ netbsd_platform_headers = \ generic/uname.h \ netbsd/Platform.h \ netbsd/ProcessField.h \ + netbsd/NetBSDMachine.h \ netbsd/NetBSDProcess.h \ netbsd/NetBSDProcessList.h @@ -284,6 +291,7 @@ netbsd_platform_sources = \ generic/hostname.c \ generic/uname.c \ netbsd/Platform.c \ + netbsd/NetBSDMachine.c \ netbsd/NetBSDProcess.c \ netbsd/NetBSDProcessList.c @@ -299,6 +307,7 @@ openbsd_platform_headers = \ generic/gettime.h \ generic/hostname.h \ generic/uname.h \ + openbsd/OpenBSDMachine.h \ openbsd/OpenBSDProcessList.h \ openbsd/OpenBSDProcess.h \ openbsd/Platform.h \ @@ -308,6 +317,7 @@ openbsd_platform_sources = \ generic/gettime.c \ generic/hostname.c \ generic/uname.c \ + openbsd/OpenBSDMachine.c \ openbsd/OpenBSDProcessList.c \ openbsd/OpenBSDProcess.c \ openbsd/Platform.c @@ -321,6 +331,7 @@ endif # ------ darwin_platform_headers = \ + darwin/DarwinMachine.h \ darwin/DarwinProcess.h \ darwin/DarwinProcessList.h \ darwin/Platform.h \ @@ -338,6 +349,7 @@ darwin_platform_headers = \ darwin_platform_sources = \ darwin/Platform.c \ darwin/PlatformHelpers.c \ + darwin/DarwinMachine.c \ darwin/DarwinProcess.c \ darwin/DarwinProcessList.c \ generic/fdstat_sysctl.c \ @@ -363,6 +375,7 @@ solaris_platform_headers = \ generic/uname.h \ solaris/ProcessField.h \ solaris/Platform.h \ + solaris/SolarisMachine.h \ solaris/SolarisProcess.h \ solaris/SolarisProcessList.h \ zfs/ZfsArcMeter.h \ @@ -374,6 +387,7 @@ solaris_platform_sources = \ generic/hostname.c \ generic/uname.c \ solaris/Platform.c \ + solaris/SolarisMachine.c \ solaris/SolarisProcess.c \ solaris/SolarisProcessList.c \ zfs/ZfsArcMeter.c \ @@ -393,6 +407,7 @@ pcp_platform_headers = \ linux/ZramStats.h \ pcp/PCPDynamicColumn.h \ pcp/PCPDynamicMeter.h \ + pcp/PCPMachine.h \ pcp/PCPMetric.h \ pcp/PCPProcess.h \ pcp/PCPProcessList.h \ @@ -407,6 +422,7 @@ pcp_platform_sources = \ linux/ZramMeter.c \ pcp/PCPDynamicColumn.c \ pcp/PCPDynamicMeter.c \ + pcp/PCPMachine.c \ pcp/PCPMetric.c \ pcp/PCPProcess.c \ pcp/PCPProcessList.c \ @@ -427,12 +443,14 @@ unsupported_platform_headers = \ generic/gettime.h \ unsupported/Platform.h \ unsupported/ProcessField.h \ + unsupported/UnsupportedMachine.h \ unsupported/UnsupportedProcess.h \ unsupported/UnsupportedProcessList.h unsupported_platform_sources = \ generic/gettime.c \ unsupported/Platform.c \ + unsupported/UnsupportedMachine.c \ unsupported/UnsupportedProcess.c \ unsupported/UnsupportedProcessList.c |