build: define EXECUTOR_PATH
This commit is contained in:
parent
eb8f1938dc
commit
4a5a37a620
1 changed files with 9 additions and 1 deletions
10
Makefile
10
Makefile
|
@ -9,10 +9,18 @@ PACKAGE_BUGREPORT := https://github.com/kaniini/ifupdown-ng/issues/new
|
||||||
|
|
||||||
INTERFACES_FILE := /etc/network/interfaces
|
INTERFACES_FILE := /etc/network/interfaces
|
||||||
STATE_FILE := /run/ifstate
|
STATE_FILE := /run/ifstate
|
||||||
|
EXECUTOR_PATH := /usr/libexec/ifupdown-ng
|
||||||
|
|
||||||
CFLAGS ?= -ggdb3 -Os
|
CFLAGS ?= -ggdb3 -Os
|
||||||
CFLAGS += -Wall -Wextra
|
CFLAGS += -Wall -Wextra
|
||||||
CFLAGS += ${LIBBSD_CFLAGS}
|
CFLAGS += ${LIBBSD_CFLAGS}
|
||||||
CPPFLAGS = -I. -DINTERFACES_FILE=\"${INTERFACES_FILE}\" -DSTATE_FILE=\"${STATE_FILE}\" -DPACKAGE_NAME=\"${PACKAGE_NAME}\" -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\" -DPACKAGE_BUGREPORT=\"${PACKAGE_BUGREPORT}\"
|
CPPFLAGS = -I.
|
||||||
|
CPPFLAGS += -DINTERFACES_FILE=\"${INTERFACES_FILE}\"
|
||||||
|
CPPFLAGS += -DSTATE_FILE=\"${STATE_FILE}\"
|
||||||
|
CPPFLAGS += -DPACKAGE_NAME=\"${PACKAGE_NAME}\"
|
||||||
|
CPPFLAGS += -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\"
|
||||||
|
CPPFLAGS += -DPACKAGE_BUGREPORT=\"${PACKAGE_BUGREPORT}\"
|
||||||
|
CPPFLAGS += -DEXECUTOR_PATH=\"${EXECUTOR_PATH}\"
|
||||||
|
|
||||||
|
|
||||||
LIBIFUPDOWN_SRC = \
|
LIBIFUPDOWN_SRC = \
|
||||||
|
|
Loading…
Reference in a new issue