Skip to content
Snippets Groups Projects
Commit 8b0937d2 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

build: report patchversion

parent d5112708
No related branches found
No related tags found
No related merge requests found
# Project # Project
MAJOR := 1 MAJOR := 1
MINOR := 0 MINOR := 0
PATCH := 0-beta PATCH := 0-beta1
# Paths # Paths
PREFIX := /usr/local PREFIX := /usr/local
...@@ -14,7 +14,7 @@ MODULEDIR := $(LIBDIR)/kdns_modules ...@@ -14,7 +14,7 @@ MODULEDIR := $(LIBDIR)/kdns_modules
CC ?= cc CC ?= cc
BUILD_LDFLAGS += $(LDFLAGS) BUILD_LDFLAGS += $(LDFLAGS)
BUILD_CFLAGS := $(CFLAGS) -std=c99 -D_GNU_SOURCE -fPIC -Wtype-limits -Wall -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib) BUILD_CFLAGS := $(CFLAGS) -std=c99 -D_GNU_SOURCE -fPIC -Wtype-limits -Wall -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib)
BUILD_CFLAGS += -DPACKAGE_VERSION="\"$(MAJOR).$(MINOR)\"" -DPREFIX="\"$(PREFIX)\"" -DMODULEDIR="\"$(MODULEDIR)\"" BUILD_CFLAGS += -DPACKAGE_VERSION="\"$(MAJOR).$(MINOR).$(PATCH)\"" -DPREFIX="\"$(PREFIX)\"" -DMODULEDIR="\"$(MODULEDIR)\""
RM := rm -f RM := rm -f
LN := ln -s LN := ln -s
XXD := ./scripts/embed.sh XXD := ./scripts/embed.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment