I've no idea here...
[gtkD.git] / srcgl / lib / paths.d
blob0695e944d9a0c7cccd08cc65ec82ee985c5d279f
1 /*
2 * This file is part of Duit. Adapted from:
4 * paths.d -- list of libraries that will be dynamically linked with DUI
6 * Added: John Reimer -- 2004-12-20
7 * Updated: 2005-02-21 changed names; added version(linux)
8 * Updated: 2005-05-05 updated Linux support
9 */
11 module lib.paths;
13 /*
14 * Define the Libraries that Duit will be using.
15 * This is a growable list, as long as the programmer
16 * also adds to the importLibs list.
19 enum LIBRARY
21 ATK,
22 CAIROLIB,
23 GDK,
24 GDKPIXBUF,
25 GLIB,
26 GMODULE,
27 GOBJECT,
28 GTHREAD,
29 GTK,
30 PANGO,
31 GLGDK,
32 GLGTK,
33 GL,
34 GLU,
35 GLEXT
38 version (Windows)
40 const char[][LIBRARY.max+1] importLibs =
42 LIBRARY.ATK: "libatk-1.0-0.dll",
43 LIBRARY.CAIROLIB: "libcairo-1.0-0.dll",
44 LIBRARY.GDK: "libgdk-win32-2.0-0.dll",
45 LIBRARY.GDKPIXBUF: "libgdk_pixbuf-2.0-0.dll",
46 LIBRARY.GLIB: "libglib-2.0-0.dll",
47 LIBRARY.GMODULE: "libgmodule-2.0-0.dll",
48 LIBRARY.GOBJECT: "libgobject-2.0-0.dll",
49 LIBRARY.GTHREAD: "libgthread-2.0-0.dll",
50 LIBRARY.GTK: "libgtk-win32-2.0-0.dll",
51 LIBRARY.PANGO: "libpango-1.0-0.dll",
52 LIBRARY.GLGDK: "libgdkglext-win32-1.0-0.dll",
53 LIBRARY.GLGTK: "libgtkglext-win32-1.0-0.dll",
54 LIBRARY.GL: "opengl32.dll",
55 LIBRARY.GLU: "glu32.dll"
59 version(linux)
61 const char[][LIBRARY.max+1] importLibs =
63 LIBRARY.ATK: "libatk-1.0.so",
64 LIBRARY.CAIROLIB: "libcairo.so.2",
65 LIBRARY.GDK: "libgdk-x11-2.0.so",
66 LIBRARY.GDKPIXBUF: "libgdk_pixbuf-2.0.so",
67 LIBRARY.GLIB: "libglib-2.0.so",
68 LIBRARY.GMODULE: "libgmodule-2.0.so",
69 LIBRARY.GOBJECT: "libgobject-2.0.so",
70 LIBRARY.GTHREAD: "libgthread-2.0.so",
71 LIBRARY.GTK: "libgtk-x11-2.0.so",
72 LIBRARY.PANGO: "libpango-1.0.so",
73 LIBRARY.GLGDK: "libgdkglext-x11-1.0.so",
74 LIBRARY.GLGTK: "libgtkglext-x11-1.0.so",
75 LIBRARY.GL: "libGL.so",
76 LIBRARY.GLU: "libGLU.so",
77 LIBRARY.GLEXT: "libGL.so"
81 // Specify the default path for the DUI dll's
83 version(Windows) const char[] libPath = "\\Program Files\\Common Files\\GTK\\2.0\\bin\\";
85 // empty for linux because default path is known by ld
87 version(linux) const char[] libPath = "";