summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opierec/opierec.pro
blob: 6a5838a3b4070b4e34db45896be84b0066b1c9dd (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
CONFIG   = qt quick-app
HEADERS   = adpcm.h \
	pixmaps.h \
	helpwindow.h \
	qtrec.h \
	device.h \
	wavFile.h \
	waveform.h
SOURCES   = adpcm.c \
	helpwindow.cpp \
	main.cpp \
	qtrec.cpp \
	device.cpp \
	wavFile.cpp \
	waveform.cpp
INTERFACES  =

contains(CONFIG, pdaudio) {
#  LIBS += -L/opt/buildroot-opie/output/staging/target/lib -lqpe -lpthread -ljpeg -lpng -lz
  LIBS += -L$(QPEDIR)/lib -lqpe -lpthread -ljpeg -lpng -lz -lopiecore2
  INCLUDEPATH += $(QPEDIR)/include
  DEPENDPATH  += $(QPEDIR)/include
  DEFINES += PDAUDIO
  DEFINES += THREADED
  TARGET    = qperec

#  DESTDIR=$(QPEDIR)/bin
}

!contains(CONFIG, pdaudio) {
  INCLUDEPATH += $(OPIEDIR)/include
  DEPENDPATH  += $(OPIEDIR)/include
  LIBS            += -lqpe -lopiecore2 -lpthread
  TARGET    = opierec
  include( $(OPIEDIR)/include.pro )
}