summaryrefslogtreecommitdiff
path: root/config.mk
blob: 7aba67d3cd8c724ef6ba1aaec343d7110f9436c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ifeq ($(origin topsrcdir),undefined)
topoutdir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
topsrcdir := $(topoutdir)

PACKAGE = parabola-hackers
VERSION = 20171221

sysusersdir=$(prefix)/lib/sysusers.d
systemunitdir=$(prefix)/lib/systemd/system
conf_file = $(sysconfdir)/$(PACKAGE).yml
shadow_file = $(sysconfdir)/nshd/shadow
NET ?=
#NET ?= FORCE
user = nshd
CFLAGS += -Wall -Wextra -Werror -pedantic
CC = gcc -std=c99
.LIBPATTERNS = lib%.so lib%.a

prefix=/usr
bindir=$(libexecdir)/$(PACKAGE)
libexecdir=$(libdir)
sysconfdir=/etc
endif