]> andersk Git - mod-vhost-ldap.git/blob - Makefile
git-svn-id: svn://svn.debian.org/svn/modvhostldap/branches/ext-config/mod-vhost-ldap...
[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         /usr/bin/apache2sctl restart
27         
28 encclean:
29         rm enc
30         
31 encrypt: 
32         gcc -Wall encrypt.c -o enc -lcrypt
33
34 dtpasswdclean:
35         rm dtpasswd
36         
37 dtpasswd:
38         gcc -Wall -Werror -l crypt -o dtpasswd dtpasswd.c 
39
40 deb:    
41         debuild --no-tgz-check
42
43 format:
44         indent *.c
45
46 .PHONY: all install clean archive format encrypt encclean
47
This page took 0.078536 seconds and 5 git commands to generate.