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 # --------------------------------------------------------------------
18 # --------------------------------------------------------------------
19 # Build targets. Options include:
21 # openils_all - builds all OpenILS compenents
22 # openils_core - install the Open-ILS perl modules, and core files for running and openils server
23 # openils_web - copies over the javascript and html templates to the web root directory for running the OPAC
24 # openils_marcdumper - utility code for converting MARC to MARCXML
25 # openils_db - installs the database schemas
26 # openils_reporter - installs the base of OpenILS Reporter
28 # evergreen_core - builds core Evergreen components (does not build evergreen_xul_client!)
29 # evergreen_xul_client - client XUL application
31 # Build marcdumper only if you need to convert MARC binary files to MARCXML.
32 # If you only want to build the client app, then just build evergreen_xul_client.
33 # --------------------------------------------------------------------
35 TARGETS=("openils_core" "openils_web" "openils_db");
38 # --------------------------------------------------------------------
39 # Global install prefix. Binaries will be installed into PREFIX/bin,
40 # libraries will be installed into PREFIX/lib, etc. The user
41 # running 'install.sh install' must have write permissions to PREFIX
42 # --------------------------------------------------------------------
44 BINDIR="$PREFIX/bin/";
45 LIBDIR="$PREFIX/lib/";
46 PERLDIR="$LIBDIR/perl5/";
47 INCLUDEDIR="$PREFIX/include/";
48 ETCDIR="$PREFIX/etc/";
49 WEBDIR="$PREFIX/web/";
50 CGIDIR="$PREFIX/cgi-bin/";
51 TEMPLATEDIR="$PREFIX/templates";
54 # --------------------------------------------------------------------
55 # Temporary build files go here. The User running 'install.sh build'
56 # must have write permissions to TMP
57 # --------------------------------------------------------------------
61 # --------------------------------------------------------------------
62 # Location of the apxs binary for Apache2. This must be set when
63 # building the mod_ils_gateway C plugin for allowing web access
64 # to the published API.
65 # --------------------------------------------------------------------
67 APXS2="/usr/bin/apxs2";
70 # --------------------------------------------------------------------
71 # Directories where the Apache2 header files are located. These must
72 # be set when building the mod_ils_gateway C plugin for allowing web
73 # access to the published API.
74 # --------------------------------------------------------------------
75 APACHE2_HEADERS="/usr/include/apache2";
76 APR_HEADERS="/usr/include/apr-1.0/";
79 # --------------------------------------------------------------------
80 # Directory where the libdbi libraries are located. libdbi is used
81 # by the OpenILS cstore, fetch, and rstore applications
82 # --------------------------------------------------------------------
83 DBI_LIBS="/usr/local/lib/dbd";
85 # --------------------------------------------------------------------
86 # Directory where the libxml2 headers are located. Libxml2 is used
87 # by various components
88 # --------------------------------------------------------------------
89 LIBXML2_HEADERS="/usr/include/libxml2/";
92 # --------------------------------------------------------------------
93 # Directories where the OpenSRF headers and libraries are located.
94 # You must build and install OpenSRF before OpenILS.
95 # --------------------------------------------------------------------
96 OPENSRF_HEADERS="/openils/include/"
97 OPENSRF_LIBS="/openils/lib/"
100 # --------------------------------------------------------------------
101 # These point to the top level makefiles for each of the sub
102 # projects. Only change these if you have relocated the directories.
103 # --------------------------------------------------------------------
104 OPENILSDIR="Open-ILS/src/";
105 EVERGREENDIR="Evergreen/";
110 # --------------------------------------------------------------------
111 # These are used to create the perl DBI DSN for the bootstrapping
113 # --------------------------------------------------------------------