diff options
author | deva <deva> | 2005-03-24 12:02:43 +0000 |
---|---|---|
committer | deva <deva> | 2005-03-24 12:02:43 +0000 |
commit | d187e8be0b5f33073a2cf6f7f98b42290ac60e64 (patch) | |
tree | 24deb98cecbd2ab5bb9c6ee43b279f5bf6170c54 /src/Makefile.am | |
parent | 55b37689d1fbec8391a90417082828efc7140f10 (diff) |
Fixed some time scews!
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..40e37ee --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,53 @@ +#frekin' wierd +## TODO: Move ffmpeg, libxml and libsdl into configure.in + +AM_CXXFLAGS := $(CXXFLAGS) $(EXTRA_CXXFLAGS) -I../include $(QT_CXXFLAGS) \ + -I/usr/include/ffmpeg +# -I/usr/include/SDL + +bin_PROGRAMS = miav + +miav_SOURCES = $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList cc; fi ) \ + aboutwindow.cc \ + camera.cc \ + decoder.cc \ + dvframe.cc \ + encoder.cc \ + ffframe.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 + +miav_LDADD := $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList o; fi ) \ + -lavcodec -lavformat +# -lSDL + +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 $< |