blob: ba5e27ce4e9d378841985e742e6bd93ad1473bf8 [file] [log] [blame]
Mike Dodd8cfa7022010-11-17 11:12:26 -08001SUBDIRS = ui
2
3dist_sources = \
4 oprof_start.cpp \
5 oprof_start_config.cpp \
6 oprof_start_util.cpp \
7 oprof_start_main.cpp \
8 oprof_start.h \
9 oprof_start_config.h \
10 oprof_start_util.h
11
12EXTRA_DIST = $(dist_sources)
13
14if have_qt
15
16AM_CPPFLAGS = \
17 @QT_INCLUDES@ \
18 -I ${top_srcdir}/libop \
19 -I ${top_srcdir}/libutil++ \
20 -I ${top_srcdir}/libutil
21
22AM_CXXFLAGS = @OP_CXXFLAGS@
23
24bin_PROGRAMS = oprof_start
25
26oprof_start_SOURCES = $(dist_sources)
27nodist_oprof_start_SOURCES = oprof_start.moc.cpp
28oprof_start_LDADD = \
29 ../libutil++/libutil++.a \
30 ../libop/libop.a \
31 ../libutil/libutil.a \
32 ui/liboprof_start.a \
33 @QT_LDFLAGS@ \
34 @QT_LIB@ \
35 @X_LIBS@
36
37oprof_start.moc.cpp: ${top_srcdir}/gui/oprof_start.h
38 $(MOC) -o $@ ${top_srcdir}/gui/oprof_start.h
39
40clean-local:
41 rm -f oprof_start.moc.cpp
42
43endif