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

bin_PROGRAMS = miav_client

miav_client_SOURCES = $(shell  if [ $QT_CXXFLAGS ] ; then ../tools/MocList cc; fi ) \
	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  if [ $QT_CXXFLAGS ] ; then ../tools/MocList o; fi ) ../lib/libmiav.la

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