Imported vanilla contents from upstream
[construo.git] / Makefile.am
blobb26477de1734b1dd8e4b7326ed82882316e500f0
1 ##  Construo - A wire-frame construction game
2 ##  Copyright (C) 2002 Ingo Ruhnke <grumbel@gmx.de>
3 ##
4 ##  This program is free software; you can redistribute it and/or
5 ##  modify it under the terms of the GNU General Public License
6 ##  as published by the Free Software Foundation; either version 2
7 ##  of the License, or (at your option) any later version.
8 ## 
9 ##  This program is distributed in the hope that it will be useful,
10 ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ##  GNU General Public License for more details.
13 ##  
14 ##  You should have received a copy of the GNU General Public License
15 ##  along with this program; if not, write to the Free Software
16 ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18 SUBDIRS = examples
20 bindir=$(prefix)/games
22 bin_PROGRAMS = @ConstruoTargets@
24 EXTRA_PROGRAMS = construo.x11 construo.glut construo.freeglut
26 noinst_LIBRARIES = libconstruo.a
28 libconstruo_a_SOURCES = \
29 bounding_box.cxx \
30 bounding_box.hxx \
31 buttons.hxx \
32 collider.hxx \
33 color.hxx \
34 colors.cxx \
35 colors.hxx \
36 command_line.cxx \
37 command_line.hxx \
38 config.cxx \
39 config.hxx \
40 construo.cxx \
41 construo.hxx \
42 construo_error.hxx \
43 controller.cxx \
44 controller.hxx \
45 cursor_collider.xbm \
46 cursor_collider_mask.xbm \
47 cursor_insert.xbm \
48 cursor_insert_mask.xbm \
49 cursor_scroll.xbm \
50 cursor_scroll_mask.xbm \
51 cursor_select.xbm \
52 cursor_select_mask.xbm \
53 cursor_zoom.xbm \
54 cursor_zoom_mask.xbm \
55 cursors.hxx \
56 delta_manager.hxx \
57 events.hxx \
58 force_emitter.hxx \
59 globals.cxx \
60 globals.hxx \
61 graphic_context.hxx \
62 gui_buttons.cxx \
63 gui_buttons.hxx \
64 gui_child_manager.cxx \
65 gui_child_manager.hxx \
66 gui_component.cxx \
67 gui_component.hxx \
68 gui_directory.cxx \
69 gui_directory.hxx \
70 gui_directory_button.cxx \
71 gui_directory_button.hxx \
72 gui_file_button.cxx \
73 gui_file_button.hxx \
74 gui_file_manager.cxx \
75 gui_file_manager.hxx \
76 gui_label.cxx \
77 gui_label.hxx \
78 gui_manager.cxx \
79 gui_manager.hxx \
80 gui_new_file_button.cxx \
81 gui_new_file_button.hxx \
82 gui_window.cxx \
83 gui_window.hxx \
84 input_context.cxx \
85 input_context.hxx \
86 keep_alive.hxx \
87 keep_alive_mgr.cxx \
88 keep_alive_mgr.hxx \
89 keys.hxx \
90 lisp_reader.cxx \
91 lisp_reader.hxx \
92 lisp_writer.cxx \
93 lisp_writer.hxx \
94 lispreader.cxx \
95 lispreader.hxx \
96 load_gui_manager.cxx \
97 load_gui_manager.hxx \
98 math.hxx \
99 particle.cxx \
100 particle.hxx \
101 particle_factory.cxx \
102 particle_factory.hxx \
103 path_manager.cxx \
104 path_manager.hxx \
105 rect.hxx \
106 rect_collider.cxx \
107 rect_collider.hxx \
108 root_graphic_context.cxx \
109 root_graphic_context.hxx \
110 save_gui_manager.cxx \
111 save_gui_manager.hxx \
112 screen_manager.cxx \
113 screen_manager.hxx \
114 selection.cxx \
115 selection.hxx \
116 settings.cxx \
117 settings.hxx \
118 spring.cxx \
119 spring.hxx \
120 spring_type.hxx \
121 string_utils.cxx \
122 string_utils.hxx \
123 system_context.hxx \
124 unix_system.cxx \
125 unix_system.hxx \
126 vector.cxx \
127 vector.hxx \
128 vector2d.hxx \
129 world.cxx \
130 world.hxx \
131 world_button.cxx \
132 world_button.hxx \
133 world_gui_manager.cxx \
134 world_gui_manager.hxx \
135 worldview_collider_tool.cxx \
136 worldview_collider_tool.hxx \
137 worldview_component.cxx \
138 worldview_component.hxx \
139 worldview_insert_tool.cxx \
140 worldview_insert_tool.hxx \
141 worldview_select_tool.cxx \
142 worldview_select_tool.hxx \
143 worldview_tool.cxx \
144 worldview_tool.hxx \
145 worldview_zoom_tool.cxx \
146 worldview_zoom_tool.hxx \
147 zoom_graphic_context.cxx \
148 zoom_graphic_context.hxx
150 construo_x11_SOURCES  = construo_main.cxx construo_main.hxx x11_display.hxx x11_display.cxx 
151 construo_x11_LDADD    = libconstruo.a @x11_LIBS@
152 construo_x11_CXXFLAGS = -DUSE_X11_DISPLAY @x11_CXXFLAGS@
154 construo_glut_SOURCES = construo_main.cxx construo_main.hxx glut_display.hxx glut_display.cxx
155 construo_glut_LDADD   = libconstruo.a @glut_LIBS@
156 construo_glut_CXXFLAGS = -DUSE_GLUT_DISPLAY -DHAVE_GLUT
158 construo_freeglut_SOURCES = construo_main.cxx construo_main.hxx glut_display.hxx glut_display.cxx
159 construo_freeglut_LDADD   = libconstruo.a @freeglut_LIBS@
160 construo_freeglut_CXXFLAGS = -DUSE_GLUT_DISPLAY -DHAVE_FREEGLUT
162 # pkgdatadir = $(datadir)/games/@PACKAGE@
163 EXTRA_DIST = TODO  INSTALL.configure xml2sexpr.sh compatlib/sstream
165 # EOF #