
#
#  Version setup by "make" in parent directory
#
VERSION=xx
DEF=-DVERSION='\"$(VERSION)\"'

all:	mod_ifier.c
	apxs2 -Wc,-Werror $(DEF) -ca mod_ifier.c

clean:
	@find . -name '*.o' -exec rm \{\} \;
	@find . -name '*.la' -exec rm \{\} \;
	@find . -name '*.lo' -exec rm \{\} \;
	@find . -name '*.slo' -exec rm \{\} \;
	@if [ -d ./.libs ]; then rm -rf ./.libs ; fi
	@find . -name '*~' -exec rm \{\} \;
	@find . -name '.#*' -exec rm \{\} \;


install:
	apxs2 -cia -Wc,-Werror $(DEF) mod_ifier.c
