Move unpack lwip ip address macro to macros module.
[bertos.git] / bertos / emul / emul.mk
1 #
2 # Copyright 2007 Bernie Innocenti (http://www.codewiz.org/)
3 # All rights reserved.
4 #
5 # Author: Bernie Innocenti <bernie@codewiz.org>
6 #
7 # Qt configuration for BeRTOS emulator.  Include it from
8 # your app Makefile fragment
9
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
14         QT_MOC = /usr/bin/moc
15 #On other platforms.
16 else
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)
21 endif
22