2009-04-25 19:43:47 +00:00
|
|
|
RELEASE=1
|
2009-03-10 21:58:00 +00:00
|
|
|
DESTDIR=
|
|
|
|
|
2009-04-01 00:28:13 +00:00
|
|
|
COMPILER?=gcc
|
2011-06-13 23:44:28 +00:00
|
|
|
#COMPILER=maemo
|
2009-04-03 11:11:17 +00:00
|
|
|
#COMPILER=mingw32-gcc
|
|
|
|
#tcc
|
2009-03-22 04:37:46 +00:00
|
|
|
|
2009-03-31 00:50:02 +00:00
|
|
|
# verbose error messages everywhere
|
2009-03-31 10:55:26 +00:00
|
|
|
STATIC_DEBUG=0
|
2009-03-31 00:50:02 +00:00
|
|
|
# getenv("LIBR_RTDEBUG");
|
2009-04-01 00:28:13 +00:00
|
|
|
RUNTIME_DEBUG?=1
|
2009-03-31 00:50:02 +00:00
|
|
|
|
2009-03-10 21:58:00 +00:00
|
|
|
ifeq (${RELEASE},1)
|
|
|
|
PREFIX=/usr/local
|
|
|
|
else
|
|
|
|
PREFIX=${PWD}/prefix
|
|
|
|
VERSION=`date '+%Y%m%d'`
|
|
|
|
endif
|
2009-03-31 00:57:39 +00:00
|
|
|
|
2011-03-13 19:27:28 +00:00
|
|
|
PFX=${DESTDIR}${PREFIX}
|
|
|
|
|
2009-04-01 00:28:13 +00:00
|
|
|
LIBDIR=${PREFIX}/lib
|
|
|
|
|
2009-03-31 00:57:39 +00:00
|
|
|
-include config-user.mk
|
2009-09-25 02:04:51 +00:00
|
|
|
-include ../config-user.mk
|
2010-01-15 00:32:28 +00:00
|
|
|
-include ../../config-user.mk
|
2010-02-21 20:34:10 +00:00
|
|
|
-include ../../../config-user.mk
|
2010-01-18 21:14:19 +00:00
|
|
|
|
|
|
|
-include mk/${COMPILER}.mk
|
|
|
|
-include ../mk/${COMPILER}.mk
|
|
|
|
-include ../../mk/${COMPILER}.mk
|
2010-02-21 20:34:10 +00:00
|
|
|
-include ../../../mk/${COMPILER}.mk
|