source: server/common/oursrc/httpdmods/Makefile.in @ 874

Last change on this file since 874 was 874, checked in by broder, 14 years ago
Fix the Apache modules Makefile to make them more package-friendly
File size: 437 bytes
Line 
1APXS = apxs
2
3MODS = mod_auth_sslcert mod_authz_afsgroup mod_auth_optional mod_vhost_ldap
4
5all-local: $(patsubst %,.libs/%.so,$(MODS))
6
7APXSFLAGS_mod_vhost_ldap = -Wc,-DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/1.2.0scripts\\\" -lldap_r
8
9.libs/%.so: %.c
10        $(APXS) $(APXSFLAGS_$*) -c $<
11
12clean:
13        rm -f $(MODS:=.o) $(MODS:=.la) $(MODS:=.lo) $(MODS:=.slo)
14        rm -rf .libs
15
16distclean: clean
17        rm -f config.log config.cache config.status Makefile
Note: See TracBrowser for help on using the repository browser.