summaryrefslogtreecommitdiff
path: root/client/Makefile.am
blob: 7d170fe1c44ff96d1b34974967ac7d5751466ae3 (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
AM_CXXFLAGS := -I../lib -L../lib \
	$(CXXFLAGS) $(EXTRA_CXXFLAGS) -I../include $(QT_CXXFLAGS) $(SDL_CFLAGS) \
	-DQT_THREAD_SUPPORT \
	-DPIXMAPS=\"$(datadir)/pixmaps\" \
	-DETC=\"$(prefix)/etc/miav\"

bin_PROGRAMS = miav_client

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

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

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

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