if ?cc/inline then put /local/cc/inline {inline} end print [@ #ifndef CAMV_CENTRAL_CONFIG_H #define CAMV_CENTRAL_CONFIG_H #define RND_APP_PREFIX(x) camv_ ## x /****************************************************************************/ /* Paths */ @] switch sys/class case {win32} print [@ #define CAMV_PREFIX rnd_w32_root #define CAMVSHAREDIR rnd_w32_sharedir #define CAMVLIBDIR rnd_w32_libdir #define BINDIR rnd_w32_bindir #define CAMVCONFDIR @/local/confdir@ @] end; default print [@ #define CAMV_PREFIX "@/local/prefix@" #define CAMVSHAREDIR CAMV_PREFIX "/share/camv-rnd" #define CAMVLIBDIR CAMV_PREFIX "/lib/camv-rnd" #define BINDIR CAMV_PREFIX "/bin" #define CAMVCONFDIR "@/local/confdir@" @] end; end; print [@ /* Relative path from bindir to exec_prefix */ #define BINDIR_TO_EXECPREFIX ".." #include /* the dot-dir: where to save user config under ther user's home; it's used as ~/DOT_CAMV_RND/ */ #define DOT_CAMV_RND "@/local/camv/dot_camv_rnd@" #define LIBRND_PREFIX "/usr/local" #define CONFDIR "@/local/confdir@" #define LIBDIR "@/local/prefix@/lib/camv-rnd" #define SHAREDIR "@/local/prefix@/share/camv-rnd" #define CAMV_VERS "@/local/version@" #define CAMV_REV "@/local/revision@" #endif @]