]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/basic/Makefile.in
Major rewrite of proxy authentication to support other schemes than
[thirdparty/squid.git] / src / auth / basic / Makefile.in
1 #
2 # Makefile for the basic authenticcation scheme modulefor the Squid Object Cache server
3 #
4 # $Id: Makefile.in,v 1.1 2001/01/07 23:36:43 hno Exp $
5 #
6
7 AUTH = basic
8
9 SUBDIRS = helpers
10
11
12 top_srcdir = @top_srcdir@
13 VPATH = @srcdir@
14
15 CC = @CC@
16 MAKEDEPEND = @MAKEDEPEND@
17 AR_R = @AR_R@
18 RANLIB = @RANLIB@
19 AC_CFLAGS = @CFLAGS@
20 SHELL = /bin/sh
21
22 INCLUDE = -I../../../include -I$(top_srcdir)/include -I$(top_srcdir)/src/
23 CFLAGS = $(AC_CFLAGS) $(INCLUDE) $(DEFINES)
24
25 OUT = ../$(AUTH).a
26
27 OBJS = \
28 auth_basic.o
29
30
31 all install: $(OUT)
32 @for dir in $(SUBDIRS); do \
33 if [ -f $$dir/Makefile ]; then \
34 sh -c "cd $$dir && $(MAKE) $@" || exit 1; \
35 fi; \
36 done;
37
38 $(OUT): $(OBJS)
39 @rm -f ../stamp
40 $(AR_R) $(OUT) $(OBJS)
41 $(RANLIB) $(OUT)
42
43 $(OBJS): $(top_srcdir)/include/version.h ../../../include/autoconf.h
44
45 .c.o:
46 @rm -f ../stamp
47 $(CC) $(CFLAGS) -c $<
48
49 clean:
50 -rm -rf *.o *pure_* core ../$(AUTH).a
51 -for dir in *; do \
52 if [ -f $$dir/Makefile ]; then \
53 sh -c "cd $$dir && $(MAKE) clean"; \
54 fi; \
55 done
56
57 distclean: clean
58 -rm -f Makefile
59 -rm -f Makefile.bak
60 -rm -f tags
61 -for dir in *; do \
62 if [ -f $$dir/Makefile ]; then \
63 sh -c "cd $$dir && $(MAKE) distclean"; \
64 fi; \
65 done
66
67 tags:
68 ctags *.[ch] $(top_srcdir)/src/*.[ch] $(top_srcdir)/include/*.h $(top_srcdir)/lib/*.[ch]
69
70 depend:
71 $(MAKEDEPEND) $(INCLUDE) -fMakefile *.c