includes: add ext to the includes path.

move dnet to the correct place so that we use this

--HG--
rename : ext/dnet/dnet/addr.h => ext/dnet/addr.h
rename : ext/dnet/dnet/arp.h => ext/dnet/arp.h
rename : ext/dnet/dnet/blob.h => ext/dnet/blob.h
rename : ext/dnet/dnet/eth.h => ext/dnet/eth.h
rename : ext/dnet/dnet/fw.h => ext/dnet/fw.h
rename : ext/dnet/dnet/icmp.h => ext/dnet/icmp.h
rename : ext/dnet/dnet/intf.h => ext/dnet/intf.h
rename : ext/dnet/dnet/ip.h => ext/dnet/ip.h
rename : ext/dnet/dnet/ip6.h => ext/dnet/ip6.h
rename : ext/dnet/dnet/os.h => ext/dnet/os.h
rename : ext/dnet/dnet/rand.h => ext/dnet/rand.h
rename : ext/dnet/dnet/route.h => ext/dnet/route.h
rename : ext/dnet/dnet/tcp.h => ext/dnet/tcp.h
rename : ext/dnet/dnet/udp.h => ext/dnet/udp.h
This commit is contained in:
Nathan Binkert 2009-03-17 12:49:03 -07:00
parent f3621f11d5
commit a102f84540
16 changed files with 3 additions and 3 deletions

View file

@ -373,6 +373,9 @@ else:
Export('base_dir') Export('base_dir')
Export('extras_dir_list') Export('extras_dir_list')
# the ext directory should be on the #includes path
env.Append(CPPPATH=[Dir('ext')])
# M5_PLY is used by isa_parser.py to find the PLY package. # M5_PLY is used by isa_parser.py to find the PLY package.
env.Append(ENV = { 'M5_PLY' : Dir('ext/ply').abspath }) env.Append(ENV = { 'M5_PLY' : Dir('ext/ply').abspath })
@ -418,7 +421,6 @@ if env['BATCH']:
if sys.platform == 'cygwin': if sys.platform == 'cygwin':
# cygwin has some header file issues... # cygwin has some header file issues...
env.Append(CCFLAGS=Split("-Wno-uninitialized")) env.Append(CCFLAGS=Split("-Wno-uninitialized"))
env.Append(CPPPATH=[Dir('ext/dnet')])
# Check for SWIG # Check for SWIG
if not env.has_key('SWIG'): if not env.has_key('SWIG'):

View file

@ -28,8 +28,6 @@
# #
# Authors: Nathan Binkert # Authors: Nathan Binkert
import os, subprocess
Import('env') Import('env')
env.Library('gzstream', [File('gzstream.cc')]) env.Library('gzstream', [File('gzstream.cc')])