22 lines
604 B
Python
22 lines
604 B
Python
#!/usr/bin/python
|
|
import sys
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
incs = '. intern #/intern/guardedalloc ../blenkernel ../blenlib ../makesdna ../editors/include'
|
|
incs += ' #/extern/glew/include'
|
|
incs += ' ' + env['BF_FREETYPE_INC']
|
|
incs += ' ' + env['BF_GETTEXT_INC']
|
|
|
|
defs = []
|
|
|
|
if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross':
|
|
defs.append('_WIN32')
|
|
defs.append('USE_GETTEXT_DLL')
|
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
defs.append('INTERNATIONAL')
|
|
|
|
env.BlenderLib ( 'bf_blenfont', sources, Split(incs), Split(defs), libtype=['core','player'], priority=[210,210] )
|