bb-cascades-oauth/oauth/Makefile

37 lines
834 B
Makefile

QMAKE_TARGET = libkqoauth.so
QMAKE_PRO = oauth
QMAKE = $(QNX_HOST)/usr/bin/qmake
TARGET = $(QMAKE_TARGET)
all: Makefile $(QMAKE_TARGET)
clean:
$(MAKE) -C ./arm -f Makefile sureclean
$(MAKE) -C ./x86 -f Makefile sureclean
Makefile: FORCE
$(QMAKE) -spec unsupported/blackberry-armv7le-qcc -o arm/Makefile $(QMAKE_PRO).pro CONFIG+=device
$(QMAKE) -spec unsupported/blackberry-x86-qcc -o x86/Makefile $(QMAKE_PRO).pro CONFIG+=simulator
$(MAKE) -C ./translations -f Makefile update release
FORCE:
$(QMAKE_TARGET): device simulator
device:
$(MAKE) -C ./arm -f Makefile all
Device-Debug: Makefile
$(MAKE) -C ./arm -f Makefile debug
Device-Release: Makefile
$(MAKE) -C ./arm -f Makefile release
simulator:
$(MAKE) -C ./x86 -f Makefile all
Simulator-Debug: Makefile
$(MAKE) -C ./x86 -f Makefile debug