]> git.tdb.fi Git - libs/gui.git/blob - Build
OpenGL can now be required as a package on all archs
[libs/gui.git] / Build
1 /* $Id$ */
2
3 package "mspgbase"
4 {
5         description "Mikkosoft Productions graphics base library";
6         version "0.0";
7
8         require "mspcore";
9         require "mspstrings";
10         require "sigc++-2.0";
11         require "opengl";
12         if "arch!=win32"
13         {
14                 require "xlib";
15                 build_info
16                 {
17                         library "Xxf86vm";
18                 };
19         };
20         if "arch=win32"
21         {
22                 build_info
23                 {
24                         library "gdi32";
25                 };
26         };
27
28         headers "gbase"
29         {
30                 source "source/gbase";
31                 install_headers "msp/gbase";
32         };
33
34         headers "input"
35         {
36                 source "source/input";
37                 install_headers "msp/input";
38         };
39
40         library "mspgbase"
41         {
42                 source "source/gbase";
43                 source "source/input";
44                 install true;
45         };
46 };