File: Rules.make.system

package info (click to toggle)
instead 3.5.2%2Bdfsg-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,316 kB
  • sloc: ansic: 28,336; sh: 452; makefile: 236
file content (43 lines) | stat: -rw-r--r-- 909 bytes parent folder | download | duplicates (2)
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
VERSION := 3.5.2

PREFIX=/usr/local
DESTDIR=
BIN=$(PREFIX)/bin/
DATAPATH=$(PREFIX)/share/instead
STEADPATH=$(DATAPATH)/stead
THEMESPATH=$(DATAPATH)/themes
GAMESPATH=$(DATAPATH)/games
ICONPATH=$(PREFIX)/share/pixmaps
DOCPATH=$(PREFIX)/share/doc/instead
LANGPATH=$(DATAPATH)/lang
MANPATH=$(PREFIX)/share/man/man6
SYSTEMSETUP=yes

ZLIB_CFLAGS=
ZLIB_LFLAGS=-lz

LUA_CFLAGS=$(shell pkg-config --cflags lua5.1)
LUA_LFLAGS=$(shell pkg-config --libs lua5.1)

# for arch and gentoo linux use this
#
# LUA_CFLAGS=$(shell pkg-config --cflags lua)
# LUA_LFLAGS=$(shell pkg-config --libs lua)
#

SDL_CFLAGS=$(shell sdl2-config --cflags)
SDL_LFLAGS=$(shell sdl2-config --libs) -lSDL2_ttf -lSDL2_mixer -lSDL2_image -lm

CFLAGS	+= -Wall -Dunix -D_USE_UNPACK # -D_SDL_MOD_BUG

INSTALLD=install -d -m 0755
INSTALLB=install -m 0755
INSTALL=install -m 0644
LN=ln -sf

EXE=
PLATFORM=unix.c
RESOURCES=
RM=rm
AR=ar rc
RANLIB=ranlib