Home | History | Annotate | Download | only in gui
      1 SUBDIRS = ui
      2 
      3 dist_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 
     12 EXTRA_DIST = $(dist_sources)
     13 
     14 if have_qt
     15 
     16 AM_CPPFLAGS = \
     17 	@QT_INCLUDES@ \
     18 	-I ${top_srcdir}/libop \
     19 	-I ${top_srcdir}/libutil++ \
     20 	-I ${top_srcdir}/libutil
     21 
     22 AM_CXXFLAGS = @OP_CXXFLAGS@
     23 
     24 bin_PROGRAMS = oprof_start
     25 
     26 oprof_start_SOURCES = $(dist_sources)
     27 nodist_oprof_start_SOURCES = oprof_start.moc.cpp
     28 oprof_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 
     37 oprof_start.moc.cpp: ${top_srcdir}/gui/oprof_start.h
     38 	$(MOC) -o $@ ${top_srcdir}/gui/oprof_start.h
     39 
     40 clean-local:
     41 	rm -f oprof_start.moc.cpp
     42 
     43 endif
     44