]> git.tdb.fi Git - libs/gui.git/blobdiff - Build
Add a missing include
[libs/gui.git] / Build
diff --git a/Build b/Build
index 338611954e8895141c2d05f90761d77c71302709..e68abea116a842c0bf562d9194db0234ade3c915 100644 (file)
--- a/Build
+++ b/Build
@@ -8,11 +8,10 @@ package "mspgbase"
        require "mspcore";
        require "mspstrings";
        require "sigc++-2.0";
-       // The OpenGL stuff is hackish, but only way to do it right now
+       require "opengl";
        if "arch!=win32"
        {
                require "xlib";
-               require "opengl";
                build_info
                {
                        library "Xxf86vm";
@@ -22,15 +21,26 @@ package "mspgbase"
        {
                build_info
                {
-                       library "opengl32";
                        library "gdi32";
                };
        };
 
+       headers "gbase"
+       {
+               source "source/gbase";
+               install_headers "msp/gbase";
+       };
+
+       headers "input"
+       {
+               source "source/input";
+               install_headers "msp/input";
+       };
+
        library "mspgbase"
        {
-               source "source";
+               source "source/gbase";
+               source "source/input";
                install true;
-               install_headers "msp/gbase";
        };
 };