config.mk 493 Bytes
Newer Older
Marek Vavruša's avatar
Marek Vavruša committed
1 2 3
# Project
MAJOR := 15
MINOR := 04
4
PATCH := 0
Marek Vavruša's avatar
Marek Vavruša committed
5 6 7 8 9

# Paths
PREFIX := /usr/local
BINDIR := /bin
LIBDIR := /lib
10 11
INCLUDEDIR := /include
MODULEDIR := $(LIBDIR)/kdns_modules
Marek Vavruša's avatar
Marek Vavruša committed
12 13

# Tools
14
CC	?= cc
15
CFLAGS	+= -std=c99 -D_GNU_SOURCE -Wall -fPIC -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib)
16
CFLAGS  += -DPACKAGE_VERSION="\"$(MAJOR).$(MINOR)\"" -DPREFIX="\"$(PREFIX)\"" -DMODULEDIR="\"$(MODULEDIR)\""
Marek Vavruša's avatar
Marek Vavruša committed
17
RM	:= rm -f
18
LN      := ln -s
19
XXD     := ./scripts/embed.sh
Marek Vavruša's avatar
Marek Vavruša committed
20
INSTALL := install
21
PYTHON  := python