librnr  1.14.5
RoadNarrows Robotics Common Library 1
install.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////////
2 /*! \file
3  *
4  * \brief Package installation information wrapper.
5  *
6  * \note Add entries as new architectures are supported.
7  *
8  * \warning The install.h approach is obsolete. Need to replace with a better
9  * system.
10  *
11  * \pkgsynopsis
12  * RoadNarrows Robotics Common Library 1
13  *
14  * \pkgcomponent{Library}
15  * librnr
16  *
17  * \pkgfile{rnr/install.h}
18  *
19  * \author Robin Knight (robin.knight@roadnarrows.com)
20  *
21  * \pkgcopyright{2010-2018,RoadNarrows LLC.,http://www.roadnarrows.com}
22  *
23  * \license{MIT}
24  *
25  * \EulaBegin
26  * See the README and EULA files for any copyright and licensing information.
27  * \EulaEnd
28  */
29 ////////////////////////////////////////////////////////////////////////////////
30 
31 #ifndef _RNR_INSTALL_WRAPPER_H
32 #define _RNR_INSTALL_WRAPPER_H
33 
34 #warning "The rnr/install.h file is deprecated."
35 
36 #include "rnr/rnrconfig.h"
37 
39 
40 #if 0 // deprecated
41 
42 #if defined(ARCH_i386)
43 
44 # include "arch/arch.i386/install.h"
45 
46 #elif defined(ARCH_x86_64)
47 
48 # include "arch/arch.x86_64/install.h"
49 
50 #elif defined(ARCH_armang)
51 
52 # include "arch/arch.armang/install.h"
53 
54 #elif defined(ARCH_armpxa)
55 
56 # include "arch/arch.armpxa/install.h"
57 
58 #elif defined(ARCH_overo)
59 
60 # include "arch/arch.overo/install.h"
61 
62 #elif defined(ARCH_cygwin)
63 
64 # include "arch/arch.cygwin/install.h"
65 
66 #elif defined(ARCH_osx)
67 
68 # include "arch/arch.osx/install.h"
69 
70 #elif defined(ARCH_phony)
71 
72 # include "arch/arch.phony/install.h"
73 
74 #elif defined(ARCH_linaro)
75 
76 # include "arch/arch.linaro/install.h"
77 
78 #elif defined(ARCH_odroid)
79 
80 # include "arch/arch.odroid/install.h"
81 
82 #else
83 
84 # warning "Unknown architecture"
85 
86 #endif // deprecated
87 
88 //
89 // Default installation
90 //
91 
92 /*! \brief package install bin directory*/
93 #define PKG_INSTALL_BINDIR "/usr/local/bin"
94 
95 /*! \brief package install system bin directory */
96 #define PKG_INSTALL_SBINDIR "/usr/local/sbin"
97 
98 /*! \brief package install include directory */
99 #define PKG_INSTALL_INCDIR "/usr/local/include"
100 
101 /*! \brief package library directory */
102 #define PKG_INSTALL_LIBDIR "/usr/local/lib64"
103 
104 /*! \brief package install system configuration directory */
105 #define PKG_INSTALL_SYSCONFDIR "/usr/local/etc"
106 
107 /*! \brief package install documentation directory */
108 #define PKG_INSTALL_DOCDIR "/usr/local/share/doc"
109 
110 /*! \brief package install man pages directory */
111 #define PKG_INSTALL_MANDIR "/usr/local/man"
112 
113 /*! \brief package install information directory (s) */
114 #define PKG_INSTALL_INFODIR "/usr/local/info"
115 #endif // end supported architectures
116 
118 
119 
120 #endif // _RNR_INSTALL_WRAPPER_H
#define C_DECLS_BEGIN
C declaration block begin in C.
Definition: rnrconfig.h:71
RoadNarrows Robotics common configuration file.
#define C_DECLS_END
C declaration block end in C.
Definition: rnrconfig.h:72