From ee0326c0c46f4b02e9eab0b2917b62d2c55aa346 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 3 May 2011 15:54:23 -0400 Subject: [PATCH] Empty import of libkernelctl Add directory structure and modify tree structure in order to compile this internal library. Signed-off-by: David Goulet --- Makefile.am | 7 ++++++- configure.ac | 1 + libkernelctl/Makefile.am | 5 +++++ libkernelctl/libkernelctl.c | 17 +++++++++++++++++ libkernelctl/libkernelctl.h | 22 ++++++++++++++++++++++ 5 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 libkernelctl/Makefile.am create mode 100644 libkernelctl/libkernelctl.c create mode 100644 libkernelctl/libkernelctl.h diff --git a/Makefile.am b/Makefile.am index e53d9079e..dce10f836 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,8 @@ ACLOCAL_AMFLAGS = -I config -SUBDIRS = liblttsessiondcomm liblttngctl lttng ltt-sessiond tests +SUBDIRS = liblttsessiondcomm \ + libkernelctl \ + liblttngctl \ + lttng \ + ltt-sessiond \ + tests diff --git a/configure.ac b/configure.ac index 96f1f1bd7..43b2f3f73 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,7 @@ AC_PROG_LIBTOOL AC_CONFIG_FILES([ Makefile include/Makefile + libkernelctl/Makefile liblttngctl/Makefile liblttsessiondcomm/Makefile ltt-sessiond/Makefile diff --git a/libkernelctl/Makefile.am b/libkernelctl/Makefile.am new file mode 100644 index 000000000..474eb29f8 --- /dev/null +++ b/libkernelctl/Makefile.am @@ -0,0 +1,5 @@ +AM_CPPFLAGS = -I$(top_srcdir)/include + +lib_LTLIBRARIES = libkernelctl.la + +libkernelctl_la_SOURCES = libkernelctl.c diff --git a/libkernelctl/libkernelctl.c b/libkernelctl/libkernelctl.c new file mode 100644 index 000000000..c29d4ae0e --- /dev/null +++ b/libkernelctl/libkernelctl.c @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2011 - David Goulet + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ diff --git a/libkernelctl/libkernelctl.h b/libkernelctl/libkernelctl.h new file mode 100644 index 000000000..570388c3a --- /dev/null +++ b/libkernelctl/libkernelctl.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2011 - David Goulet + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef _LTT_LIBKERNELCTL_H +#define _LTT_LIBKERNELCTL_H + +#endif /* _LTT_LIBKERNELCTL_H */ -- 2.34.1