summaryrefslogtreecommitdiff
path: root/src/setup/Makefile.am
blob: 1a1e1ccbdb4855c0fd4515e95808ce03f38e6d79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
gamesdir = $(prefix)/games

AM_CFLAGS = @SDL_CFLAGS@                                           \
            @SDLMIXER_CFLAGS@                                      \
            -I$(top_builddir)/textscreen -I..

noinst_LIBRARIES = libsetup.a

SOURCE_FILES =                                  \
    compatibility.c   compatibility.h           \
    display.c         display.h                 \
    joystick.c        joystick.h                \
    keyboard.c        keyboard.h                \
    mainmenu.c                                  \
    mode.c            mode.h                    \
    mouse.c           mouse.h                   \
    multiplayer.c     multiplayer.h             \
    sound.c           sound.h                   \
    execute.c         execute.h                 \
    txt_joyaxis.c     txt_joyaxis.h             \
    txt_joybinput.c   txt_joybinput.h           \
    txt_keyinput.c    txt_keyinput.h            \
    txt_mouseinput.c  txt_mouseinput.h

libsetup_a_SOURCES = $(SOURCE_FILES)

EXTRA_DIST=                                     \
    setup_icon.c

appdir = $(prefix)/share/applications
app_DATA = @PROGRAM_PREFIX@setup.desktop

CLEANFILES = $(app_DATA)

@PROGRAM_PREFIX@setup.desktop : setup.desktop
	cp setup.desktop $@

if HAVE_PYTHON

setup_icon.c : $(top_builddir)/data/setup8.ico
	$(top_builddir)/data/convert-icon $^ $@

endif