summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opierec/opierec.pro
authorllornkcor <llornkcor>2003-12-31 20:43:51 (UTC)
committer llornkcor <llornkcor>2003-12-31 20:43:51 (UTC)
commitc395fd13c51385f212648c9995361715ffc9e182 (patch) (side-by-side diff)
tree8bc55b345044e3f17bf29a1f62cf620626270bbe /noncore/multimedia/opierec/opierec.pro
parent9f9deb7648c0b9bc04ee54bc0ceaf8a5b03441fd (diff)
downloadopie-c395fd13c51385f212648c9995361715ffc9e182.zip
opie-c395fd13c51385f212648c9995361715ffc9e182.tar.gz
opie-c395fd13c51385f212648c9995361715ffc9e182.tar.bz2
add pdaudio stuff
Diffstat (limited to 'noncore/multimedia/opierec/opierec.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/opierec.pro30
1 files changed, 22 insertions, 8 deletions
diff --git a/noncore/multimedia/opierec/opierec.pro b/noncore/multimedia/opierec/opierec.pro
index b607c09..39fe493 100644
--- a/noncore/multimedia/opierec/opierec.pro
+++ b/noncore/multimedia/opierec/opierec.pro
@@ -1,4 +1,5 @@
-CONFIG = qt warn_on release
+#CONFIG = qt qtopia warn_on release pdaudio
+CONFIG = qt warn_on release opie
#CONFIG = qt warn_on release quick-app
HEADERS = adpcm.h \
pixmaps.h \
@@ -14,13 +15,26 @@ SOURCES = adpcm.c \
device.cpp \
wavFile.cpp \
waveform.cpp
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-#LIBS += -L/opt/buildroot-opie/output/staging/target/lib -lqpe -lpthread -ljpeg -lpng -lz
-LIBS += -lqpe -lpthread
INTERFACES =
-TARGET = opierec
-DESTDIR=$(OPIEDIR)/bin
-include ( $(OPIEDIR)/include.pro )
+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
+ INCLUDEPATH += $(QPEDIR)/include
+ DEPENDPATH += $(QPEDIR)/include
+ DEFINES += PDAUDIO
+ TARGET = qperec
+
+# DESTDIR=$(QPEDIR)/bin
+}
+
+contains(CONFIG, opie) {
+ INCLUDEPATH += $(OPIEDIR)/include
+ DEPENDPATH += $(OPIEDIR)/include
+ DESTDIR=$(OPIEDIR)/bin
+ LIBS += -lqpe -lpthread
+ TARGET = opierec
+ include ( $(OPIEDIR)/include.pro )
+}
+