2 APACHE2_RUNDIR=lib/apache2/modules
3 EXTRA_RUNDIRS+=$(APACHE2_RUNDIR)
5 PROGS+=$(o)/apache/mod_authn_subauth.so
7 $(o)/apache/mod_authn_subauth.so: $(o)/apache/mod_authn_subauth.oo
8 $(o)/apache/mod_authn_subauth.so: SO_RUNDIR=$(APACHE2_RUNDIR)
9 $(o)/apache/mod_authn_subauth.oo: CFLAGS+=$(APACHE2_CFLAGS) -Wno-redundant-decls
11 .PHONY: install-apache
12 install:: install-apache
14 install -d -m 755 $(DESTDIR)$(INSTALL_APACHE2_MOD_DIR) $(DESTDIR)$(INSTALL_APACHE2_CONFIG_DIR)/mods-available
15 install -m 755 $(o)/apache/mod_authn_subauth.so $(DESTDIR)$(INSTALL_APACHE2_MOD_DIR)/
16 install -m 644 $(s)/apache/mod_authn_subauth.load $(DESTDIR)$(INSTALL_APACHE2_CONFIG_DIR)/mods-available/