]> andersk Git - mod-vhost-ldap.git/blob - Makefile
Merge branch 'upstream'
[mod-vhost-ldap.git] / Makefile
1 APXS=apxs2
2 VERSION=`cat VERSION`
3 DISTFILES=`cat FILES`
4
5 all: mod_vhost_ldap.o
6         
7
8 install:
9         $(APXS) -i mod_vhost_ldap.la
10
11 clean:
12         rm -f *.o
13         rm -f *.lo
14         rm -f *.la
15         rm -f *.slo
16         rm -rf .libs
17
18 restart:
19         > /var/log/apache2/error.log
20         /usr/bin/apache2sctl stop
21         /usr/bin/apache2sctl start
22
23 mod_vhost_ldap.o: mod_vhost_ldap.c
24
25         $(APXS) -Wc,-Wall -Wc,-Werror -Wc,-g -Wc,-DDEBUG -Wc,-DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/$(VERSION)\\\" -c -lcrypt -lldap_r mod_vhost_ldap.c
26                 
27 encclean:
28         rm enc
29         
30 encrypt: 
31         gcc -Wall encrypt.c -o enc -lcrypt
32
33 dtpasswdclean:
34         rm dtpasswd
35         
36 dtpasswd:
37         gcc -Wall -Werror -l crypt -o dtpasswd dtpasswd.c 
38
39 deb:    
40         debuild --no-tgz-check
41
42 format:
43         indent *.c
44
45 .PHONY: all install clean archive format encrypt encclean
46
This page took 0.088224 seconds and 5 git commands to generate.