Makefile.am 1.43 KB
Newer Older
Hisham Muhammad's avatar
Hisham Muhammad committed
1
2
3
4
5
6
7
8
9
10
11
12

bin_PROGRAMS = htop
dist_man_MANS = htop.1
EXTRA_DIST = $(dist_man_MANS) htop.desktop htop.png scripts/MakeHeader.py
applicationsdir = $(datadir)/applications
applications_DATA = htop.desktop
pixmapdir = $(datadir)/pixmaps
pixmap_DATA = htop.png

AM_CFLAGS = -pedantic -Wall -std=c99
AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\"

13
14
15
16
htop_SOURCES = AvailableMetersPanel.c CategoriesPanel.c ClockMeter.c \
CPUMeter.c CRT.c DebugMemory.c DisplayOptionsPanel.c FunctionBar.c \
Hashtable.c Header.c htop.c Panel.c ListItem.c LoadAverageMeter.c \
MemoryMeter.c Meter.c MetersPanel.c Object.c Process.c \
Hisham Muhammad's avatar
Hisham Muhammad committed
17
ProcessList.c RichString.c ScreenManager.c Settings.c SignalItem.c \
18
19
SignalsPanel.c String.c SwapMeter.c TasksMeter.c Vector.c \
UptimeMeter.c UsersTable.c AvailableMetersPanel.h CategoriesPanel.h \
Hisham Muhammad's avatar
Hisham Muhammad committed
20
ClockMeter.h config.h CPUMeter.h CRT.h debug.h DebugMemory.h \
21
DisplayOptionsPanel.h FunctionBar.h Hashtable.h Header.h htop.h Panel.h \
22
ListItem.h LoadAverageMeter.h MemoryMeter.h Meter.h \
23
24
MetersPanel.h Object.h Process.h ProcessList.h RichString.h ScreenManager.h \
Settings.h SignalItem.h SignalsPanel.h String.h SwapMeter.h TasksMeter.h \
25
Vector.h UptimeMeter.h UsersTable.h CheckItem.c CheckItem.h \
26
27
28
ColorsPanel.c ColorsPanel.h TraceScreen.c TraceScreen.h \
AvailableColumnsPanel.c AvailableColumnsPanel.h ColumnsPanel.c \
ColumnsPanel.h
Hisham Muhammad's avatar
Hisham Muhammad committed
29

30
31
32
profile:
	$(MAKE) all CFLAGS="-pg -O2"

Hisham Muhammad's avatar
Hisham Muhammad committed
33
34
debug:
	$(MAKE) all CFLAGS="-g -DDEBUG"
Hisham Muhammad's avatar
Hisham Muhammad committed
35
36
37

debuglite:
	$(MAKE) all CFLAGS="-g -DDEBUGLITE"