]> git.tdb.fi Git - libs/gui.git/blob - Build
Reorganize files to separate gbase and input
[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         // The OpenGL stuff is hackish, but only way to do it right now
12         if "arch!=win32"
13         {
14                 require "xlib";
15                 require "opengl";
16                 build_info
17                 {
18                         library "Xxf86vm";
19                 };
20         };
21         if "arch=win32"
22         {
23                 build_info
24                 {
25                         library "opengl32";
26                         library "gdi32";
27                 };
28         };
29
30         headers "gbase"
31         {
32                 source "source/gbase";
33                 install_headers "msp/gbase";
34         };
35
36         headers "input"
37         {
38                 source "source/input";
39                 install_headers "msp/input";
40         };
41
42         library "mspgbase"
43         {
44                 source "source/gbase";
45                 source "source/input";
46                 install true;
47         };
48 };