Import of upstream source 4.3.9
[debian/mod-auth-mysql] / Makefile.in
1 APXS    = @apxs@
2 APXSFLAGS =
3 APXS2   = @apxs2@
4 APXS2FLAGS =
5 SRCS    = mod_auth_mysql.c
6 HDRS    = config.h
7 OPTS    = @build_opts@ -lmysqlclient
8 MODULES = @modules@
9
10 all: $(MODULES)
11
12 apache13_mod_auth_mysql.so: $(SRCS) $(HDRS)
13         $(APXS) $(APXSFLAGS) -o $@ $(OPTS) -c $(SRCS)
14
15 apache2_mod_auth_mysql.so: apache2_mod_auth_mysql.la
16         cp .libs/apache2_mod_auth_mysql.so .
17
18 apache2_mod_auth_mysql.la: $(SRCS) $(HDRS)
19         $(APXS2) $(APXS2FLAGS) -o $@ $(OPTS) -DAPACHE2 -c $(SRCS)
20
21 clean:
22         -rm -rf *.o *.so *.lo *.slo *.la .libs
23
24 distclean: clean
25         -rm -f config.status config.log config.h Makefile
26         -rm -rf autom4te.cache
27
28 maintclean: distclean
29         -rm -f configure