Blame Makefile.in

Packit Service d6b4c9
# Source files. mod_auth_mellon.c must be the first file.
Packit Service d6b4c9
SRC=mod_auth_mellon.c \
Packit Service d6b4c9
	auth_mellon_cache.c \
Packit Service d6b4c9
	auth_mellon_config.c \
Packit Service d6b4c9
	auth_mellon_cookie.c \
Packit Service d6b4c9
	auth_mellon_diagnostics.c \
Packit Service d6b4c9
	auth_mellon_handler.c \
Packit Service d6b4c9
	auth_mellon_util.c \
Packit Service d6b4c9
	auth_mellon_session.c \
Packit Service d6b4c9
	auth_mellon_httpclient.c
Packit Service d6b4c9
Packit Service d6b4c9
# Documentation files
Packit Service d6b4c9
USER_GUIDE_FILES=\
Packit Service d6b4c9
	doc/user_guide/mellon_user_guide.adoc \
Packit Service d6b4c9
	doc/user_guide/Guardfile \
Packit Service d6b4c9
	doc/user_guide/README \
Packit Service d6b4c9
	doc/user_guide/images/chrome_SAML_Chrome_Panel.png \
Packit Service d6b4c9
	doc/user_guide/images/chrome_SAML_Chrome_Panel.svg \
Packit Service d6b4c9
	doc/user_guide/images/saml-tracer.png \
Packit Service d6b4c9
	doc/user_guide/images/saml-tracer.svg \
Packit Service d6b4c9
	doc/user_guide/images/saml-web-sso.svg
Packit Service d6b4c9
Packit Service d6b4c9
Packit Service d6b4c9
# Files to include when making a .tar.gz-file for distribution
Packit Service d6b4c9
DISTFILES=$(SRC) \
Packit Service d6b4c9
	auth_mellon.h \
Packit Service d6b4c9
	auth_mellon_compat.h \
Packit Service d6b4c9
	lasso_compat.h \
Packit Service d6b4c9
	config.h.in \
Packit Service d6b4c9
	configure \
Packit Service d6b4c9
	configure.ac \
Packit Service d6b4c9
	Makefile.in \
Packit Service d6b4c9
	autogen.sh \
Packit Service d6b4c9
	README.md \
Packit Service d6b4c9
	ECP.rst \
Packit Service d6b4c9
	COPYING \
Packit Service d6b4c9
	NEWS \
Packit Service d6b4c9
	$(USER_GUIDE_FILES)
Packit Service d6b4c9
Packit Service d6b4c9
all:	mod_auth_mellon.la
Packit Service d6b4c9
Packit Service d6b4c9
mod_auth_mellon.la: $(SRC) auth_mellon.h auth_mellon_compat.h
Packit Service d6b4c9
	@APXS2@ -Wc,"-std=c99 @MELLON_CFLAGS@ @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ @CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC)
Packit Service d6b4c9
Packit Service d6b4c9
Packit Service d6b4c9
# Building configure (for distribution)
Packit Service d6b4c9
configure:	configure.ac
Packit Service d6b4c9
	./autogen.sh
Packit Service d6b4c9
Packit Service d6b4c9
@NAMEVER@.tar.gz:	 $(DISTFILES)
Packit Service d6b4c9
	tar -c --transform="s#^#@NAMEVER@/#" -vzf $@ $(DISTFILES)
Packit Service d6b4c9
Packit Service d6b4c9
Packit Service d6b4c9
.PHONY:	install
Packit Service d6b4c9
install: mod_auth_mellon.la
Packit Service d6b4c9
	@APXS2@ -i -n auth_mellon mod_auth_mellon.la
Packit Service d6b4c9
Packit Service d6b4c9
.PHONY: distfile
Packit Service d6b4c9
distfile:	@NAMEVER@.tar.gz
Packit Service d6b4c9
Packit Service d6b4c9
.PHONY:	clean
Packit Service d6b4c9
clean:
Packit Service d6b4c9
	rm -f mod_auth_mellon.la
Packit Service d6b4c9
	rm -f $(SRC:%.c=%.o)
Packit Service d6b4c9
	rm -f $(SRC:%.c=%.lo)
Packit Service d6b4c9
	rm -f $(SRC:%.c=%.slo)
Packit Service d6b4c9
	rm -rf .libs/
Packit Service d6b4c9
Packit Service d6b4c9
.PHONY:	distclean
Packit Service d6b4c9
distclean:	clean
Packit Service d6b4c9
	rm -f Makefile config.log config.status @NAMEVER@.tar.gz *~ \
Packit Service d6b4c9
	build-stamp config.guess config.sub
Packit Service d6b4c9
	rm -rf debian/mod-auth-mellon
Packit Service d6b4c9
	rm -f debian/files
Packit Service d6b4c9
Packit Service d6b4c9
.PHONY: fullclean
Packit Service d6b4c9
fullclean:	distclean
Packit Service d6b4c9
	rm -f configure aclocal.m4