]> andersk Git - mod-vhost-ldap.git/blame_incremental - Makefile
git-svn-id: svn://svn.debian.org/svn/modvhostldap/branches/ext-config/mod-vhost-ldap...
[mod-vhost-ldap.git] / Makefile
... / ...
CommitLineData
1APXS=apxs2
2VERSION=`cat VERSION`
3DISTFILES=`cat FILES`
4
5all: mod_vhost_ldap.o
6
7
8install:
9 $(APXS) -i mod_vhost_ldap.la
10
11clean:
12 rm -f *.o
13 rm -f *.lo
14 rm -f *.la
15 rm -f *.slo
16 rm -rf .libs
17
18restart:
19 > /var/log/apache2/error.log
20 /usr/bin/apache2sctl stop
21 /usr/bin/apache2sctl start
22
23mod_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
28encclean:
29 rm enc
30
31encrypt:
32 gcc -Wall encrypt.c -o enc -lcrypt
33
34dtpasswdclean:
35 rm dtpasswd
36
37dtpasswd:
38 gcc -Wall -Werror -l crypt -o dtpasswd dtpasswd.c
39
40deb:
41 debuild --no-tgz-check
42
43format:
44 indent *.c
45
46.PHONY: all install clean archive format encrypt encclean
47
This page took 0.046887 seconds and 5 git commands to generate.