2 # Copyright 2007 Bernie Innocenti (http://www.codewiz.org/)
5 # Author: Bernie Innocenti <bernie@codewiz.org>
7 # Qt configuration for BeRTOS emulator. Include it from
8 # your app Makefile fragment
10 #On Darwin architecture environment variables need a different configuration.
11 ifeq ($(shell uname | grep -c "Darwin"),1)
12 EMUL_CFLAGS = -D'ARCH=(ARCH_EMUL|ARCH_QT)' -DQT_CLEAN_NAMESPACE
13 EMUL_LDFLAGS = -framework QtGui -framework QtCore
17 EMUL_CFLAGS = -D'ARCH=(ARCH_EMUL|ARCH_QT)' $(shell pkg-config QtCore QtGui --cflags) -DQT_CLEAN_NAMESPACE
18 EMUL_LDFLAGS = $(shell pkg-config QtCore QtGui --libs)
19 QT_MOC = $(shell pkg-config QtCore --variable=moc_location)
20 #QT_UIC = $(shell pkg-config QtCore --variable=uic_location)