/*
 * Copyright(c) 2006 to 2020 ZettaScale Technology and others
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
 * v. 1.0 which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
 */
#ifndef CONFIG_ENV_H
#define CONFIG_ENV_H

#define FILE_PATH_SEP             "/"
#define COMMON_ETC_DIR            "@common_etc_dir@"
#define PLUGIN_WRAPPER_LIB_DIR    "@plugin_wrapper_lib_dir@"
#define PLUGIN_WRAPPER_LIB_PREFIX "@CMAKE_SHARED_LIBRARY_PREFIX@"
#define PLUGIN_WRAPPER_LIB_SUFFIX "@CMAKE_SHARED_LIBRARY_SUFFIX@"

#define WRAPPERLIB_PATH(name) \
  PLUGIN_WRAPPER_LIB_DIR FILE_PATH_SEP PLUGIN_WRAPPER_LIB_PREFIX name PLUGIN_WRAPPER_LIB_SUFFIX

#define COMMON_ETC_PATH(name) \
  COMMON_ETC_DIR FILE_PATH_SEP name

#endif /* CONFIG_ENV_H */
