summaryrefslogtreecommitdiff
path: root/config.mk.in
blob: ca8fa7fefcd5e7b5e169a7939e3056e9c1b6285c (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
46
47
ifeq ($(topsrcdir),)
topsrcdir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))

PACKAGE = rvs
VERSION = 0.10
pkgtextdomain = $(PACKAGE)

DESTDIR        =
prefix         = /usr/local
exec_prefix    = $(prefix)

bindir         = $(exec_prefix)/bin
sbindir        = $(exec_prefix)/sbin
libexecdir     = $(exec_prefix)/libexec
datarootdir    = $(prefix)/share
datadir        = $(datarootdir)
sysconfdir     = $(prefix)/etc
sharedstatedir = $(prefix)/com
localstatedir  = $(prefix)/var
runstatedir    = $(localstatedir)/run
localedir      = $(datarootdir)/locale

pkgdatadir     = $(datadir)/$(PACKAGE)
pkglibexecdir  = $(libexecdir)/$(PACKAGE)

CFLAGS   = -std=c99 -Werror -Wall -Wextra -pedantic -O2
CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE

CC              = cc
M4              = m4
MKDIR           = mkdir
MKDIRS          = mkdir -p
RMDIRS          = rmdir -p
INSTALL_DATA    = install -m644
INSTALL_PROGRAM = install -m755
CP              = cp
MV              = mv
RM              = rm -f
SED             = sed
SORT            = sort
TAR             = tar
TRUE            = true
PRINTF          = printf

AUTODEPS = t

endif