#frekin' wierd ## TODO: Move ffmpeg, libxml and libsdl into configure.in AM_CXXFLAGS := $(CXXFLAGS) $(EXTRA_CXXFLAGS) -I../include $(QT_CXXFLAGS) \ -DQT_THREAD_SUPPORT \ -DPIXMAPS=\"$(datadir)/pixmaps\" \ -DETC=\"$(prefix)/etc/miav\" bin_PROGRAMS = miav miav_SOURCES = $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList cc; fi ) \ aboutwindow.cc \ camera.cc \ decoder.cc \ encoder.cc \ frame.cc \ mainwindow.cc \ cprquerydialog.cc \ miav.cc \ network.cc \ player.cc \ socket.cc \ thread.cc \ util.cc \ videowidget.cc \ messagebox.cc \ miav_config.cc \ mov_encoder.cc \ img_encoder.cc \ server.cc \ dv1394.cc \ server_status.cc \ info_gui.cc \ info_console.cc EXTRA_DIST = \ aboutwindow.h \ camera.h \ cprquerydialog.h \ decoder.h \ encoder.h \ frame.h \ img_encoder.h \ mainwindow.h \ messagebox.h \ miav.h \ miav_config.h \ mov_encoder.h \ network.h \ package.h \ player.h \ queue.h \ server.h \ socket.h \ thread.h \ util.h \ videowidget.h \ debug.h \ dv.h \ dv1394.h \ server_status.h \ info.h \ info_gui.h \ info_console.h miav_LDADD := $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList o; fi ) miav_MOC = $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList cc; fi ) BUILT_SOURCES = $(miav_MOC) CLEANFILES = $(BUILT_SOURCES) %.moc.cc: %.h $(MOC) -o $@ $< %.h: %.ui $(UIC) -o $@ $< %.cc: %.ui $(UIC) -o $@ -impl $*.h $< # command for creating .res file from .rc on Win32 %.res: %.rc rc $<