|
Last change
on this file since 2408 was
874,
checked in by broder, 17 years ago
|
|
Fix the Apache modules Makefile to make them more package-friendly
|
|
File size:
437 bytes
|
| Line | |
|---|
| 1 | APXS = apxs |
|---|
| 2 | |
|---|
| 3 | MODS = mod_auth_sslcert mod_authz_afsgroup mod_auth_optional mod_vhost_ldap |
|---|
| 4 | |
|---|
| 5 | all-local: $(patsubst %,.libs/%.so,$(MODS)) |
|---|
| 6 | |
|---|
| 7 | APXSFLAGS_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 | |
|---|
| 12 | clean: |
|---|
| 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.