1 # Copyright (C) 2008 Equinox Software, Inc.
2 # Kevin Beswick <kevinbeswick00@gmail.com>
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
16 MAYBE_DEBUG = -DNDEBUG
19 export PREFIX = @prefix@
21 export LIBXML2_HEADERS = @LIBXML2_HEADERS@
22 export APR_HEADERS = @APR_HEADERS@
23 export ETCDIR = @sysconfdir@
24 export APXS2 = @APXS2@
25 export APACHE2_HEADERS = @APACHE2_HEADERS@
26 export DEF_CFLAGS = -D_LARGEFILE64_SOURCE $(MAYBE_DEBUG) -pipe -g -Wall -O2 -fPIC -I@abs_top_builddir@/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) @INCLUDES@
27 export DEF_LDLIBS = -lobjson -lopensrf
28 export VAR = @localstatedir@
29 export PID = @localstatedir@/run/opensrf
30 export SOCK = @localstatedir@/lock/opensrf
31 export LOG = @localstatedir@/log/opensrf
33 AM_CFLAGS = $(DEF_CFLAGS)
38 make -s -C src jserver
41 make -s -C src jserver-install
44 make -s -C src javascript-install