summaryrefslogtreecommitdiffstatsabout
path: root/src/Makefile.am
blob: 30315a1684a2acae9618a70581a9efa308602c19 (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
CLEANFILES = .libs/libmod_gnutls *~

libmod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c gnutls_cache.c
libmod_gnutls_la_CFLAGS = -Wall ${MODULE_CFLAGS}
libmod_gnutls_la_LDFLAGS = -rpath ${AP_LIBEXECDIR} -module -avoid-version ${MODULE_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 ""