adding specialized apache module for returning specific classes from the IDL xml
[working/Evergreen.git] / Open-ILS / src / apachemods / Makefile.am
1 #-------------------------------------------------------------
2 # Makefile.am for Open-ILS/src/apachemods
3 # Author: Kevin Beswick (kevinbeswick00@gmail.com)
4 ## Process this file with automake to generate Makefile.in
5 #-------------------------------------------------------------
6
7 AM_CFLAGS = -D_LARGEFILE64_SOURCE -Wall -I@abs_top_srcdir@/Open-ILS/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) -I$(OPENSRF_HEADERS)
8 AM_LDFLAGS = -L$(LIBDIR) -L$(OPENSRF_LIBS)
9
10 if BUILDAPACHEMODS
11 OILSAPACHEINST = apachemods
12 endif
13
14 install-exec-local: $(OILSAPACHEINST)
15
16 apachemods:
17         $(APXS2) -c $(AM_LDFLAGS) -lxml2 -lopensrf -lxslt -lexpat $(AM_CFLAGS) @srcdir@/mod_xmlent.c
18         $(APXS2) -i -a @srcdir@/mod_xmlent.la
19         $(APXS2) -c $(AM_LDFLAGS) -lxml2 -lopensrf -lxslt -lexpat $(AM_CFLAGS) @srcdir@/mod_idlchunk.c
20         $(APXS2) -i -a @srcdir@/mod_idlchunk.la
21
22 clean-local:
23         rm -f @srcdir@/mod_xmlent.la @srcdir@/mod_xmlent.lo @srcdir@/mod_xmlent.slo
24         rm -f @srcdir@/mod_idlchunk.la @srcdir@/mod_idlchunk.lo @srcdir@/mod_idlchunk.slo