Add --detach and --pidfile options to daemons.
[sliver-openvswitch.git] / Make.vars
index 538cde3..ceef15b 100644 (file)
--- a/Make.vars
+++ b/Make.vars
@@ -11,6 +11,9 @@ endif
 AM_CFLAGS = $(COMMON_FLAGS)
 AM_CFLAGS += -Wstrict-prototypes -I $(top_srcdir)/include
 
+rundir = $(localstatedir)/run
+AM_CFLAGS += -DRUNDIR=\"$(rundir)\"
+
 if !NDEBUG
 AM_LDFLAGS = -export-dynamic
 endif