summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2014-10-04 12:03:08 +0300
committerEric Koegel <eric.koegel@gmail.com>2014-10-04 12:03:08 +0300
commit2f54cb2700abea64cd166e2b43ef897df76f1392 (patch)
tree57fcc2870a1a4491ad523ae6150cddc770a6eb5b /tools
parent16d595f69c0a93a5c29be24c8964462c8311efa6 (diff)
downloadConsoleKit2-2f54cb2700abea64cd166e2b43ef897df76f1392.tar.gz
Update makefiles and remove unused code
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am4
-rw-r--r--tools/ck-log-system-start.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 74a4634..ccadcb2 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -24,7 +24,7 @@ DIST_SUBDIRS = \
solaris \
$(NULL)
-INCLUDES = \
+AM_CFLAGS = \
-I. \
-I$(srcdir) \
-I$(top_srcdir)/src \
@@ -147,7 +147,7 @@ if ENABLE_UDEV_ACL
udevrulesdir = $(UDEVDIR)/rules.d
dist_udevrules_DATA = 70-udev-acl.rules
-libexec_PROGRAMS = udev-acl
+libexec_PROGRAMS += udev-acl
udev_acl_SOURCES = udev-acl.c
udev_acl_LDADD = $(UDEV_ACL_LIBS)
diff --git a/tools/ck-log-system-start.c b/tools/ck-log-system-start.c
index 6d46acc..22365e5 100644
--- a/tools/ck-log-system-start.c
+++ b/tools/ck-log-system-start.c
@@ -26,7 +26,7 @@
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
-#ifdef __FreeBSD__ || defined(__FreeBSD_kernel__)
+#ifdef __FreeBSD__
#include <kenv.h>
#endif
#include <sys/types.h>