Skip to content
This repository
Newer
Older
100755 42 lines (33 sloc) 1.371 kb
ca032b7d »
2008-11-24 initial import
1 ##
2 ## Makefile -- Build procedure for sample ntlm Apache module
3 ## Autogenerated via ``apxs -n ntlm -g''.
4 ##
5 ## $Id: Makefile,v 1.3.4.1 2003/02/25 11:25:42 casz Exp $
6
7 # the used tools
8 APXS=apxs
9 APACHECTL=apachectl
10
11 # the default target
12 all: mod_ntlm.so
13
14 # compile the shared object file
15 mod_ntlm.so: mod_ntlm.c mod_ntlm.h ntlmssp.inc.c smbval/rfcnb-io.inc.c smbval/rfcnb-util.inc.c smbval/session.inc.c smbval/smbdes.inc.c smbval/smbencrypt.inc.c smbval/smblib-util.inc.c smbval/smblib.inc.c smbval/valid.inc.c smbval/byteorder.h smbval/rfcnb-common.h smbval/rfcnb-error.h smbval/rfcnb-io.h smbval/rfcnb-priv.h smbval/rfcnb-util.h smbval/rfcnb.h smbval/smblib-common.h smbval/smblib-priv.h smbval/std-defines.h smbval/std-includes.h smbval/valid.h
16 $(APXS) -c -o mod_ntlm.so -Wc,-shared mod_ntlm.c
17
18 # install the shared object file into Apache
19 install: all
20 $(APXS) -i -a -n 'ntlm' mod_ntlm.so
21
22 # cleanup
23 clean:
24 rm -f `find . -name \*.o -o -name \*.so -o -name \*~ -o -name \*.slo -o -name \*.lo -o -name \*.la`
25
26 # simple test
27 test: reload
28 lynx -mime_header http://localhost/ntlm
29
30 # install and activate shared object by reloading Apache to
31 # force a reload of the shared object file
32 reload: install restart
33
34 # the general Apache start/restart/stop
35 # procedures
36 start:
37 $(APACHECTL) start
38 restart:
39 $(APACHECTL) restart
40 stop:
41 $(APACHECTL) stop
Something went wrong with that request. Please try again.