summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 3ccf9d2593429dd2dd110ee8b79b42e71d51816f (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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 \
	audio_encoder.cc \
	camera.cc \
	cprquerydialog.cc \
	daemon.cc \
	decoder.cc \
	dv1394.cc \
	dvfile.cc \
	encoder.cc \
	file.cc \
	frame.cc \
	historywidget.cc \
	img_encoder.cc \
	info.cc \
	info_console.cc \
	info_gui.cc \
	info_simple.cc \
	jpeg_mem_dest.cc \
	libfame_wrapper.cc \
	liblame_wrapper.cc \
	libmplex_wrapper.cc \
	mainwindow.cc \
	messagebox.cc \
	miav.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 \
	player.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 \
	videowidget.cc \
	yuv_draw.cc

EXTRA_DIST = \
	aboutwindow.h \
	audio_encoder.h \
	camera.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.h \
	miav_daemon.h \
	miav_config.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 \
	server.h \
	server_status.h \
	semaphore.h \
	socket.h \
	thread.h \
	threadsafe_queue.h \
	threadsafe_queue_fifo.h \
	threadsafe_queue_priority.h \
	util.h \
	videowidget.h \
	yuv_draw.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 $<