summaryrefslogtreecommitdiff
path: root/client/Makefile.am
blob: 0fad1accca7ae9b9017fa23789a432731cbbe196 (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
AM_CXXFLAGS := $(QT_CXXFLAGS) $(CAIRO_CXXFLAGS) -DQT_THREAD_SUPPORT 

bin_PROGRAMS = miav_client

miav_client_SOURCES = $(shell ../tools/MocList cc ) \
	miav_client.cc \
	aboutwindow.cc \
	control.cc \
	cprlisten.cc \
	cprquerydialog.cc \
	decoder.cc \
	dv1394.cc \
	dvfile.cc \
	icons.cc \
	networksender.cc \
	historyframe.cc \
	historywidget.cc \
	info_gui.cc \
	mainwindow.cc \
	messagebox.cc \
	player.cc \
	splashscreen.cc \
	statusbar.cc \
	svgloader.cc \
	videowidget.cc \
	yuv_draw.cc \
	xvaccelrenderer.cc

EXTRA_DIST = \
	aboutwindow.h \
	config.h \
	control.h \
	cprlisten.h \
	cprquerydialog.h \
	decoder.h \
	dv1394.h \
	dvfile.h \
	icons.h \
	networksender.h \
	historyframe.h \
	historywidget.h \
	info_gui.h \
	mainwindow.h \
	messagebox.h \
	player.h \
	splashscreen.h \
	statusbar.h \
	svgloader.h \
	videowidget.h \
	yuv_draw.h \
	xvaccelrenderer.h

miav_client_LDADD := $(shell ../tools/MocList o ) \
	../lib/libmiav.la \
	$(CAIRO_LDFLAGS) \
	$(QT_LDADD) \
	-lXv

miav_client_MOC = $(shell ../tools/MocList cc )

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 $<