INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/src)
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/src/pass)
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/src/hal)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
SET(PKG_MODULES
vconf
#include <poll.h>
#include <mntent.h>
-#include "shared/log.h"
-
-#include "common.h"
+#include <pass/log.h>
+#include <pass/common.h>
#define BUFF_MAX 255
#include <string.h>
#include <errno.h>
-#include "shared/log.h"
-
-#include "config-parser.h"
+#include <pass/log.h>
+#include <pass/config-parser.h>
#define BUFF_MAX 255
#define MAX_SECTION 64
#include <glib.h>
-#include "shared/log.h"
-
-#include "device-notifier.h"
-#include "common.h"
+#include <pass/common.h>
+#include <pass/device-notifier.h>
+#include <pass/log.h>
#define DEVICE_NOTIFIER_MAX_COUNT 255
#include <glib.h>
#include <stdio.h>
-#include "shared/log.h"
-
-#include "common.h"
-#include "devices.h"
+#include <pass/common.h>
+#include <pass/devices.h>
+#include <pass/log.h>
static const struct device_ops default_ops = {
.name = "default-ops",
#include <errno.h>
#include <stdbool.h>
-#include "gdbus-util.h"
-#include "shared/log.h"
+#include <pass/gdbus-util.h>
+#include <pass/log.h>
static GDBusConnection *g_dbus_sys_conn = NULL;
#include <gio/gio.h>
#include <sys/reboot.h>
-#include "shared/log.h"
-
-#include "common.h"
-#include "device-notifier.h"
-#include "devices.h"
-#include "gdbus-util.h"
+#include <pass/common.h>
+#include <pass/device-notifier.h>
+#include <pass/devices.h>
+#include <pass/gdbus-util.h>
+#include <pass/log.h>
#define PASS_DBUS_BUS_NAME "org.tizen.system.pass"
PROJECT(pass-hal-devel C)
SET(HAL_HEADERS
- hal.h
+ ../../include/pass/hal/hal.h
hal-log.h
)
#include <errno.h>
#include <linux/limits.h>
-#include "hal.h"
+#include <pass/hal/hal.h>
+
#include "hal-log.h"
#ifndef EXPORT
#include <stdlib.h>
#include <sys/time.h>
+#include <pass/device-notifier.h>
+#include <pass/config-parser.h>
+
#include "pass.h"
#include "pass-gov.h"
#include "pass-pmqos.h"
#include "pass-hal.h"
#include "pass-rescon.h"
-#include "core/device-notifier.h"
-#include "core/config-parser.h"
-
#define PASS_CPU_STATS_MAX_COUNT 20
struct pass_governor {
#include <errno.h>
#include <fcntl.h>
+#include <pass/common.h>
+
#include "pass.h"
#include "pass-hal.h"
-#include "core/common.h"
-
static struct pass_resource_dvfs_ops *get_dvfs(struct pass_resource *res,
int res_type)
{
#ifndef __PASS_HAL__
#define __PASS_HAL__
-#include "hal/hal.h"
+#include <pass/hal/hal.h>
/***
* Functions for all H/W resources
#include <errno.h>
#include <fcntl.h>
-#include "pass.h"
+#include <pass/common.h>
+#include <pass/config-parser.h>
+#include <pass/hal/hal.h>
-#include "core/common.h"
-#include "core/config-parser.h"
-#include "hal/hal.h"
+#include "pass.h"
#define MAX_NUM 255
#define MIN_TIMEOUT_SEC 0.2
#include <stdlib.h>
#include <sys/time.h>
+#include <pass/device-notifier.h>
+#include <pass/config-parser.h>
+
#include "pass.h"
#include "pass-gov.h"
#include "pass-rescon.h"
-#include "core/device-notifier.h"
-#include "core/config-parser.h"
-
/****************************************************************************
* PASS Notifier *
* - DEVICE_NOTIFIER_PMQOS *
#include <stdio.h>
#include <stdlib.h>
+#include <pass/common.h>
+#include <pass/device-notifier.h>
+#include <pass/devices.h>
+#include <pass/gdbus-util.h>
+
#include "pass.h"
#include "pass-parser.h"
#include "pass-hal.h"
#include "pass-gov.h"
-#include "core/device-notifier.h"
-#include "core/devices.h"
-#include "core/common.h"
-#include "core/gdbus-util.h"
-
#define DBUS_CORE_I_START_HANDLER "handle_start"
#define DBUS_CORE_I_STOP_HANDLER "handle_stop"
#define DBUS_CORE_I_NUM_SIGNALS 2
#include <stdio.h>
#include <glib.h>
-#include "shared/log.h"
+#include <pass/log.h>
#define BUFF_MAX 255
#include <errno.h>
#include <string.h>
-#include "core/config-parser.h"
-#include "shared/log.h"
+#include <pass/log.h>
+#include <pass/config-parser.h>
#include "pmqos.h"
#include <stdio.h>
#include <limits.h>
-#include "core/gdbus-util.h"
-#include "core/devices.h"
-#include "core/common.h"
-#include "core/device-notifier.h"
-#include "shared/log.h"
+#include <pass/common.h>
+#include <pass/devices.h>
+#include <pass/device-notifier.h>
+#include <pass/gdbus-util.h>
+#include <pass/log.h>
#include "pmqos.h"