source: golgotha/src/i4/project.i4 @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 12 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 10.1 KB
RevLine 
[80]1[lib dll_base]
2  linux "threads/no_threads.cc"
3
4#  linux "threads/linux/threads.cc"
5#  linux add_to_executable "/lib/libpthread.a"
6
7  win32 "threads/win32_threads.cc"
8
9  win32 add_include_directory c:/dx6/include
10  win32 add_include_directory c:/msdev/vc/include
11  win32 add_to_executable "file/win32/win_file.cc"
12  win32 "time/win_time.cc"
13  win32 "main/win_main.cc"
14  win32 "time/timedev.cc"
15  win32 "app/win32_registry.cc"
16  linux "app/linux_registry.cc"
17
18  "file/async.cc"
19
20
21
22  linux add_to_executable "file/linux/linux_file.cc"
23
24  linux "main/nrm_main.cc"
25  linux "time/unixtime.cc"
26  linux "time/timedev.cc"
27
28  "inc/search.cc"
29  "file/file.cc"
30  "file/buf_file.cc"
31  "checksum/checksum.cc"
32  "time/profile.cc" 
33 
34  add_to_executable "memory/malloc.cc"  # memory_manager initializes through i4_init
35  "memory/bmanage.cc"
36  "memory/growheap.cc"
37  "init/init.cc"
38
39  add_to_executable "error/error.cc"  # add_to_executable because having problems with breakpoints
40  win32 add_to_executable "error/msvc_exec.cc"
41
42  "error/alert.cc"
43
44  "network/login.cc"
45
46  "string/str_checksum.cc"
47  "string/string.cc"
48  "status/status.cc"
49
50  add_include_directory .
51  add_include_directory inc
52
53#  linux hostname k6.crack.com add_include_directory "/usr/local/pthreads/include"
54#  linux hostname k6.crack.com add_to_executable "/usr/local/pthreads/lib/libpthread.a"
55#  linux nothostname k6.crack.com add_to_executable "/lib/libpthread.so.0"
56
57  win32 profile add_to_plugin c:\msdev\vc\lib\glowcode.lib
58
59  win32 add_to_plugin        c:\msdev\vc\lib\comctl32.lib
60  win32 add_to_executable c:\msdev\vc\lib\comctl32.lib
61
62  win32 add_to_plugin        c:\msdev\vc\lib\msvcrt.lib
63  win32 add_to_executable c:\msdev\vc\lib\msvcrt.lib
64
65  win32 add_to_plugin        c:\msdev\vc\lib\oldnames.lib
66  win32 add_to_executable c:\msdev\vc\lib\oldnames.lib
67
68  win32 add_to_plugin        c:\msdev\vc\lib\kernel32.lib
69  win32 add_to_executable c:\msdev\vc\lib\kernel32.lib
70
71  win32 add_to_executable c:\msdev\vc\lib\ole32.lib
72  win32 add_to_executable c:\msdev\vc\lib\advapi32.lib
73  win32 add_to_executable c:\msdev\vc\lib\uuid.lib
74  win32 add_to_executable c:\msdev\vc\lib\user32.lib
75  linux add_to_executable "/usr/lib/libstdc++.so"
76
77[lib base]
78  use dll_base
79
80[list ram_files]
81  use dll_base
82  add_to_executable "file/ram_file_man.cc"
83
84[lib rectlist]
85  use dll_base
86  "area/rectlist.cc"
87#  add_to_executable  "area/rect_debug.cc"      # for debugin clip list
88
89[lib image]
90  use rectlist
91  "image/image.cc"
92  "image/image8.cc"
93  "image/image16.cc"       
94  "image/image32.cc"
95  "palette/pal.cc"
96
97[lib device] 
98  use dll_base
99  "device/processor.cc"
100  win32 "device/win32_cpu.cc"
101  "device/device.cc"
102  "device/event.cc"
103  "device/kernel.cc"
104
105[lib quantize]
106  use image
107  "quantize/median.cc"
108  "quantize/histogram.cc"
109  "quantize/dither_quantize.cc"
110
111[list dx_guid]
112  win32 add_to_executable "c:\dx6\lib\dxguid.lib"
113
114[lib sound]
115  use dll_base
116
117  "sound/sound.cc" 
118  "loaders/wav_load.cc"
119
120  win32 use dx_guid
121  win32 add_to_executable "c:\dx6\lib\dsound.lib"
122  win32 add_to_executable "sound/dsound/a3d.lib"
123  win32 add_to_executable "sound/dsound/direct_sound.cc"
124
125[lib ttree]
126  use dll_base
127  "inc/ttree.cc"
128
129
130
131[lib image_load]
132  use image
133  "loaders/load.cc"
134
135[lib pcx]
136  use image_load
137  add_to_executable "loaders/pcx_load.cc"
138
139[lib bmp]
140  use image_load
141  add_to_executable "loaders/bmp_load.cc"
142  "loaders/bmp_write.cc"
143
144[lib tga] 
145  use image_load
146  add_to_executable "loaders/tga_load.cc"
147  "loaders/tga_write.cc"
148
149[lib pull_menu]
150  use lisp
151  "menu/pull.cc"
152  "gui/li_pull_menu.cc"
153
154[lib gui]
155  use device
156  use tga
157  use pcx
158  use bmp
159  use ram_files
160  use keys
161       
162  ram_file "resource/helvetica_8.tga"
163  ram_file "resource/closicon.tga"
164  ram_file "resource/downicon.pcx"
165  ram_file "resource/i4.res"
166  ram_file "resource/lefticon.pcx"
167  ram_file "resource/minus.pcx"
168  ram_file "resource/normcurs.pcx"
169  ram_file "resource/normfont.pcx"
170  ram_file "resource/plus.pcx"
171  ram_file "resource/rigticon.pcx"
172  ram_file "resource/sqr2curs.pcx"
173  ram_file "resource/textcurs.pcx"
174  ram_file "resource/upicon.pcx"
175  ram_file "resource/bground.tga"
176  ram_file "resource/ok.tga"
177  ram_file "resource/cancel.tga"
178
179  "font/font.cc"
180  "font/plain.cc"
181  "font/anti_prop.cc"
182  "window/style.cc"
183  "menu/menu.cc"
184  "menu/key_item.cc"
185
186  "menu/boxmenu.cc"
187  "menu/menuitem.cc"
188  "menu/textitem.cc"
189  "menu/image_item.cc"
190  "gui/button.cc"
191  "gui/butbox.cc"
192  "gui/text_scroll.cc"
193  "gui/image_win.cc"
194
195  "window/cursor.cc"   
196  "window/window.cc"
197  "window/win_evt.cc"
198  "window/colorwin.cc"
199  "window/dragwin.cc"
200  "status/gui_stat.cc"
201
202
203  "gui/scroll_bar.cc"
204  "gui/create_dialog.cc"
205  "gui/slider.cc"
206  "gui/smp_dial.cc"
207  "gui/text_input.cc"
208  "gui/list_box.cc"
209  "time/gui_prof.cc"
210  "gui/gradiant.cc"
211  "gui/divider.cc"
212  "gui/tab_bar.cc"
213
214  add_to_executable "window/mwmstyle.cc"
215
216
217
218# gets a filename from the using a system dialog
219[lib get_filename]
220  use gui
221  win32 add_to_executable c:\msdev\vc\lib\comdlg32.lib
222  win32 "file/win32/win_open.cc"
223  linux "file/linux/unix_open.cc"
224
225
226[lib dir]
227  use dll_base
228  "loaders/dir_load.cc"
229  "loaders/dir_save.cc"
230
231
232[lib jpg_load]
233  use image_load
234  add_to_executable "loaders/jpg_load.cc" 
235  "loaders/jpg/jccoefct.cc" 
236  "loaders/jpg/jcmaster.cc"
237  "loaders/jpg/jdapistd.cc" 
238  "loaders/jpg/jdhuff.cc"       
239  "loaders/jpg/jdmerge.cc"   
240  "loaders/jpg/jfdctflt.cc"     
241  "loaders/jpg/jidctint.cc" 
242  "loaders/jpg/jquant2.cc"
243  "loaders/jpg/jccolor.cc"   
244  "loaders/jpg/jcomapi.cc"     
245  "loaders/jpg/jdatasrc.cc" 
246  "loaders/jpg/jdinput.cc"     
247  "loaders/jpg/jdphuff.cc"   
248  "loaders/jpg/jfdctfst.cc"     
249  "loaders/jpg/jidctred.cc" 
250  "loaders/jpg/jutils.cc"
251  "loaders/jpg/jcdctmgr.cc" 
252  "loaders/jpg/jcparam.cc"     
253  "loaders/jpg/jdcoefct.cc" 
254  "loaders/jpg/jdmainct.cc"     
255  "loaders/jpg/jdpostct.cc" 
256  "loaders/jpg/jfdctint.cc"     
257  "loaders/jpg/jmemmgr.cc"   
258  "loaders/jpg/wrtarga.cc"
259  "loaders/jpg/jchuff.cc"   
260  "loaders/jpg/jcphuff.cc"     
261  "loaders/jpg/jdcolor.cc"   
262  "loaders/jpg/jdmarker.cc"     
263  "loaders/jpg/jdsample.cc" 
264  "loaders/jpg/jidctflt.cc"     
265  "loaders/jpg/jmemnobs.cc"
266  "loaders/jpg/jcmarker.cc" 
267  "loaders/jpg/jdapimin.cc"     
268  "loaders/jpg/jddctmgr.cc" 
269  "loaders/jpg/jdmaster.cc"     
270  "loaders/jpg/jerror.cc"   
271  "loaders/jpg/jidctfst.cc"     
272  "loaders/jpg/jquant1.cc"
273
274[lib jpg_write]
275  use jpg_load
276  "loaders/jpg_write.cc"
277  "loaders/jpg/jcmainct.cc"
278  "loaders/jpg/jcprepct.cc"
279  "loaders/jpg/jcsample.cc"
280  "loaders/jpg/jcinit.cc"
281  "loaders/jpg/jcapistd.cc" 
282  "loaders/jpg/jcapimin.cc"
283
284
285
286[lib dll]
287  use base 
288  win32 "dll/win32_dll.cc"
289  linux "dll/linux_dll.cc"
290  add_to_executable dll/dll_man.cc
291  linux add_to_executable /lib/libdl.so.2
292
293[lib networking]
294  use base
295  add_to_executable "network/tcpip.cc"
296  "network/net_prot.cc"
297  win32 add_to_executable "c:\msdev\vc\lib\wsock32.lib"
298
299[lib async_files]
300  use base
301  linux use networking  # linux uses sockets to comminicate with async-file reader     
302  linux add_to_executable "file/linux/async.cc"
303
304
305[lib music]
306  use base
307  "music/stream.cc"
308
309
310[lib keys]
311  use dll_base
312  device/keys.cc
313  device/key_man.cc
314
315[lib display]
316  use image
317  use device
318  use keys
319  "video/display.cc"
320  win32 "video/win32/win32_input.cc"
321  win32 add_to_executable c:\msdev\vc\lib\gdi32.lib
322  win32 add_to_executable c:\msdev\vc\lib\shell32.lib
323  win32 add_include_directory c:\msdev\vc\mfc\include
324  win32 add_to_executable video/win32/display.res
325  win32 link_as_windowed_app
326
327[lib win32_display]
328  use display
329  win32 add_to_executable "video/win32/win32.cc"
330
331[lib dx5_display]
332  use display
333  win32 add_include_directory c:/msdev/include
334  win32 use dx_guid
335  win32 "video/win32/dx5_error.cc"
336  win32 "video/win32/dx5_mouse.cc"
337  win32 "video/win32/dx5_util.cc"
338  win32 "video/win32/dx_cursor.cc"
339  win32 "video/win32/dd_cursor.cc"
340  win32 add_to_executable "video/win32/dx5.cc"
341  win32 add_to_executable "c:\dx6\lib\ddraw.lib"
342  win32 add_to_executable "c:\dx6\lib\dinput.lib"
343
344
345[lib X11_display]
346  use display
347  linux add_to_executable "video/x11/x11_display.cc"
348  linux "video/x11/x11_input.cc"
349  linux add_to_executable /usr/X11R6/lib/libX11.so
350  linux add_to_executable /usr/X11R6/lib/libXext.so
351
352
353[lib glide_display]
354  use display
355  linux add_include_directory "/usr/local/glide/include"
356
357  video/glide/glide_display.cc
358
359  linux "video/x11/x11_input.cc"
360  linux add_to_executable "video/glide/x11_glide.cc"      # add this to parent target not library
361  linux add_to_executable /usr/local/glide/lib/libglide2x.so
362  linux add_to_executable /usr/X11R6/lib/libX11.so
363  linux add_to_executable /usr/X11R6/lib/libXext.so
364
365  win32 use dx5_display
366  win32 add_to_executable "video/glide/win32_glide.cc"
367
368
369[list self_modify]
370  use base
371  win32 add_to_executable "main/win32_self_modify.cc"
372
373[lib app]
374  use gui
375  "window/wmanager.cc"
376  "app/app.cc"
377
378[lib math]
379  use dll_base
380  "math/spline.cc"
381  "math/transform.cc"
382  "math/random.cc"
383
384[lib lisp]
385  use base
386  use dir
387  "lisp/lisp.cc"
388  win32 add_to_executable "lisp/msvc_lip.cc"
389  "lisp/li_types.cc"
390  "lisp/li_alloc.cc"
391
392[lib lisp_class]
393  add_to_executable "lisp/li_class.cc"
394
395[lib lisp_load]
396  use dll_base
397  "lisp/li_load.cc"
398
399[lib lisp_dialog]
400  use app
401  add_to_executable "lisp/li_dialog.cc"
402
403[lib mp3_load]
404  use base
405  loaders/mp3_load.cc
406  loaders/mp3/decode.cc
407  loaders/mp3/dct64.cc
408  loaders/mp3/common.cc
409  loaders/mp3/decode_2to1.cc
410  loaders/mp3/decode_4to1.cc
411  loaders/mp3/tabinit.cc
412  loaders/mp3/layer1.cc
413  loaders/mp3/layer2.cc
414  loaders/mp3/layer3.cc
415  loaders/mp3/getlopt.cc
416  loaders/mp3/equalizer.cc
417
418[lib everything]
419  use math
420  use rectlist
421  use image
422  use device
423  use quantize
424  use sound
425  use fonts
426  use image_load
427  use pcx
428  use bmp
429  use tga
430  use gui
431  use dir
432  use jpg
433  use dll
434  use networking
435  use display
436  use glide_display
437  use dx5_display
438
439
440[executable lisp_test]
441  use lisp
442  "lisp/lisp_test.cc" 
Note: See TracBrowser for help on using the repository browser.