diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2012-04-17 15:05:59 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2012-04-17 15:05:59 +0530 |
commit | 96a11754a6950bfe50784c0877cb64b1ed7d2b18 (patch) | |
tree | b977131bbbb4c3bd8ade370aab2e4fc913440c04 /Makefile.am | |
download | android_external_htop-96a11754a6950bfe50784c0877cb64b1ed7d2b18.tar.gz android_external_htop-96a11754a6950bfe50784c0877cb64b1ed7d2b18.tar.bz2 android_external_htop-96a11754a6950bfe50784c0877cb64b1ed7d2b18.zip |
add original htop code
htop-0.9 downloaded from http://archive.ubuntu.com/ubuntu/pool/universe/h/htop/htop_0.9.orig.tar.gz
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..9bf73e4 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,62 @@ + +if HAVE_PLPA +SUBDIRS = plpa-1.3.2 +endif + +ACLOCAL_AMFLAGS=-I m4 + +bin_PROGRAMS = htop +dist_man_MANS = htop.1 +EXTRA_DIST = $(dist_man_MANS) htop.desktop htop.png scripts/MakeHeader.py \ +install-sh autogen.sh missing +applicationsdir = $(datadir)/applications +applications_DATA = htop.desktop +pixmapdir = $(datadir)/pixmaps +pixmap_DATA = htop.png + +htop_CFLAGS = -pedantic -Wall -std=c99 -rdynamic -D_XOPEN_SOURCE_EXTENDED +AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" + +myhtopsources = AvailableMetersPanel.c CategoriesPanel.c CheckItem.c \ +ClockMeter.c ColorsPanel.c ColumnsPanel.c CPUMeter.c CRT.c DebugMemory.c \ +DisplayOptionsPanel.c FunctionBar.c Hashtable.c Header.c htop.c ListItem.c \ +LoadAverageMeter.c MemoryMeter.c Meter.c MetersPanel.c Object.c Panel.c \ +BatteryMeter.c Process.c ProcessList.c RichString.c ScreenManager.c Settings.c \ +SignalItem.c SignalsPanel.c String.c SwapMeter.c TasksMeter.c TraceScreen.c \ +UptimeMeter.c UsersTable.c Vector.c AvailableColumnsPanel.c AffinityPanel.c \ +HostnameMeter.c OpenFilesScreen.c + +myhtopheaders = AvailableColumnsPanel.h AvailableMetersPanel.h \ +CategoriesPanel.h CheckItem.h ClockMeter.h ColorsPanel.h ColumnsPanel.h \ +CPUMeter.h CRT.h DebugMemory.h DisplayOptionsPanel.h FunctionBar.h \ +Hashtable.h Header.h htop.h ListItem.h LoadAverageMeter.h MemoryMeter.h \ +BatteryMeter.h Meter.h MetersPanel.h Object.h Panel.h ProcessList.h RichString.h \ +ScreenManager.h Settings.h SignalItem.h SignalsPanel.h String.h \ +SwapMeter.h TasksMeter.h TraceScreen.h UptimeMeter.h UsersTable.h Vector.h \ +Process.h AffinityPanel.h HostnameMeter.h OpenFilesScreen.h + +SUFFIXES = .h + +BUILT_SOURCES = $(myhtopheaders) +htop_SOURCES = $(myhtopheaders) $(myhtopsources) config.h debug.h +if HAVE_PLPA +htop_LDADD = $(top_builddir)/plpa-1.3.2/src/libplpa/libplpa_included.la +endif + +profile: + $(MAKE) all CFLAGS="-pg -O2" + +debug: + $(MAKE) all CFLAGS="-ggdb -DDEBUG" + +hardened-debug: + $(MAKE) all CFLAGS="-ggdb -DDEBUG" LDFLAGS="-nopie" + +debuglite: + $(MAKE) all CFLAGS="-ggdb -DDEBUGLITE" + +.c.h: + scripts/MakeHeader.py $< + + + |