bernard.xiong@gmail.com 67f60b770c Add pcap driver(for win32) in simulator porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2391 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 16:29:36 +00:00

14 lines
324 B
Python

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd + '/Include']
LIBPATH = [cwd + '/Lib']
CPPDEFINES = ['WIN32']
LIBS = ['wpcap']
group = DefineGroup('Pcap', src, depend = ['RT_USING_LWIP'], CPPPATH = CPPPATH, LIBPATH=LIBPATH, CPPDEFINES=CPPDEFINES, LIBS=LIBS)
Return('group')