aboutsummaryrefslogtreecommitdiff
path: root/gui/Makefile.am
blob: ba5e27ce4e9d378841985e742e6bd93ad1473bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
SUBDIRS = ui

dist_sources = \
	oprof_start.cpp \
	oprof_start_config.cpp \
	oprof_start_util.cpp \
	oprof_start_main.cpp \
	oprof_start.h \
	oprof_start_config.h \
	oprof_start_util.h

EXTRA_DIST = $(dist_sources)

if have_qt

AM_CPPFLAGS = \
	@QT_INCLUDES@ \
	-I ${top_srcdir}/libop \
	-I ${top_srcdir}/libutil++ \
	-I ${top_srcdir}/libutil

AM_CXXFLAGS = @OP_CXXFLAGS@

bin_PROGRAMS = oprof_start

oprof_start_SOURCES = $(dist_sources)
nodist_oprof_start_SOURCES = oprof_start.moc.cpp
oprof_start_LDADD = \
	../libutil++/libutil++.a \
	../libop/libop.a \
	../libutil/libutil.a \
	ui/liboprof_start.a \
	@QT_LDFLAGS@ \
	@QT_LIB@ \
	@X_LIBS@

oprof_start.moc.cpp: ${top_srcdir}/gui/oprof_start.h
	$(MOC) -o $@ ${top_srcdir}/gui/oprof_start.h

clean-local:
	rm -f oprof_start.moc.cpp

endif