Introduce logdir (typically /var/log/openflow, by default /usr/local/var/log/openflow).
authorBen Pfaff <blp@nicira.com>
Thu, 23 Oct 2008 21:07:01 +0000 (14:07 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 23 Oct 2008 21:07:01 +0000 (14:07 -0700)
Makefile.am

index 83e73de31f6a735d9cdad169ad5f9e0e21996ea1..398dcb00c0835f905097622fb8b71b0d11251308 100644 (file)
@@ -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