]> andersk Git - mod-vhost-ldap.git/blame - Makefile
initial import of mod-vhost-ldap
[mod-vhost-ldap.git] / Makefile
CommitLineData
7f9875bb
OS
1APXS=apxs2
2VERSION=`cat VERSION`
3DISTFILES=`cat FILES`
4
5all: mod_vhost_ldap.o
6
7install:
8 $(APXS) -i mod_vhost_ldap.la
9
10clean:
11 rm -f *.o
12 rm -f *.lo
13 rm -f *.la
14 rm -f *.slo
15 rm -rf .libs
16 rm -rf mod_vhost_ldap-$(VERSION)
17 rm -rf mod_vhost_ldap-$(VERSION).tar.gz
18
19mod_vhost_ldap.o: mod_vhost_ldap.c
20 $(APXS) -Wc,-Wall -Wc,-Werror -Wc,-g -Wc,-DDEBUG -c -lldap_r mod_vhost_ldap.c
21
22archive: clean
23 mkdir mod_vhost_ldap-$(VERSION)
24 cp $(DISTFILES) mod_vhost_ldap-$(VERSION)
25 tar czf mod_vhost_ldap-$(VERSION).tar.gz mod_vhost_ldap-$(VERSION)
26
27format:
28 indent *.c
29
30.PHONY: all install clean archive format
This page took 0.080863 seconds and 5 git commands to generate.