bin_PROGRAMS = q3base nobase_lib_LTLIBRARIES = \ baseq3/cgame.la baseq3/qagame.la baseq3/ui.la \ missionpack/cgame.la missionpack/qagame.la missionpack/ui.la SUFFIXES= .nasm .obj EXTRA_DIST = \ macosx/CGMouseDeltaFix.h macosx/CGMouseDeltaFix.m \ macosx/CGPrivateAPI.h macosx/GenerateQGL.pl \ macosx/Q3Controller.h macosx/Q3Controller.m macosx/Quake3.icns \ macosx/Quake3.nib/classes.nib macosx/Quake3.nib/info.nib \ macosx/Quake3.nib/objects.nib \ macosx/Quake3.xcodeproj/apple.pbxuser \ macosx/Quake3.xcodeproj/project.pbxproj macosx/banner.jpg \ macosx/macosx_display.h macosx/macosx_display.m \ macosx/macosx_glimp.h macosx/macosx_glimp.m \ macosx/macosx_glsmp_mutex.m macosx/macosx_glsmp_null.m \ macosx/macosx_glsmp_ports.m macosx/macosx_input.m \ macosx/macosx_local.h macosx/macosx_qgl.h \ macosx/macosx_sndcore.m macosx/macosx_snddma.m \ macosx/macosx_sys.m macosx/macosx_timers.h \ macosx/macosx_timers.m \ \ win32/README.txt win32/botlib.vcproj win32/cgame.vcproj \ win32/game.vcproj win32/glw_win.h win32/q3_ui.vcproj \ win32/qe3.ico win32/quake3.sln win32/quake3.vcproj \ win32/renderer.vcproj win32/resource.h win32/sdl.vcproj \ win32/ui.vcproj win32/win_gamma.c win32/win_glimp.c \ win32/win_input.c win32/win_local.h win32/win_main.c \ win32/win_qgl.c win32/win_shared.c win32/win_snd.c \ win32/win_syscon.c win32/win_wndproc.c win32/winquake.rc \ \ cgame/cgame.def game/game.def q3_ui/ui.def \ renderer/ref_trin.def ui/ui.def # Client ######## q3base_SOURCES = \ botlib/aasfile.h botlib/be_aas_bsp.h botlib/be_aas_bspq3.c \ botlib/be_aas_cluster.c botlib/be_aas_cluster.h \ botlib/be_aas_debug.c botlib/be_aas_debug.h \ botlib/be_aas_def.h botlib/be_aas_entity.c \ botlib/be_aas_entity.h botlib/be_aas_file.c \ botlib/be_aas_file.h botlib/be_aas_funcs.h \ botlib/be_aas_main.c botlib/be_aas_main.h botlib/be_aas_move.c \ botlib/be_aas_move.h botlib/be_aas_optimize.c \ botlib/be_aas_optimize.h botlib/be_aas_reach.c \ botlib/be_aas_reach.h botlib/be_aas_route.c \ botlib/be_aas_route.h botlib/be_aas_routealt.c \ botlib/be_aas_routealt.h botlib/be_aas_sample.c \ botlib/be_aas_sample.h botlib/be_ai_char.c botlib/be_ai_chat.c \ botlib/be_ai_gen.c botlib/be_ai_goal.c botlib/be_ai_move.c \ botlib/be_ai_weap.c botlib/be_ai_weight.c \ botlib/be_ai_weight.h botlib/be_ea.c botlib/be_interface.c \ botlib/be_interface.h botlib/l_crc.c botlib/l_crc.h \ botlib/l_libvar.c botlib/l_libvar.h botlib/l_log.c \ botlib/l_log.h botlib/l_memory.c botlib/l_memory.h \ botlib/l_precomp.c botlib/l_precomp.h botlib/l_script.c \ botlib/l_script.h botlib/l_struct.c botlib/l_struct.h \ botlib/l_utils.h \ \ game/q_math.c game/q_shared.c \ \ qcommon/cm_load.c qcommon/cm_local.h qcommon/cm_patch.c \ qcommon/cm_patch.h qcommon/cm_polylib.c qcommon/cm_polylib.h \ qcommon/cm_public.h qcommon/cm_test.c qcommon/cm_trace.c \ qcommon/cmd.c qcommon/common.c qcommon/cvar.c qcommon/files.c \ qcommon/huffman.c qcommon/md4.c qcommon/msg.c \ qcommon/net_chan.c qcommon/qcommon.h qcommon/qfiles.h \ qcommon/unzip.c qcommon/unzip.h qcommon/vm.c \ qcommon/vm_interpreted.c qcommon/vm_local.h \ \ sdl/sdl_dll.c sdl/sdl_glw.h sdl/sdl_net.c sdl/sdl_local.h \ \ server/server.h server/sv_bot.c server/sv_ccmds.c \ server/sv_client.c server/sv_game.c server/sv_init.c \ server/sv_main.c server/sv_net_chan.c server/sv_snapshot.c \ server/sv_world.c \ \ unix/linux_common.c unix/unix_main.c unix/unix_shared.c \ unix/unix_signals.c \ \ $(SRC_CLIENT) $(SRC_CURSES_CON) $(SRC_VM) q3base_CFLAGS = -DBOTLIB -DNDEBUG -DC_ONLY -DSDL_DLL $(CFLAGS_VM) q3base_LDADD = $(LDADD_VM) if BUILD_CLIENT SRC_CLIENT = \ client/cl_cgame.c client/cl_cin.c client/cl_console.c \ client/cl_input.c client/cl_keys.c client/cl_main.c \ client/cl_net_chan.c client/cl_parse.c client/cl_scrn.c \ client/cl_ui.c client/client.h client/keys.h \ client/snd_adpcm.c client/snd_dma.c client/snd_local.h \ client/snd_mem.c client/snd_mix.c client/snd_public.h \ client/snd_wavelet.c \ \ renderer/qgl.h renderer/qgl_linked.h renderer/tr_animation.c \ renderer/tr_backend.c renderer/tr_bsp.c renderer/tr_cmds.c \ renderer/tr_curve.c renderer/tr_flares.c renderer/tr_font.c \ renderer/tr_image.c renderer/tr_init.c renderer/tr_light.c \ renderer/tr_local.h renderer/tr_main.c renderer/tr_marks.c \ renderer/tr_mesh.c renderer/tr_model.c renderer/tr_noise.c \ renderer/tr_public.h renderer/tr_scene.c renderer/tr_shade.c \ renderer/tr_shade_calc.c renderer/tr_shader.c \ renderer/tr_shadows.c renderer/tr_sky.c renderer/tr_surface.c \ renderer/tr_world.c \ \ sdl/sdl_glimp.c sdl/sdl_image.c sdl/sdl_joystick.c \ sdl/sdl_qgl.c \ \ unix/linux_local.h unix/linux_snd.c unix/qasm.h \ unix/unix_glw.h else SRC_CLIENT = \ null/null_client.c null/null_input.c null/null_snddma.c endif if BUILD_CURSES_CON SRC_CURSES_CON = \ unix/curses_con.c unix/curses_con.h else SRC_CURSES_CON = endif if BUILD_VM_I386 SRC_VM = qcommon/vm_x86.c unix/ftol.nasm LDADD_VM = q3base-ftol.obj CFLAGS_VM = q3base-ftol.obj: ${srcdir}/unix/ftol.nasm $(NASM) -f elf -o q3base-ftol.obj ${srcdir}/unix/ftol.nasm else if BUILD_VM_PPC SRC_VM = qcommon/vm_ppc.c CFLAGS_VM = else SRC_VM = CFLAGS_VM = -DDLL_ONLY endif LDADD_VM = endif # Shared objects ################ # Force installation of modules in a separate directory libdir = ${exec_prefix}/lib/quake3 LDFLAGS_MODULES = -module -avoid-version # cgame baseq3_cgame_la_SOURCES = \ cgame/cg_consolecmds.c cgame/cg_draw.c cgame/cg_drawtools.c \ cgame/cg_effects.c cgame/cg_ents.c cgame/cg_event.c \ cgame/cg_info.c cgame/cg_local.h cgame/cg_localents.c \ cgame/cg_main.c cgame/cg_marks.c cgame/cg_players.c \ cgame/cg_playerstate.c cgame/cg_predict.c cgame/cg_public.h \ cgame/cg_scoreboard.c cgame/cg_servercmds.c \ cgame/cg_snapshot.c cgame/cg_syscalls.c cgame/cg_view.c \ cgame/cg_weapons.c cgame/tr_types.h \ \ game/bg_misc.c game/bg_pmove.c game/bg_slidemove.c \ game/q_math.c game/q_shared.c baseq3_cgame_la_LDFLAGS = $(LDFLAGS_MODULES) missionpack_cgame_la_SOURCES = $(cgameq3_la_SOURCES) \ cgame/cg_newdraw.c ui/ui_shared.c missionpack_cgame_la_CFLAGS = -DMISSIONPACK missionpack_cgame_la_LDFLAGS = $(LDFLAGS_MODULES) # qagame baseq3_qagame_la_SOURCES = \ game/ai_chat.c game/ai_chat.h game/ai_cmd.c game/ai_cmd.h \ game/ai_dmnet.c game/ai_dmnet.h game/ai_dmq3.c game/ai_dmq3.h \ game/ai_main.c game/ai_main.h game/ai_team.c game/ai_team.h \ game/ai_vcmd.c game/ai_vcmd.h game/be_aas.h game/be_ai_char.h \ game/be_ai_chat.h game/be_ai_gen.h game/be_ai_goal.h \ game/be_ai_move.h game/be_ai_weap.h game/be_ea.h \ game/bg_local.h game/bg_misc.c game/bg_pmove.c \ game/bg_public.h game/bg_slidemove.c game/botlib.h \ game/chars.h game/g_active.c game/g_arenas.c game/g_bot.c \ game/g_client.c game/g_cmds.c game/g_combat.c game/g_items.c \ game/g_local.h game/g_main.c game/g_mem.c game/g_misc.c \ game/g_missile.c game/g_mover.c game/g_public.h \ game/g_session.c game/g_spawn.c game/g_svcmds.c \ game/g_syscalls.c game/g_target.c game/g_team.c game/g_team.h \ game/g_trigger.c game/g_utils.c game/g_weapon.c game/inv.h \ game/match.h game/q_math.c game/q_shared.c game/q_shared.h \ game/surfaceflags.h game/syn.h baseq3_qagame_la_LDFLAGS = $(LDFLAGS_MODULES) missionpack_qagame_la_SOURCES = $(qagameq3_la_SOURCES) missionpack_qagame_la_CFLAGS = -DMISSIONPACK missionpack_qagame_la_LDFLAGS = $(LDFLAGS_MODULES) # ui baseq3_ui_la_SOURCES = \ game/bg_misc.c game/q_math.c game/q_shared.c \ \ q3_ui/keycodes.h q3_ui/ui_addbots.c q3_ui/ui_atoms.c \ q3_ui/ui_cdkey.c q3_ui/ui_cinematics.c q3_ui/ui_confirm.c \ q3_ui/ui_connect.c q3_ui/ui_controls2.c q3_ui/ui_credits.c \ q3_ui/ui_demo2.c q3_ui/ui_display.c q3_ui/ui_gameinfo.c \ q3_ui/ui_ingame.c q3_ui/ui_loadconfig.c q3_ui/ui_local.h \ q3_ui/ui_main.c q3_ui/ui_menu.c q3_ui/ui_mfield.c \ q3_ui/ui_mods.c q3_ui/ui_network.c q3_ui/ui_options.c \ q3_ui/ui_playermodel.c q3_ui/ui_players.c \ q3_ui/ui_playersettings.c q3_ui/ui_preferences.c \ q3_ui/ui_qmenu.c q3_ui/ui_removebots.c q3_ui/ui_saveconfig.c \ q3_ui/ui_serverinfo.c q3_ui/ui_servers2.c q3_ui/ui_setup.c \ q3_ui/ui_sound.c q3_ui/ui_sparena.c q3_ui/ui_specifyserver.c \ q3_ui/ui_splevel.c q3_ui/ui_sppostgame.c q3_ui/ui_spskill.c \ q3_ui/ui_startserver.c q3_ui/ui_team.c q3_ui/ui_teamorders.c \ q3_ui/ui_video.c \ \ ui/ui_syscalls.c baseq3_ui_la_LDFLAGS = $(LDFLAGS_MODULES) missionpack_ui_la_SOURCES = \ game/bg_misc.c game/q_math.c game/q_shared.c \ \ ui/ui_atoms.c ui/ui_gameinfo.c ui/ui_main.c ui/ui_players.c \ ui/ui_shared.c ui/ui_syscalls.c ui/ui_util.c ui/keycodes.h \ ui/menudef.h ui/ui_local.h ui/ui_public.h ui/ui_shared.h missionpack_ui_la_CFLAGS = -DMISSIONPACK missionpack_ui_la_LDFLAGS = $(LDFLAGS_MODULES)