From a7557acb5423ea8e4c6bcce27472918c638d56f8 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 17 Jun 2009 00:13:58 +0000 Subject: Some coding work. Banged out generally how things will work. Nothing compiles yet. --- module/Makefile.am | 38 ++++++++++++-------------------------- 1 file changed, 12 insertions(+), 26 deletions(-) (limited to 'module/Makefile.am') diff --git a/module/Makefile.am b/module/Makefile.am index b303c5e..7b05ad4 100644 --- a/module/Makefile.am +++ b/module/Makefile.am @@ -1,30 +1,16 @@ +noinst_LTLIBRARIES = libmodauthsingleid.la +noinst_DATA = mod_auth_singleid.la -EXTRA_DIST = mod_auth_singleid.c +INCLUDES = -I../ -g -O0 ${APACHE_CFLAGS} ${OPKELE_CFLAGS} +AM_LDFLAGS = ${OPKELE_LIBS} -DEF = -INC = -I../ +libmodauthsingleid_la_SOURCES = \ + mod_auth_singleid.c \ + consumer.cc consumer.h \ + storage.c storage.h -all: mod_auth_singleid.so - -mod_auth_singleid.so: mod_auth_singleid.c - @APXS@ -c -Wc,-g -Wc,-O0 -Wc,-Wall $(DEF) $(INC) $(LIB) mod_auth_singleid.c - -# Install the DSO file into the Apache installation and activate it in config -install: all - @APXS@ -i -a -c -Wc,-g -Wc,-O0 $(DEF) $(INC) $(LIB) mod_auth_singleid.c - -# Cleanup -clean: - -rm -f mod_auth_singleid.o mod_auth_singleid.so - -# Reload the module by installing and restarting Apache -reload: install restart - -# The general Apache start/restart/stop procedures -start: - @APACHECTL@ start -restart: - @APACHECTL@ restart -stop: - @APACHECTL@ stop +install-exec-local: + @APXS@ -i -a -n 'authopenid' mod_auth_openid.la +mod_auth_singleid.la: libmodauthsingleid.la + ${APXS} -c -o $@ $< ${APACHE_CFLAGS} ${OPKELE_CFLAGS} ${OPKELE_LIBS} -- cgit v1.2.3