bin_PROGRAMS = if WITH_GUI bin_PROGRAMS += miav endif if WITH_SERVER bin_PROGRAMS += miavd endif # This is needed for XXXX.moc.o compilation AM_CXXFLAGS = $(QT_CFLAGS) miav_CXXFLAGS = $(SDL_CFLAGS) $(DV_CFLAGS) $(IEC61883_CFLAGS) $(QT_CFLAGS) \ -I../include -DPIXMAPS=\"$(datadir)/pixmaps\" \ -DETC=\"$(prefix)/etc/miav\" -I$(top_srcdir)/hugin miav_LDADD = $(shell ../tools/MocList o) $(QT_LIBS) $(IEC61883_LIBS) \ $(SDL_LIBS) $(DV_LIBS) miav_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ aa_socket.cc \ cprlisten.cc \ aboutwindow.cc \ camera.cc \ cprquerydialog.cc \ decoder.cc \ dv1394.cc \ dvfile.cc \ encoder.cc \ frame.cc \ historywidget.cc \ info.cc \ info_gui.cc \ mainwindow.cc \ messagebox.cc \ miav.cc \ player.cc \ recedge.cc \ videowidget.cc \ yuv_draw.cc \ \ socket.cc \ thread.cc \ util.cc \ miav_config.cc \ network.cc miavd_CXXFLAGS = $(JPEG_CFLAGS) $(FAME_CFLAGS) $(LAME_CFLAGS) $(DV_CFLAGS) \ $(PTHREAD_CFLAGS) -I../include -DETC=\"$(prefix)/etc/miav\" \ -I$(top_srcdir)/hugin miavd_LDADD = $(JPEG_LIBS) $(FAME_LIBS) $(LAME_LIBS) $(DV_LIBS) $(PTHREAD_LIBS) miavd_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ miavd.cc \ audio_encoder.cc \ daemon.cc \ file.cc \ frame.cc \ img_encoder.cc \ jpeg_mem_dest.cc \ libfame_wrapper.cc \ liblame_wrapper.cc \ libmplex_wrapper.cc \ miav_daemon.cc \ miav_config.cc \ mov_encoder.cc \ mov_encoder_thread.cc \ mov_encoder_writer.cc \ multicast.cc \ multicast_configuration.cc \ multiplexer.cc \ mutex.cc \ network.cc \ server.cc \ server_status.cc \ semaphore.cc \ socket.cc \ thread.cc \ threadsafe_queue.cc \ threadsafe_queue_fifo.cc \ threadsafe_queue_priority.cc \ util.cc EXTRA_DIST = \ aboutwindow.h \ audio_encoder.h \ camera.h \ config.h \ cprlisten.h \ cprquerydialog.h \ daemon.h \ debug.h \ decoder.h \ dv.h \ dv1394.h \ dvfile.h \ encoder.h \ file.h \ font.h \ frame.h \ frame_stream.h \ historywidget.h \ img_encoder.h \ info.h \ info_console.h \ info_gui.h \ info_simple.h \ iso11172-1.h \ iso11172-2.h \ iso11172-3.h \ jpeg_mem_dest.h \ libfame_wrapper.h \ liblame_wrapper.h \ libmplex_wrapper.h \ mainwindow.h \ messagebox.h \ miav_config.h \ miav_daemon.h \ mov_encoder.h \ mov_encoder_thread.h \ mov_encoder_writer.h \ multicast.h \ multicast_configuration.h \ multiplexer.h \ mutex.h \ network.h \ package.h \ player.h \ queue.h \ recedge.h \ semaphore.h \ server.h \ server_status.h \ socket.h \ thread.h \ threadsafe_queue.h \ threadsafe_queue_fifo.h \ threadsafe_queue_priority.h \ util.h \ videowidget.h \ yuv_draw.h miav_MOC = $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList cc; fi ) BUILT_SOURCES = $(miav_MOC) CLEANFILES = $(BUILT_SOURCES) %.moc.cc: %.h $(QT_MOC) -o $@ $< %.h: %.ui $(UIC) -o $@ $< %.cc: %.ui $(UIC) -o $@ -impl $*.h $< # command for creating .res file from .rc on Win32 %.res: %.rc rc $<