2011-06-16 11:00:06 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2011-07-10 16:58:39 +04:00
|
|
|
#ifndef _SYSTEM_DIRECTORIES_H
|
|
|
|
#define _SYSTEM_DIRECTORIES_H
|
2011-06-16 11:00:06 +04:00
|
|
|
|
|
|
|
|
|
|
|
#define kGlobalBinDirectory "/bin"
|
|
|
|
#define kGlobalEtcDirectory "/etc"
|
2011-07-11 14:29:40 +04:00
|
|
|
#define kGlobalPackageLinksDirectory "/packages"
|
2011-06-16 11:00:06 +04:00
|
|
|
#define kGlobalSystemDirectory "/system"
|
|
|
|
#define kGlobalTempDirectory "/tmp"
|
|
|
|
#define kGlobalVarDirectory "/var"
|
|
|
|
|
2013-09-30 00:09:00 +04:00
|
|
|
#define kAppsDirectory "/boot/system/apps"
|
|
|
|
#define kPreferencesDirectory "/boot/system/preferences"
|
2011-06-16 11:00:06 +04:00
|
|
|
|
|
|
|
#define kAppLocalAddonsDirectory "%A/add-ons"
|
|
|
|
#define kAppLocalLibDirectory "%A/lib"
|
|
|
|
|
|
|
|
#define kVolumeLocalSystemKernelAddonsDirectory "system/add-ons/kernel"
|
|
|
|
#define kVolumeLocalCommonNonpackagedKernelAddonsDirectory \
|
2013-09-30 00:09:00 +04:00
|
|
|
"system/non-packaged/add-ons/kernel"
|
|
|
|
#define kVolumeLocalCommonKernelAddonsDirectory "system/add-ons/kernel"
|
2011-06-16 11:00:06 +04:00
|
|
|
#define kVolumeLocalUserNonpackagedKernelAddonsDirectory \
|
|
|
|
"home/config/non-packaged/add-ons/kernel"
|
|
|
|
#define kVolumeLocalUserKernelAddonsDirectory "home/config/add-ons/kernel"
|
|
|
|
|
|
|
|
#define kSystemDirectory "/boot/system"
|
|
|
|
#define kSystemAddonsDirectory "/boot/system/add-ons"
|
|
|
|
#define kSystemAppsDirectory "/boot/system/apps"
|
|
|
|
#define kSystemBinDirectory "/boot/system/bin"
|
|
|
|
#define kSystemDataDirectory "/boot/system/data"
|
|
|
|
#define kSystemDevelopDirectory "/boot/system/develop"
|
|
|
|
#define kSystemLibDirectory "/boot/system/lib"
|
|
|
|
#define kSystemPackagesDirectory "/boot/system/packages"
|
2011-07-11 14:29:40 +04:00
|
|
|
#define kSystemPackageLinksDirectory "/boot/system/package-links"
|
2011-06-16 11:00:06 +04:00
|
|
|
#define kSystemPreferencesDirectory "/boot/system/preferences"
|
|
|
|
#define kSystemServersDirectory "/boot/system/servers"
|
2013-11-19 18:30:34 +04:00
|
|
|
#define kSystemSettingsDirectory "/boot/system/settings"
|
2011-06-16 11:00:06 +04:00
|
|
|
|
2013-10-04 04:30:30 +04:00
|
|
|
#define kSystemEtcDirectory "/boot/system/settings/etc"
|
|
|
|
#define kSystemTempDirectory "/boot/system/cache/tmp"
|
|
|
|
#define kSystemVarDirectory "/boot/system/var"
|
|
|
|
#define kSystemLogDirectory "/boot/system/var/log"
|
2013-11-18 04:50:49 +04:00
|
|
|
#define kSystemNonpackagedDirectory "/boot/system/non-packaged"
|
2013-10-04 04:30:30 +04:00
|
|
|
#define kSystemNonpackagedAddonsDirectory "/boot/system/non-packaged/add-ons"
|
|
|
|
#define kSystemNonpackagedBinDirectory "/boot/system/non-packaged/bin"
|
|
|
|
#define kSystemNonpackagedLibDirectory "/boot/system/non-packaged/lib"
|
2011-06-16 11:00:06 +04:00
|
|
|
|
|
|
|
#define kUserDirectory "/boot/home"
|
|
|
|
#define kUserConfigDirectory "/boot/home/config"
|
|
|
|
#define kUserAddonsDirectory "/boot/home/config/add-ons"
|
|
|
|
#define kUserBinDirectory "/boot/home/config/bin"
|
|
|
|
#define kUserLibDirectory "/boot/home/config/lib"
|
|
|
|
#define kUserPackagesDirectory "/boot/home/config/packages"
|
|
|
|
#define kUserSettingsDirectory "/boot/home/config/settings"
|
2013-11-19 18:30:34 +04:00
|
|
|
#define kUserSettingsGlobalDirectory "/boot/home/config/settings/global"
|
2013-11-18 04:50:49 +04:00
|
|
|
#define kUserNonpackagedDirectory "/boot/home/config/non-packaged"
|
2011-06-16 11:00:06 +04:00
|
|
|
#define kUserNonpackagedAddonsDirectory "/boot/home/config/non-packaged/add-ons"
|
|
|
|
#define kUserNonpackagedBinDirectory "/boot/home/config/non-packaged/bin"
|
|
|
|
#define kUserNonpackagedLibDirectory "/boot/home/config/non-packaged/lib"
|
|
|
|
|
|
|
|
|
2011-07-10 16:58:39 +04:00
|
|
|
#endif // _SYSTEM_DIRECTORIES_H
|