]> andersk Git - mod-vhost-ldap.git/blame - Makefile
Merge branch 'upstream'
[mod-vhost-ldap.git] / Makefile
CommitLineData
7f9875bb
OS
1APXS=apxs2
2VERSION=`cat VERSION`
3DISTFILES=`cat FILES`
4
5all: mod_vhost_ldap.o
63a07100 6
7f9875bb
OS
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
7f9875bb 17
866f0833
PW
18restart:
19 > /var/log/apache2/error.log
20 /usr/bin/apache2sctl stop
21 /usr/bin/apache2sctl start
63a07100 22
7f9875bb 23mod_vhost_ldap.o: mod_vhost_ldap.c
63a07100 24
ddd2b228 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
aba48ebc 26
63a07100
PW
27encclean:
28 rm enc
29
30encrypt:
31 gcc -Wall encrypt.c -o enc -lcrypt
32
866f0833
PW
33dtpasswdclean:
34 rm dtpasswd
35
36dtpasswd:
37 gcc -Wall -Werror -l crypt -o dtpasswd dtpasswd.c
bb15927a 38
866f0833
PW
39deb:
40 debuild --no-tgz-check
7f9875bb
OS
41
42format:
43 indent *.c
44
63a07100 45.PHONY: all install clean archive format encrypt encclean
866f0833 46
This page took 0.046575 seconds and 5 git commands to generate.