waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

wscript (512B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 # Thomas Zellman 2009
      4 
      5 top = '.'
      6 out = 'build'
      7 
      8 def options(opt):
      9 	opt.load('compiler_c')
     10 	opt.load('java')
     11 
     12 def configure(conf):
     13 	conf.load('compiler_c')
     14 	conf.load('java')
     15 
     16 	conf.check_jni_headers()
     17 
     18 def build(bld):
     19 	bld(features='javac jar', srcdir='src/java', outdir='src/java', basedir='src/java', destfile='stringUtils.jar')
     20 
     21 	bld.shlib(
     22 		source   = 'src/jni/source/StringUtils.c',
     23 		includes = 'src/jni/include',
     24 		target   = 'stringUtils',
     25 		uselib   = 'JAVA')
     26