blob: 6edcd736e5d2ab6df2904eef20be04a4d5074ce6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
#frekin' wierd
## TODO: Move ffmpeg, libxml and libsdl into configure.in
AM_CXXFLAGS := $(CXXFLAGS) $(EXTRA_CXXFLAGS) -I../include $(QT_CXXFLAGS) \
-DPIXMAPS=\"$(datadir)/pixmaps\" \
-DETC=\"$(prefix)/etc/miav\" \
-I/usr/include/ffmpeg
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 \
error.cc \
dv1394.cc \
server_status.cc
EXTRA_DIST = \
miav.conf \
cprquery.conf \
aboutwindow.h \
camera.h \
cprquerydialog.h \
decoder.h \
encoder.h \
error.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.cc \
server_status.h
miav_LDADD := $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList o; fi ) \
-lavcodec -lavformat
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 $<
|