# Change to suit...
export PREFIX = /pines
-export APXS = /pines/apps/apache2/bin/apxs
+export APXS2 = /pines/apps/apache2/bin/apxs
export TMP = /tmp/opensrf_build
-export APACHE_HEADERS = /pines/apps/apache2/include
+export APACHE2_HEADERS = /pines/apps/apache2/include
export TMPDIR = $(TMP)/opensrf
export INCLUDEDIR = $(PREFIX)/include
export CC = gcc
export LD_OPTS = -L $(TMPDIR) -L .
-export CC_OPTS = -Wall -O2 -fPIC -I/usr/include/libxml2 -I$(APACHE_HEADERS) \
+export CC_OPTS = -Wall -O2 -fPIC -I/usr/include/libxml2 -I$(APACHE2_HEADERS) \
-I/usr/include/libxml2/libxml -I$(TMP) -I$(TMPDIR)
install:
cp $(TMPDIR)/libmod_ils_gateway.so $(LIBDIR)/libmod_ils_gateway.so
- $(APXS) -i -a -n ils_gateway $(LIBDIR)/libmod_ils_gateway.so
+ $(APXS2) -i -a -n ils_gateway $(LIBDIR)/libmod_ils_gateway.so
libmod_ils_gateway.so: mod_ils_gateway.c
$(CC) -c $(CC_OPTS) mod_ils_gateway.c