aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/loader/SConscript
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-01-19 14:11:48 +0100
committermarha <marha@users.sourceforge.net>2014-01-19 14:11:48 +0100
commit4f12e5d53c8a349320883b093c19d91874f9f46a (patch)
tree309dddb90bb1f4a8dba8d81a86f49e69b335c901 /mesalib/src/loader/SConscript
parent1b0fcca503ae9cf2d462b60770f96c794dfbb27a (diff)
downloadvcxsrv-4f12e5d53c8a349320883b093c19d91874f9f46a.tar.gz
vcxsrv-4f12e5d53c8a349320883b093c19d91874f9f46a.tar.bz2
vcxsrv-4f12e5d53c8a349320883b093c19d91874f9f46a.zip
fontconfig mesa git update 19 Jan 2013
fontconfig commit 5918d5bea5416cf27061db4263aefeb8fd310f0e mesa commit a33d1339d5bfb32377be92957a493f0e3d84b31e
Diffstat (limited to 'mesalib/src/loader/SConscript')
-rw-r--r--mesalib/src/loader/SConscript27
1 files changed, 27 insertions, 0 deletions
diff --git a/mesalib/src/loader/SConscript b/mesalib/src/loader/SConscript
new file mode 100644
index 000000000..76b087100
--- /dev/null
+++ b/mesalib/src/loader/SConscript
@@ -0,0 +1,27 @@
+Import('*')
+
+if not env['drm']:
+ Return()
+
+env = env.Clone()
+
+env.Prepend(CPPPATH = [
+ '#include'
+])
+
+env.PkgUseModules('DRM')
+
+if env['udev']:
+ env.PkgUseModules('UDEV')
+ env.Append(CPPDEFINES = ['HAVE_LIBUDEV'])
+
+# parse Makefile.sources
+sources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES')
+
+libloader = env.ConvenienceLibrary(
+ target = 'libloader',
+ source = sources,
+)
+
+env.Alias('libloader', libloader)
+Export('libloader')