2 # --------------------------------------------------------------------
3 # Copyright (C) 2005 Georgia Public Library Service
4 # Bill Erickson <highfalutin@gmail.com>
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 # --------------------------------------------------------------------
19 # --------------------------------------------------------------------
20 # Build targets. Options include:
22 # jserver - custom 'single-domain' jabber server which may be used
23 # in place of jabberd2
24 # router - jabber router.
25 # gateway - mod_ils_gateway, Apache module for proxying API calls
26 # srfsh - diagnostic shell interface to OpenSRF
27 # marcdumper - utility code for converting MARC to MARCXML
28 # opensrf_perl - install the OpenSRF perl modules
29 # openils_perl - install the Open-ILS perl modules
30 # xul - client XUL application
31 # opensrf - builds all OpenSRF compenents
32 # openils - builds all OpenILS compenents
33 # evergreen - builds all Evergreen components
35 # When running the server components of OpenSRF/OpenILS, the simplest
36 # thing is to build jserver, router, gateway, and srfsh, even if you
37 # don't use all of them. Build marcdumper only if you need to convert
38 # MARC files to MARCXML. If you only want to build the client app,
39 # then just build xul.
40 # --------------------------------------------------------------------
42 #TARGETS=("jserver" "router" "gateway" "srfsh" "marcdumper" "xul");
43 #TARGETS=("router" "gateway" "jserver" "srfsh" "opensrf_perl" "openils_perl");
47 # --------------------------------------------------------------------
48 # Global install prefix. Binaries will be installed into PREFIX/bin,
49 # libraries will be installed into PERFIX/lib, etc. The user
50 # running 'install.sh install' must have write permissions to PREFIX
51 # --------------------------------------------------------------------
52 PREFIX="/tmp/ilsinstall/";
53 BINDIR="$PREFIX/bin/";
54 LIBDIR="$PREFIX/lib/";
55 PERLDIR="$LIBDIR/perl5/";
56 INCLUDEDIR="$PREFIX/include/";
57 ETCDIR="$PREFIX/etc/";
60 # --------------------------------------------------------------------
61 # Temporary build files go here. The User running 'install.sh build'
62 # must have write permissions to TMP
63 # --------------------------------------------------------------------
67 # --------------------------------------------------------------------
68 # Location of the apxs binary for Apache2. This must be set when
69 # building the mod_ils_gateway C plugin for allowing web access
70 # to the published API.
71 # --------------------------------------------------------------------
72 APXS2="/pines/apps/apache2/bin/apxs";
75 # --------------------------------------------------------------------
76 # Directory where the Apache2 header files are located. This must
77 # be set when building the mod_ils_gateway C plugin for allowing web
78 # access to the published API.
79 # --------------------------------------------------------------------
80 APACHE2_HEADERS="/pines/apps/apache2/include/";
83 # --------------------------------------------------------------------
84 # Directory where the libxml2 headers are located. Libxml2 is used
85 # by various components
86 # --------------------------------------------------------------------
87 LIBXML2_HEADERS="/usr/include/libxml2/";
91 # --------------------------------------------------------------------
92 # These point to the top level makefiles for each of the sub
93 # projects. Only change these if you have relocated the directories.
94 # --------------------------------------------------------------------
95 OPENSRF_DIR="OpenSRF/src/";
96 OPENILS_DIR="Open-ILS/src/";
97 EVERGREEN_DIR="Evergreen/";