~squid/squid/sbuf-use

« back to all changes in this revision

Viewing changes to src/Makefile.in

  • Committer: hno
  • Date: 2001-01-08 06:32:04 UTC
  • Revision ID: cvs-1:hno-20010108063204-w6a8e1zz6eprqnp8
Major rewrite of proxy authentication to support other schemes than
Basic (auth_rewrite branch on SourceForge).
Contributors:
   Andy Doran
   Robert Collins
   Chemolli Francesco
   Henrik Nordstrom

For details about the new API's, see Programmers Guide.

As part of this change everything from auth_modules has been moved to
src/auth/basic/helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
#  Makefile for the Squid Object Cache server
3
3
#
4
 
#  $Id: Makefile.in,v 1.195 2000/10/20 23:50:59 hno Exp $
 
4
#  $Id: Makefile.in,v 1.196 2001/01/07 23:36:37 hno Exp $
5
5
#
6
6
#  Uncomment and customize the following to suit your needs:
7
7
#
18
18
srcdir          = @srcdir@
19
19
VPATH           = @srcdir@
20
20
 
21
 
SUBDIRS         = fs repl
 
21
SUBDIRS         = fs repl auth
22
22
 
23
23
# Gotta love the DOS legacy
24
24
#
47
47
DEFAULT_ERROR_DIR       = $(sysconfdir)/errors
48
48
DEFAULT_MIB_PATH        = $(sysconfdir)/mib.txt
49
49
 
 
50
AUTH_OBJS       = @AUTH_OBJS@
 
51
AUTH_MODULES    = @AUTH_MODULES@
50
52
CC              = @CC@
51
53
MAKEDEPEND      = @MAKEDEPEND@
52
54
INSTALL         = @INSTALL@
90
92
                access_log.o \
91
93
                acl.o \
92
94
                asn.o \
 
95
                auth_modules.o \
93
96
                authenticate.o \
94
97
                cache_cf.o \
95
98
                CacheDigest.o \
148
151
                pconn.o \
149
152
                peer_digest.o \
150
153
                peer_select.o \
151
 
                pump.o \
152
154
                redirect.o \
153
155
                referer.o \
154
156
                refresh.o \
208
210
 
209
211
$(SNMP_OBJS): ../snmplib/libsnmp.a $(top_srcdir)/include/cache_snmp.h
210
212
 
211
 
$(SQUID_EXE): $(OBJS) $(STORE_OBJS) $(REPL_OBJS)
212
 
        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(STORE_OBJS) $(REPL_OBJS) $(SQUID_LIBS)
 
213
$(SQUID_EXE): $(OBJS) $(STORE_OBJS) $(REPL_OBJS) $(AUTH_OBJS)
 
214
        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(STORE_OBJS) $(REPL_OBJS) $(AUTH_OBJS) $(SQUID_LIBS)
213
215
 
214
216
globals.o: globals.c Makefile
215
217
        $(CC) -c globals.c $(CFLAGS) -I$(srcdir) $(DEFAULTS)
298
300
repl_modules repl/stamp:
299
301
        @sh -c "cd repl && $(MAKE) all"
300
302
 
 
303
auth_modules.c: auth_modules.sh Makefile
 
304
        sh $(srcdir)/auth_modules.sh $(AUTH_MODULES) >auth_modules.c
 
305
 
 
306
auth_modules.o: auth_modules.c
 
307
        $(CC) -c auth_modules.c $(CFLAGS) -I$(srcdir)
 
308
 
 
309
$(AUTH_OBJS):
 
310
        @sh -c "cd `dirname $@` && $(MAKE) $(MFLAGS) `basename $@`"
 
311
 
301
312
install-mkdirs:
302
313
        -@if test ! -d $(prefix); then \
303
314
                echo "mkdir $(prefix)"; \
406
417
clean: 
407
418
        -rm -rf *.o *pure_* core $(PROGS) $(UTILS) $(CGIPROGS) $(SUID_UTILS)
408
419
        -rm -f cf_gen cf_gen_defines.h cf_parser.c cf.data globals.c string_arrays.c
409
 
        -rm -f store_modules.c repl_modules.c squid.conf
 
420
        -rm -f store_modules.c repl_modules.c auth_modules.c squid.conf
410
421
        @for dir in $(SUBDIRS); do \
411
422
                echo "Making $@ in $$dir..."; \
412
423
                (cd $$dir ; $(MAKE) $(MFLAGS) prefix="$(prefix)" $@) || exit 1; \