]> andersk Git - mod-vhost-ldap.git/blame_incremental - Makefile
Merge branch 'upstream'
[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
27encclean:
28 rm enc
29
30encrypt:
31 gcc -Wall encrypt.c -o enc -lcrypt
32
33dtpasswdclean:
34 rm dtpasswd
35
36dtpasswd:
37 gcc -Wall -Werror -l crypt -o dtpasswd dtpasswd.c
38
39deb:
40 debuild --no-tgz-check
41
42format:
43 indent *.c
44
45.PHONY: all install clean archive format encrypt encclean
46
This page took 0.2487 seconds and 5 git commands to generate.