]> git.evergreen-ils.org Git - OpenSRF.git/blob - src/gateway/Makefile.am
849fc81d6c7eaf6bbf102dbc85e643c78a3e0b0c
[OpenSRF.git] / src / gateway / 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 AM_LDFLAGS = $(DEF_LDFLAGS)
16 AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS -L../libopensrf/
17
18 curdir = @abs_top_builddir@/src/gateway/
19
20 cur_LTLIBRARIES = libosrf_json_gateway.la
21 libosrf_json_gateway_la_SOURCES = apachetools.c apachetools.h osrf_json_gateway.c
22 libosrf_json_gateway_la_LIBADD = -lobjson -lopensrf
23
24 include_HEADERS = apachetools.h
25
26 install-exec-local: 
27         cp .libs/libosrf_json_gateway.so osrf_json_gateway.so
28         $(APXS2) -i -a -n osrf_json_gateway osrf_json_gateway.so