summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 30ec6e045f234b74813f78a5bf8e65d6af0d1e67 (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
bin_PROGRAMS = simplertp simplertp-genkey

simplertp_LDADD = $(QT_LIBS) $(AO_LIBS) $(V4LC_LIBS) -ljpeg \
	$(OPUS_LIBS) $(AO_LIBS) $(PULSE_LIBS) \
	$(top_srcdir)/lrtp/src/liblrtp.la \
	$(top_srcdir)/libaudioio/src/libaudioio.la \
	$(shell ../tools/MocList o ) qrc_simplertp.o 

simplertp_CXXFLAGS = $(QT_CFLAGS) $(V4LC_CFLAGS) \
	-I$(top_srcdir)/lrtp/src \
	-I$(top_srcdir)/libaudioio/src \
	$(OPUS_CFLAGS) $(PULSE_CFLAGS)

AM_CXXFLAGS = $(simplertp_CXXFLAGS)

simplertp_SOURCES = \
	simplertp.cc \
	mainwindow.cc \
	v4l.cc \
	opusencoder.cc \
	opusdecoder.cc \
	samplecache.cc \
	frame.cc \
	audioinputhandler.cc \
	audiooutputhandler.cc \
	soundplayer.cc \
	outputstreamer.cc \
	inputstreamer.cc \
	videowidget.cc \
	audiobackend.cc \
	audiobackend-alsa.cc \
	audiobackend-pulse.cc

simplertp_genkey_LDADD =
simplertp_genkey_CXXFLAGS = 
simplertp_genkey_SOURCES = \
	simplertp-genkey.cc

EXTRA_DIST = \
	simplertp.qrc
	mainwindow.h \
	v4l.h \
	opusencoder.h \
	opusdecoder.h \
	samplecache.h \
	frame.h \
	audioinputhandler.h \
	audiooutputhandler.h \
	soundplayer.h \
	outputstreamer.h \
	inputstreamer.h \
	videowidget.h \
	audiobackend.h \
	audiobackend-alsa.h \
	audiobackend-pulse.h

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

BUILT_SOURCES = $(simplertp_MOC) qrc_simplertp.cc

CLEANFILES = $(BUILT_SOURCES)

qrc_%.cc: %.qrc
	rcc $< > $@

%.moc.cc: %.h
	$(QT_MOC) -o $@ $<

#
# ui files not used in this project...
#%.h: %.ui
#	$(QT_UIC) -o $@ $<
#
#%.cc: %.ui
#	$(QT_UIC) -o $@ -impl $*.h $<

# command for creating .res file from .rc on Win32
%.res: %.rc
	rc $<