fixed makefile ommission
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 6 Sep 2005 15:24:48 +0000 (15:24 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 6 Sep 2005 15:24:48 +0000 (15:24 +0000)
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

src/gateway/Makefile

index 10d0b3e..96b5eed 100644 (file)
@@ -1,13 +1,13 @@
 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