]> git.evergreen-ils.org Git - OpenSRF.git/blob - Makefile.am
33102a46382f4a5be2de864226d037093e83bd2d
[OpenSRF.git] / Makefile.am
1 # Copyright (C) 2008 Equinox Software, Inc.
2 # Kevin Beswick <kevinbeswick00@gmail.com>
3 #
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.
8 #
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.
13
14
15 export PREFIX                   = @prefix@
16 export TMP                      = @TMP@
17 export LIBXML2_HEADERS          = @LIBXML2_HEADERS@
18 export APR_HEADERS              = @APR_HEADERS@
19 export ETCDIR                   = @sysconfdir@
20 export APXS2                    = @APXS2@
21 export APACHE2_HEADERS          = @APACHE2_HEADERS@
22 export DEF_CFLAGS               = -D_LARGEFILE64_SOURCE -pipe -g -Wall -O2 -fPIC -I@abs_top_builddir@/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) @INCLUDES@
23 export DEF_LDFLAGS              = -Wl, -rpath=$(LIBDIR) -L$(TMPDIR) @LIBDIRS@
24 export DEF_LDLIBS               = -lobjson -lopensrf
25 export PID                      = @localstatedir@/run/opensrf
26 export SOCK                     = @localstatedir@/lock/opensrf
27 export LOG                      = @localstatedir@/log/opensrf
28
29 AM_CFLAGS = $(DEF_CFLAGS)
30 LDFLAGS = $(DEF_LDFLAGS) -L./src/
31
32 SUBDIRS = src
33
34 jserver:
35         make -s -C src jserver
36
37 jserver-install:
38         make -s -C src jserver-install
39
40 javascript-install:
41         make -s -C src javascript-install
42