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