Makefile.am 1.47 KB
Newer Older
Hisham Muhammad's avatar
Hisham Muhammad committed
1
2
3

bin_PROGRAMS = htop
dist_man_MANS = htop.1
4
5
EXTRA_DIST = $(dist_man_MANS) htop.desktop htop.png scripts/MakeHeader.py \
install-sh autogen.sh missing
Hisham Muhammad's avatar
Hisham Muhammad committed
6
7
8
9
10
11
12
13
applicationsdir = $(datadir)/applications
applications_DATA = htop.desktop
pixmapdir = $(datadir)/pixmaps
pixmap_DATA = htop.png

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

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

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

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

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