summaryrefslogtreecommitdiffstats
path: root/Makefile.am
AgeCommit message (Collapse)Author
2018-08-24Disable 'make dist' when pkg.m4 is unused in configureExplorer09
This would prevent a careless future package maintainer from creating a release tarball with a defective configure script. :) Also, add a warning in the autogen.sh phase if pkg.m4 is unused. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2018-04-06New makefile targets to rebuild and clean htop headers.Explorer09
`make htop-headers` will regenerate all '.h' headers in htop source for all platforms. `make clean-htop-headers` will delete all generated htop headers. Because of the introduction of these two targets, I slightly changed the style of platform-specific portions of makefile rules. Please comment if you accept such a style, or need me to revert to old style. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2018-04-06Use AM_CFLAGS and AM_LDFLAGS in Makefile.am (#760)Kang-Che Sung (宋岡哲)
This reduces generated Makefile.in size by 74%. (217319 bytes -> 56326 bytes) Automake considers that <prog>_CFLAGS and <prog>_LDFLAGS are program-specific build rules, and when such are specified, Automake will generate additional code just to avoid the "generic" and package-wide AM_CFLAGS or AM_LDFLAGS. (Especially for <prog>_CFLAGS, Automake will rename generated object files to become "prog-foo.o" and such, and it's _a lot_ of code to achieve this in Makefile.) There's no reason for htop to rename intermediate object files. It's better to make things simpler. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2018-04-06Import Solaris support (#741)gmbroome
This commit adds support for Solaris, squashed from PR #741: Summary of additions: * Initial setup of Solaris platform directory * Add Solaris platform into autoconf template * Uptime and load averages * Add dependency on libkstat * Basic process listing * Zone name display * CPU detection * Per-process memory and CPU usage parsed correctly * Uses sysconf to discover number of CPUs, instead of more complex libkstat code * Simple memory display working * Reduce repetitive calls to the PAGE_SIZE macro when reading memory info * Add Project, Contract, Task, and Pool into process properties * Use system major()/minor() implementations and remove extraneous definition of mkdev() * Get the STARTTIME column working properly, using the Linux implementation as a guide
2018-02-26Add IPC performance counter for LinuxHisham Muhammad
2018-02-26Add `make symbols` targetHisham Muhammad
2018-02-26Begin add supporting for multiple screensHisham Muhammad
2017-04-21Enh: Add support for backtrace using execinfoDiederik de Groot
2017-04-19Initial addition of dragonflybsd (based on FreeBSD)Diederik de Groot
2016-02-19Force -lgcov harder when running `make coverage`.Hisham
Shouldn't be needed, but I had to make this tweak to make this work again.
2016-02-02Check for failure in allocations.Hisham
2016-01-12refactor *Screen classes, add InfoScreen superclassHisham Muhammad
2015-12-02'e' displays environment of current processMichael Klein
- uses sysctl(KERN_PROCARGS2) on *BSD - doesn't work on Linux yet
2015-09-18(Very) initial working OpenBSD portMichael McConville
2015-08-19Added darwin with working battery meterDavid Hunt
2015-08-19Rename String to StringUtils.David Hunt
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
2015-03-25Add coverage testing rulesHisham Muhammad
2015-03-16Get FreeBSD tree to compile again with latest changes.Hisham Muhammad
2015-03-15Merge branch 'wip' of https://github.com/hishamhm/htop into freebsdHisham Muhammad
Conflicts: htop.c unsupported/Platform.h
2015-02-23Work on fixing build of "unsupported" platformHisham Muhammad
2015-02-04Merge branch 'master' into wipHisham Muhammad
2015-02-04Test if -Wextra is supported. Closes #155.Hisham Muhammad
2015-01-21Sorry about the mega-patch.Hisham Muhammad
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
2014-11-27Merge branch 'master' into freebsdHisham Muhammad
2014-11-27Move platform-dependent parts of Linux battery meter.Hisham Muhammad
2014-11-27Add uptime calculation code.Hisham Muhammad
2014-11-27Merge branch 'master' into freebsdHisham Muhammad
2014-11-27Make UptimeMeter cross-platform again.Hisham Muhammad
2014-11-27Uptime meter for FreeBSD.Hisham Muhammad
This will produce too much replicated code. I think I'll use a lighter abstraction in things like this.
2014-11-27Merge branch 'master' into freebsdHisham Muhammad
2014-11-27Move UptimeMeter into platform-dependent area.Hisham Muhammad
Set up environment to move other meters.
2014-11-27Beginnings of FreeBSD port!Hisham Muhammad
2014-11-24Builds on Linux again!Hisham Muhammad
2014-11-24Changes for supporting separate platform subdirectories.Hisham Muhammad
2014-01-17Possible to regenerate headers outside of srcdirRobert Rosengren
2012-11-10search and filter for the strace and lsof screens!Hisham Muhammad
2012-10-04Add IO priority support ('i' key)Hisham Muhammad
2011-12-26remove old reference to hwloc directoryHisham Muhammad
2011-12-26Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad
2011-11-21Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an ↵Hisham Muhammad
external libhwloc. (for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
2011-11-05Allow typing to select items in various panels (sort, user, signal).Hisham Muhammad
Factored code from the SignalsPanel to apply to all selections from main screen. Closes feature request #3425304.
2011-10-25store cppcheck rule for future useHisham Muhammad
2011-10-25cleanups and fixes, thanks to cppcheck and gcc -WextraHisham Muhammad
2011-09-26Add flag to allow using the system install of hwloc.Hisham Muhammad
2011-09-24Convert affinity control from the deprecated PLPA to HWLOCHisham Muhammad
2010-11-20Build fixes. BTW, we're going for 0.9 now.Hisham Muhammad
2010-08-24add support for steal/guest CPU time measurementHisham Muhammad
simplify processor data accounting (add CPUData structure) remove Process_clone trick
2010-03-29upgrade PLPA to 1.3.2Hisham Muhammad
2009-06-02changes for htop 0.8.2Hisham Muhammad
2009-03-11BSD related fixes:Hisham Muhammad
* BUGFIX: Correct page size calculation for FreeBSD systems (thanks to Andrew Paulsen) * Allow compilation without PLPA on systems that don't support it (thanks to Timothy Redaelli)