]> git.ipfire.org Git - thirdparty/squid.git/blob - helpers/digest_auth/password/Makefile.in
Major update from auth_rewrite
[thirdparty/squid.git] / helpers / digest_auth / password / Makefile.in
1 #
2 # Makefile for the Squid Object Cache server
3 #
4 # $Id: Makefile.in,v 1.1 2001/01/31 22:16:42 hno Exp $
5 #
6 # Uncomment and customize the following to suit your needs:
7 #
8
9 prefix = @prefix@
10 exec_prefix = @exec_prefix@
11 exec_suffix = @exec_suffix@
12 cgi_suffix = @cgi_suffix@
13 top_srcdir = @top_srcdir@
14 bindir = @bindir@
15 libexecdir = @libexecdir@
16 sysconfdir = @sysconfdir@
17 localstatedir = @localstatedir@
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20
21 # Gotta love the DOS legacy
22 #
23 DIGEST_PW_AUTH_EXE = digest_pw_auth$(exec_suffix)
24
25 DEFAULT_PASSWD_FILE = $(sysconfdir)/digest_passwd
26
27 CC = @CC@
28 MAKEDEPEND = @MAKEDEPEND@
29 INSTALL = @INSTALL@
30 INSTALL_BIN = @INSTALL_PROGRAM@
31 INSTALL_FILE = @INSTALL_DATA@
32 INSTALL_SUID = @INSTALL_PROGRAM@ -o root -m 4755
33 RANLIB = @RANLIB@
34 LN_S = @LN_S@
35 PERL = @PERL@
36 CRYPTLIB = @CRYPTLIB@
37 REGEXLIB = @REGEXLIB@
38 PTHREADLIB = @PTHREADLIB@
39 SNMPLIB = @SNMPLIB@
40 MALLOCLIB = @LIB_MALLOC@
41 AC_CFLAGS = @CFLAGS@
42 LDFLAGS = @LDFLAGS@
43 XTRA_LIBS = @XTRA_LIBS@
44 XTRA_OBJS = @XTRA_OBJS@
45 MV = @MV@
46 RM = @RM@
47 SHELL = /bin/sh
48
49
50 INCLUDE = -I. -I../../../../../include -I$(top_srcdir)/include
51 CFLAGS = $(AC_CFLAGS) $(INCLUDE) $(DEFINES)
52 AUTH_LIBS = -L../../../../../lib -lmiscutil $(CRYPTLIB) $(XTRA_LIBS)
53
54 PROGS = $(DIGEST_PW_AUTH_EXE)
55 OBJS = digest_pw_auth.o
56
57 all: $(DIGEST_PW_AUTH_EXE)
58
59 $(OBJS): $(top_srcdir)/include/version.h
60
61 $(DIGEST_PW_AUTH_EXE): digest_pw_auth.o
62 $(CC) $(LDFLAGS) digest_pw_auth.o -o $@ $(AUTH_LIBS)
63
64 install-mkdirs:
65 -@if test ! -d $(prefix); then \
66 echo "mkdir $(prefix)"; \
67 mkdir $(prefix); \
68 fi
69 -@if test ! -d $(bindir); then \
70 echo "mkdir $(bindir)"; \
71 mkdir $(bindir); \
72 fi
73
74 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions
75 # to the install target.
76 install: all install-mkdirs
77 @for f in $(PROGS); do \
78 if test -f $(bindir)/$$f; then \
79 echo $(MV) $(bindir)/$$f $(bindir)/-$$f; \
80 $(MV) $(bindir)/$$f $(bindir)/-$$f; \
81 fi; \
82 echo $(INSTALL_BIN) $$f $(bindir); \
83 $(INSTALL_BIN) $$f $(bindir); \
84 if test -f $(bindir)/-$$f; then \
85 echo $(RM) -f $(bindir)/-$$f; \
86 $(RM) -f $(bindir)/-$$f; \
87 fi; \
88 done
89
90 clean:
91 -rm -rf *.o *pure_* core $(PROGS)
92
93 distclean: clean
94 -rm -f Makefile
95
96 tags:
97 ctags *.[ch] ../include/*.h ../lib/*.[ch]
98
99 depend:
100 $(MAKEDEPEND) -I../include -I. -fMakefile *.c