File: Makefile.am

package info (click to toggle)
pinball-table-gnu 0.0.20230219-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,228 kB
  • sloc: cpp: 923; makefile: 236; sh: 29
file content (63 lines) | stat: -rw-r--r-- 1,347 bytes parent folder | download
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
AUTOMAKE_OPTIONS = gnu

highscoredir = $(DESTDIR)/$(EM_BUILD_ROOT)/$(EM_HIGHSCORE_DIR)/gnu

gnulibdir = $(EM_LIBDIR)
gnudatadir = $(datadir)/pinball/gnu

gnulib_LTLIBRARIES = libModuleGnu.la

pinconfig = pinball-config

AM_CPPFLAGS =
AM_CPPFLAGS += $(shell ${pinconfig} --cflags || echo)

libModuleGnu_la_LDFLAGS = -module
libModuleGnu_la_SOURCES = ModuleGnu.cpp

gnudata_DATA = \
bump.ogg \
bumpsoft.wav \
nudge.wav \
shoot.ogg \
flip2b.ogg \
flip2br.ogg \
lock.ogg \
gnu_letter.ogg \
gnu_all.ogg \
multiball.wav \
gplv1.ogg \
gplv2.ogg \
gplv3.ogg \
freedom0.ogg \
freedom1.ogg \
freedom2.ogg \
freedom3.ogg \
freeball.ogg \
free_letter.ogg \
free_all.ogg \
knockdown.ogg \
reset_knockdowns.ogg \
raise-stopper.ogg \
hit-freeball-target.ogg \
hit-freedom-target.ogg \
plunger.wav \
music.ogg \
pinball.pbl \
gnu.png \
gnu2b.png \
tiles.png \
tiles2.png \
tiles3.png 
#music is Subvulture_-_The_Money_Ran_Out__Rudy, from jamendo.  CC by sa.

# This will create a new empty highscores file
# NOTE! The user games must exist!
install-data-hook:
	-mkdir -p $(highscoredir) # - if not root #!rzr
	-touch $(highscoredir)/highscores
	-if test `whoami` = root; then chown games $(highscoredir)/highscores; fi
	-if test `whoami` = root; then chgrp games $(highscoredir)/highscores; fi
	-chmod 666 $(highscoredir)/highscores

EXTRA_DIST = $(gnudata_DATA)