source: abuse/trunk/src/Makefile.am @ 731

Last change on this file since 731 was 731, checked in by jjsimpso, 4 years ago

sdlport: Add support for SDL2, inculding the game controller API. Configure
script will check for SDL2 and use it if present, otherwise it will fall
back to SDL v1. Some old SDL v1 features not implemented yet on SDL2, such
as saving screenshots.

core: Small change for SDL2 game controller API to disable the game
controller in the save/load game menu.

Summary of game controller API changes:

  • Enable with -gamepad
  • Tested with PS3 dualshock 3.
  • D-pad moves, right analog controls aiming
  • X: change weapon, []: jump, R1: fire, L1: special ability, /\:use/activate
  • All menu navigation requires the mouse, which is disabled during normal game play.
File size: 1.9 KB
Line 
1## Process this file with automake to produce Makefile.in
2
3SUBDIRS = lisp net imlib @SDLPORT_DIR@
4
5bin_PROGRAMS = abuse abuse-tool
6
7abuse_SOURCES = \
8    common.h \
9    \
10    lol/matrix.cpp lol/matrix.h \
11    lol/timer.cpp lol/timer.h \
12    \
13    specache.cpp specache.h \
14    netcfg.cpp netcfg.h \
15    innet.cpp \
16    chat.cpp chat.h \
17    endgame.cpp \
18    loadgame.cpp loadgame.h \
19    profile.cpp profile.h \
20    cop.cpp cop.h \
21    statbar.cpp \
22    compiled.cpp compiled.h \
23    ant.cpp ant.h \
24    sensor.cpp \
25    demo.cpp demo.h \
26    lcache.cpp lcache.h \
27    nfclient.cpp nfclient.h \
28    clisp.cpp clisp.h \
29    gui.cpp gui.h \
30    transp.cpp transp.h \
31    collide.cpp \
32    property.cpp property.h \
33    cache.cpp cache.h \
34    particle.cpp particle.h \
35    objects.cpp objects.h \
36    extend.cpp extend.h \
37    console.cpp console.h \
38    ability.cpp ability.h \
39    items.cpp items.h \
40    dev.cpp dev.h \
41    chars.cpp chars.h \
42    level.cpp level.h \
43    smallfnt.cpp \
44    automap.cpp automap.h \
45    help.cpp help.h \
46    intsect.cpp intsect.h \
47    loader2.cpp loader2.h \
48    seq.cpp seq.h \
49    points.cpp points.h \
50    fnt6x13.cpp \
51    morpher.cpp morpher.h \
52    menu.cpp menu.h \
53    director.cpp director.h \
54    view.cpp view.h \
55    configuration.cpp configuration.h \
56    game.cpp game.h \
57    light.cpp light.h \
58    devsel.cpp devsel.h \
59    crc.cpp crc.h \
60    gamma.cpp gamma.h \
61    id.h netface.h isllist.h sbar.h \
62    nfserver.h \
63    \
64    ui/volumewindow.cpp ui/volumewindow.h \
65    $(NULL)
66
67EXTRALIBS = lisp/liblisp.a @SDLPORT_DIR@/libsdlport.a imlib/libimlib.a net/libnet.a
68abuse_LDADD = $(EXTRALIBS)
69abuse_DEPENDENCIES = $(EXTRALIBS)
70
71abuse_tool_SOURCES = \
72    tool/abuse-tool.cpp \
73    crc.cpp crc.h
74abuse_tool_LDADD = imlib/libimlib.a
75abuse_tool_DEPENDENCIES = $(abuse_tool_LDADD)
76
77INCLUDES = -I$(srcdir) -I $(srcdir)/lisp -I$(srcdir)/imlib \
78           -I$(srcdir)/net $(SDL_CFLAGS)
79
80CPPFLAGS = @CPPFLAGS@ -DNO_CHECK
Note: See TracBrowser for help on using the repository browser.