From f793b541e2abc9eef621cf328a6b5d562d9edf04 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 23 Oct 2008 14:07:01 -0700 Subject: [PATCH] Introduce logdir (typically /var/log/openflow, by default /usr/local/var/log/openflow). --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 83e73de3..398dcb00 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,9 @@ AM_CFLAGS = -Wstrict-prototypes rundir = $(localstatedir)/run AM_CPPFLAGS += -DRUNDIR=\"$(rundir)\" +logdir = $(localstatedir)/log/$(PACKAGE) +AM_CPPFLAGS += -DLOGDIR=\"$(logdir)\" + if NDEBUG AM_CPPFLAGS += -DNDEBUG AM_CFLAGS += -fomit-frame-pointer -- 2.30.2