more support for introspection paging
[Evergreen.git] / OpenSRF / src / gateway / Makefile
1 CCFLAGS += -DASSUME_STATELESS
2 LDLIBS  += -lobjson -lxml2 -lopensrf
3
4 all: osrf_json_gateway.so copy
5
6 install: 
7         $(APXS2) -i -a -n osrf_json_gateway osrf_json_gateway.so
8         cp apachetools.h $(INCLUDEDIR)/opensrf/
9
10 copy:
11         cp apachetools.h $(TMPDIR)
12
13 apachetools.o:  apachetools.h apachetools.c
14 osrf_json_gateway.o:    osrf_json_gateway.c
15 osrf_json_gateway.so: osrf_json_gateway.o apachetools.o
16         $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) -shared -W1 apachetools.o osrf_json_gateway.o -o osrf_json_gateway.so
17
18
19 clean:
20         /bin/rm -f *.o *.so