aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 93b217d817f2515eaf3173785e91812ea1797ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
CLEANFILES = .libs/libmod_gnutls *~

libmod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c gnutls_cache.c gnutls_config.c gnutls_hooks.c 
#gnutls_lua.c
libmod_gnutls_la_CFLAGS = -Wall ${MODULE_CFLAGS} ${LUA_CFLAGS}
libmod_gnutls_la_LDFLAGS = -rpath ${AP_LIBEXECDIR} -module -avoid-version ${MODULE_LIBS} ${LUA_LIBS}

lib_LTLIBRARIES = libmod_gnutls.la

make_so: $(lib_LTLIBRARIES)
	@if test ! -L mod_gnutls.so ; then ln -s .libs/libmod_gnutls.so mod_gnutls.so ; fi

clean: 
	rm -f mod_gnutls.so
	rm -f *.o *.lo *.la 
	rm -fr .libs

install: make_so
	@${APXS_BIN} -i -n gnutls mod_gnutls.so
	@echo ""
	@echo ""
	@echo "***********************************************"
	@echo ""
	@echo "   Please read the documentation at            "
	@echo "   http://www.outoforder.cc/ for   "
	@echo "   details on configuration of this module     "
	@echo ""
	@echo "***********************************************"
	@echo ""