updated the JSON api stuff in json_xml.c
added json_xml.o to the build target
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@526
9efc2488-bf62-4759-914b-
345cdb29e865
CCFLAGS += -DASSUME_STATELESS
LDLIBS += -lobjson -lxml2 -lopensrf
-all: libmod_ils_gateway.so
+all: mod_ils_gateway.so
install:
- $(APXS2) -i -a -n ils_gateway libmod_ils_gateway.so
+ $(APXS2) -i -a -n ils_gateway mod_ils_gateway.so
-libmod_ils_gateway.so: mod_ils_gateway.o
- $(CC) -shared -W1 mod_ils_gateway.o -o libmod_ils_gateway.so
+mod_ils_gateway.so: mod_ils_gateway.o
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) -shared -W1 mod_ils_gateway.o -o mod_ils_gateway.so
mod_ils_gateway.o: mod_ils_gateway.h mod_ils_gateway.c