Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
## |
| 2 |
## Makefile -- Build procedure for sample authn_yubikey Apache module |
| 3 |
## Autogenerated via ``apxs -n authn_yubikey -g''. |
| 4 |
## |
| 5 |
|
| 6 |
builddir=. |
| 7 |
top_srcdir=../../apache228-install |
| 8 |
top_builddir=../../apache228-install |
| 9 |
include ../../apache228-install/build/special.mk |
| 10 |
|
| 11 |
# the used tools |
| 12 |
APXS=apxs |
| 13 |
APACHECTL=apachectl |
| 14 |
|
| 15 |
# additional defines, includes and libraries |
| 16 |
#DEFS=-Dmy_define=my_value |
| 17 |
DEFS=-DYK_PACKAGE=\"mod_authn_yubikey\" -DYK_PACKAGE_VERSION=\"0.1\" |
| 18 |
|
| 19 |
#INCLUDES=-Imy/include/dir |
| 20 |
#LIBS=-Lmy/lib/dir -lmylib |
| 21 |
LIBS=-lcurl |
| 22 |
|
| 23 |
# the default target |
| 24 |
all: local-shared-build install |
| 25 |
|
| 26 |
# install the shared object file into Apache |
| 27 |
install: install-modules-yes |
| 28 |
|
| 29 |
# cleanup |
| 30 |
clean: |
| 31 |
-rm -f mod_authn_yubikey.o mod_authn_yubikey.lo mod_authn_yubikey.slo mod_authn_yubikey.la |
| 32 |
|
| 33 |
# simple test |
| 34 |
test: reload |
| 35 |
lynx -mime_header http://localhost/authn_yubikey |
| 36 |
|
| 37 |
# install and activate shared object by reloading Apache to |
| 38 |
# force a reload of the shared object file |
| 39 |
reload: install restart |
| 40 |
|
| 41 |
# the general Apache start/restart/stop |
| 42 |
# procedures |
| 43 |
start: |
| 44 |
$(APACHECTL) start |
| 45 |
restart: |
| 46 |
$(APACHECTL) restart |
| 47 |
stop: |
| 48 |
$(APACHECTL) stop |
| 49 |
|